Explore topic-wise MCQs in UGC-NET.

This section includes 1917 Mcqs, each offering curated multiple-choice questions to sharpen your UGC-NET knowledge and support exam preparation. Choose a topic below to get started.

601.

The data type created by the data abstraction process is called

A. class
B. structure
C. abstract data type
D. user defined data type
Answer» D. user defined data type
602.

Match the following:Set-I(a) Garbage collection in(b) Nameless object(c) Template support(d) A forward reference(e) Derived class inherits from base classSet-II1. Java2. generic programming3. defines a class4. member function5. within a statementCodes :    (a) (b) (c)  (d)  (e)

A. 1   5   4    2     3
B. 1   5   2    3     4
C. 5   1   2    3     4
D. 5   4   3    1     2
Answer» C. 5   1   2    3     4
603.

A friend function can be used to

A. avoid arguments between classes
B. allow access to classes whose source code is unavailable
C. allow one class to access an unrelated class
D. None of the above
Answer» D. None of the above
604.

Assume that we have constructor function for both Base and Derived classes. Now consider the declaration :main ( )Base *p = new Derived;In what sequence, the constructor will be executed ?

A. Derived class constructor is followed by Base class constructor
B. Base class constructor is followed by Derived class constructor
C. Base class constructor is never called
D. Derived class constructor is never called
Answer» C. Base class constructor is never called
605.

What is the output of the following program ?

A. 15
B. 25
C. 45
D. 20
Answer» E.
606.

Consider the following two function declarations :(i) int *f( ) (ii) int (*f)( )Which of the following is true ?

A. Both are identical.
B. The first is a correct declaration and the second is wrong.
C. Both are different ways of declaring pointer to a function.
D. The first declaration is a function returning a pointer to an integer and the second is a pointer to function returning integer.
Answer» E.
607.

What is the size of the following Union ? Assume that the size of int = 2, size of float = 4, size of char = 1union tag {int a;float b;char c;};

A. 2
B. 4
C. 1
D. 7
Answer» C. 1
608.

Assume that x and y are non-zero positive integers. What does the following program segment perform?while (x!=0){if (x>y)x = x-yelsey=y-x;printf(“%d”,x);

A. Computes LCM of two numbers
B. Computes GCD of two numbers
C. Divides large number with small number
D. Subtracts smaller number from large number
Answer» C. Divides large number with small number
609.

What is the output of the following program segment?sum(n){if ( n < 1 ) return n;else return (n + sum(n–1));}main(){printf(“%d”, sum(5));}

A. 10
B. 16
C. 15
D. 14
Answer» D. 14
610.

When we pass an array as an argument to a function, what actually gets passed ?

A. Address of the array
B. Values of the elements of the array
C. Base address of the array
D. Number of elements of the array
Answer» D. Number of elements of the array
611.

While (87) printf("computer");The above C statement will

A. print "computer" 87 times
B. print "computer" 0 times
C. print "computer" 1 times
D. print "computer" infinite times
Answer» E.
612.

Consider the following program segment:d=0;for(i=1; i

A. 9000
B. 3000
C. 90
D. None of the above
Answer» E.
613.

MPEG involves both spatial compression and temporal compression. The spatial compression is similar to JPEG and temporal compression removes .............. frames.

A. Temporal
B. Voice
C. Spatial
D. Redundant
Answer» E.
614.

A Program contains the following declarations and initial assignments:int i = 8, j = 5;double x = 0.005, y = –0.01;char c=’c’, d=’d’;Determine the value of the following expressions which involve the use of library functions:abs(i-2*j) ; log(exp(x)) ; toupper(d)

A. 2; 0.005; D
B. 1; 0.005; D
C. 2; 0.005; E
D. 1; 0.005; e
Answer» B. 1; 0.005; D
615.

When the following code is executed what will be the value of x and y?int x = 1, y=0;y = x++;

A. 2, 1
B. 2, 2
C. 1, 1
D. 1, 2
Answer» B. 2, 2
616.

Arrays in C language can have ................. with reference to memory representation.

A. n-subscripts
B. two-subscripts
C. only one subscript
D. three subscripts only
Answer» D. three subscripts only
617.

How many values can be held by an array A(-1,m;1 ,m) ?

A. m
B. m^2
C. m(m+1)
D. m(m+2)
Answer» E.
618.

How many times the word 'print' shall be printed by the following program segment?for(i=1, i≤2, i++)for(j=1, j≤2, j++)for(k=1, k≤2, k++)printf("print/n")

A. 1
B. 3
C. 6
D. 8
Answer» E.
619.

Refer the points as listed below:(a) What are the operator precedence rules ?(b) What are the operator associativity rules ?(c) What is the order of operand evaluation ?(d) Are there restrictions on operand evaluation side effects ?Which of the above must be considered as primary design issues for arithmetic expressions ?

A. (a), (b) and (c)
B. (a), (c) and (d)
C. (a), (b) and (d)
D. (a), (b), (c) and (d)
Answer» E.
620.

What is the result of the expression(1&2)+(3/4) ?

A. 1
B. 2
C. 3
D. 0
Answer» E.
621.

When an array is passed as a parameter to a function which of the following statements is correct?

A. The function can change values in the original array.
B. The function cannot change values in the original array.
C. Results in compilation error.
D. Results in runtime error.
Answer» B. The function cannot change values in the original array.
622.

A hardware interface that allows for the connection of several peripheral devices to a single PCI board

A. SCSI
B. SATA
C. ATA
D. PCI
Answer» B. SATA
623.

The characteristic equation of the D flip-flop is:

A. Qn+1 = D
B. Q = D
C. Q = 1
D. Q = 0
Answer» B. Q = D
624.

The programming languages C and C++ are not strongly typed languages because :

A. Both C and C++ allow functions for which parameters are not type checked.
B. Both C and C++ allow functions for which parameters are type checked.
C. Both C and C++ allow functions for which parameters are not type checked and also the union types in these languages are not type checked.
D. Union types in these (C and C++) languages are not type checked.
Answer» D. Union types in these (C and C++) languages are not type checked.
625.

In computer terminology, POST stands for:

A. Power Operating System
B. Push Pop Stack
C. Power On self Test
D. Power Storage
Answer» D. Power Storage
626.

Match the items in List - I and List - II :List - I(a) Interrupts which can be delayed when a much highest priority interrupt has occurred(b) Unplanned interrupts which occur while executing a program(c) Source of interrupt is in phase with the system clockList - II(i) Normal(ii) Synchronous(iii) Maskable(iv) ExceptionCode:(a) (b) (c)

A. (ii) (i) (iv)
B. (ii) (iv) (iii)
C. (iii) (i) (ii)
D. (iii) (iv) (ii)
Answer» E.
627.

The highest noise margin is offered by

A. BICMOS
B. TTL
C. ECL
D. CMOS
Answer» C. ECL
628.

CPU does not perform the operation

A. data transfer
B. logic operation
C. arithmetic operation
D. all of the above
Answer» E.
629.

Consider a logical address space of 8 pages of 1024 words mapped with memory of 32 frames. How many bits are there in the physical address?

A. 9 bits
B. 11 bits
C. 13 bits
D. 15 bits
Answer» E.
630.

The logic expression for the output of the circuit shown in the figure is

A. A’C’+B’C’+CD
B. AC’+BC’+C’D
C. ABC+C’D’
D. A’B’+B’C’+C’D’
Answer» D. A’B’+B’C’+C’D’
631.

An astable multivibrator has

A. one stable state
B. two stable states
C. no stable states
D. none of these
Answer» D. none of these
632.

Which of the following statements are true?(i) Every logic network is equivalent to one using just NAND gates or just NOR gates.(ii) Boolean expressions and logic networks correspond to labelled acyclic diagraphs.(iii) No two Boolean algebras with n atoms are isomorphic.(iv) Non-zero elements of finite Boolean algebras are not uniquely expressible as joins of atoms.

A. i and iv only
B. i, ii and iii only
C. i and ii only
D. ii, iii, and iv only
Answer» D. ii, iii, and iv only
633.

A chip having 150 gates will be classified as

A. SSI
B. MSI
C. LSI
D. VLSI
Answer» C. LSI
634.

Match the terms in List - I with the options given in List - II :List - I(a) Decoder(b) Multiplexer(c) De multiplexerList - II(i) 1 line to 2^n lines(ii) n lines to 2^n lines(iii) 2^n lines to 1 line(iv) 2^n lines to 2^(n−1) linesCode: (a) (b) (c)

A. (ii) (i) (iii)
B. (ii) (iii) (i)
C. (ii) (i) (iv)
D. (iv) (ii) (i)
Answer» C. (ii) (i) (iv)
635.

Perform the following operation for the binary equivalent of the decimal numbers:(−14)10 + (−15)10The solution in 8 bit representation is:

A. 11100011
B. 00011101
C. 10011101
D. 11110011
Answer» B. 00011101
636.

In order to implement a n variable switching function, a MUX must have:

A. 2^n inputs
B. 2^n + 1 inputs
C. 2(n-1) inputs
D. 2^n - 1 inputs
Answer» B. 2^n + 1 inputs
637.

When an inverter is placed between both inputs of an S-R flip flop, the resulting flip flop is:

A. JK flip-flop
B. D flip-flop
C. T flip-flop
D. None of these
Answer» C. T flip-flop
638.

Consider the following boolean equations:(i) wx + w(x+y) + x(x+y) = x + wy(ii) (wx’(y+xz’) + w’x’)y = x’yWhat can you say about the above equations?

A. (i) is true and (ii) is false
B. (i) is false and (ii) is true
C. Both (i) and (ii) are true
D. Both (i) and (ii) are false
Answer» D. Both (i) and (ii) are false
639.

The characteristic equation of a JK flip flop is:

A. Qn+1=J.Qn+K.Qn
B. Qn+1=J.Q’n+K’.Qn
C. Qn+1=QnJ.K
D. Qn+1=(J+K)Qn
Answer» C. Qn+1=QnJ.K
640.

An example of a connective which is not associative is:

A. AND
B. OR
C. EX-OR
D. NAND
Answer» E.
641.

Specify the contents of the accumulator and the status of the S, Z and CY flags when 8085 microprocessor performs addition of 87 H and 79 H.

A. 11, 1 ,1 ,1
B. 10, 0 ,1 ,0
C. 01, 1, 0, 0
D. 00, 0, 1, 1
Answer» E.
642.

How many times will the following loop be executed?          LXI    B, 0007 HLOP: DCX  B           MOV  A,B          ORA  C          JNZ   LOP

A. 05
B. 07
C. 09
D. 00
Answer» C. 09
643.

Match the following 8085 instructions with the flags: a. XCHG i. only carry flag is affected.b. SUB ii.  no flags are affected.c. STC iii. all flags other than carry flag are affected.d. DCR iv. all flags are affected.code:a  b  c   d

A. iv  i   iii  ii
B. iii  ii   i  iv
C. ii  iii   i  iv
D. ii  iv   i  iii
Answer» E.
644.

The essential difference between traps and interrupts is

A. traps are synchronous and  interrupts are synchronous with the program
B. traps are synchronous and  interrupts are asynchronous with the program
C. traps are synchronous and  interrupts are asynchronous with the I/O devices
D. None of these
Answer» C. traps are synchronous and  interrupts are asynchronous with the I/O devices
645.

A hierarchical memory system that uses cache memory has cache access time of 50 nano seconds, main memory access time of 300 nano seconds, 75% of memory requests are for read, hit ratio of 0.8 for read access and the write-through scheme is used. What will be the average access time of the system both for read and write requests ?

A. 157.5 n.sec
B. 110 n.sec
C. 75 n.sec
D. 82.5 n.sec
Answer» B. 110 n.sec
646.

For switching from a CPU user mode to the supervisor mode following type of interrupt is most appropriate

A. Internal interrupts
B. External interrupts
C. Software interrupts
D. None of the above
Answer» B. External interrupts
647.

In a dot matrix printer the time to print a character is 6 m:sec., time to space in between characters is 2 m.sec., and the number of characters ina line are 200. The printing speed of the dot matrix printer in characters per second and the time to print a character line are given by which of the following options?

A. 125 chars/second and 0.8 seconds
B. 250 chars/second and 0.6 seconds
C. 166 chars/second and 0.8 seconds
D. 250 chars/second and 0.4 seconds
Answer» D. 250 chars/second and 0.4 seconds
648.

The size of the ROM required to build an 8-bit adder/subtractor with mode control, carry input, carry output and two's complement overflow output is given as

A. 2^16 x 8
B. 2^18 x 10
C. 2^16 x 10
D. 2^18 x 8
Answer» C. 2^16 x 10
649.

On receiving an interrupt from an I/O device, the CPU

A. halts for predetermined time.
B. branches off to the interrupt service routine after completion of the current instruction.
C. branches off to the interrupt service routine immediately.
D. hands over control of address bus and data bus to the interrupting device.
Answer» C. branches off to the interrupt service routine immediately.
650.

Amdahl’s law states that the maximum speedup S achievable by a parallel computer with ‘p’ processors is given by:

A. S≤f+(1-f)/p
B. S≤f/p+(1-f)
C. S≤1/[f+(1-f)/p]
D. S≤1/[1-f+f/p]
Answer» E.