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.

1251.

An example of a directory found in most UNIX system is:

A. usr
B. waitpid
C. brk
D. unmap
Answer» B. waitpid
1252.

The Unix command :$ vi file1 file2

A. Edits file1 and stores the contents of file1 in file2
B. Both files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
C. Both files can be edited using 'mv' command to move between the files
D. Edits file1 first, saves it and then edits file2
Answer» C. Both files can be edited using 'mv' command to move between the files
1253.

WOW32 is a :

A. Win 32 API library for creating processes and threads
B. Special kind of file system to the NT name space
C. Kernel - mode objects accessible through Win 32 API
D. Special execution environment used to run 16 bit Windows applications on 32 - bit machines
Answer» E.
1254.

Match the following for Unix system calls:List – I List – II(a) exec (i) Creates a new process(b) brk (ii) Invokes another program overlaying memory space with a copy of an executable file(c) wait (iii) To increase or decrease the size of data region(d) fork (iv) A process synchronizes with termination of child processcode:a b c d

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

A part of Windows 2000 operating system that is not portable is

A. Device Management
B. Virtual Memory Management
C. Processor Management
D. User Interface
Answer» C. Processor Management
1256.

Linux partitions are created using the file system:

A. FAT
B. FAT32
C. EXT3
D. NTFS
Answer» D. NTFS
1257.

A Unix file may be of the type :

A. Regular file
B. Directory file
C. Device file
D. Any one of the above
Answer» E.
1258.

In Unix, files can be protected by assigning each one a 9-bit mode called rights bits. Now, consider the following two statements:I. A mode of 641 (octal) means that the owner can read and write the file, other members of the owner’s group can read it, and users can execute only.II. A mode of 100 (octal) allows the owner to execute the file, but prohibits all other access.Which of the following options is correct with reference to above statements?

A. Only I is correct
B. Only II is correct
C. Both I and II are correct
D. Both I and II are incorrect
Answer» D. Both I and II are incorrect
1259.

Which of the following shell scripts will produce the output “my first script” ?

A. for i in my first script { echo –i $i}
B. for my first script; do echo –n; done
C. for i in my first script; do echo –i $i; done
D. for n in my first script; do echo –i $i; done
Answer» D. for n in my first script; do echo –i $i; done
1260.

The “nice” command is used in Unix:

A. to decrease the priority of a process
B. to increase the priority of a process
C. to get the highest priority
D. both a and b
Answer» E.
1261.

Which UNIX/Linux command is used to make all files and sub-directories in the directory “progs” executable by all users?

A. chmod −R a+x progs
B. chmod −R 222 progs
C. chmod −X a+x progs
D. chmod −X 222 progs
Answer» B. chmod −R 222 progs
1262.

_______ maintains the list of free disk blocks in the Unix file system.

A. I-node
B. Boot block
C. Super block
D. File allocation table
Answer» D. File allocation table
1263.

Assume that an implementation of Unix operating system uses i-nodes to keep track of data blocks allocated to a file. It supports 12 direct block addresses, one indirect block address and one double indirect block address. The file system has 256 bytes block size and 2 bytes for disk block address. The maximum possible size of a file in this system is

A. 16 MB
B. 16 KB
C. 70 KB
D. None of the above
Answer» E.
1264.

Match the following in Unix file system :List - I                         List - II(a) Boot block               (i) Information about file system(b) Super block            (ii) Information about file(c) Inode table              (iii) Storage space(d) Data block               (iv) Code for making OS readyCodes :      (a)  (b)  (c)  (d)

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

Which of the following statements is not true for UNIX Operating System ?

A. Major strength of UNIX Operating System is its open standards which enabled large number of organizations ranging from academicia to industries to participate in its development.
B. UNIX kernel uses modules with well specified interfaces and provides advantages like simplified testing and maintenance of kernel. It has better extensibility as the kernel is not monolithic.
C. UNIX is kernel based operating system with two main components viz. process management subsystem and file management subsystem.
D. All devices are represented as files which simplify the management of I/O devices and files. The directories structure used is directed acyclic graph.
Answer» C. UNIX is kernel based operating system with two main components viz. process management subsystem and file management subsystem.
1266.

The output generated by the LINUX command :                     $ seq 1 2 10 will be

A. 1 2 10
B. 1 2 3 4 5 6 7 8 9 10
C. 1 3 5 7 9
D. 1 5 10
Answer» D. 1 5 10
1267.

The Unix Operating System Kernel maintains two key data structures related to processes, the process table and the user structure. Now, consider the following two statements:I. The process table is resident all the time and contain information needed for all processes, even those that are not currently in memory.II. The user structure is swapped or paged out when its associated process is not in memory, in order not to waste memory on information that is not needed.Which of the following options is correct with reference to above statements ?

A. Only (I) is correct
B. Only (II) is correct
C. Both (I) and (II) are correct
D. Both (I) and (II) are wrong
Answer» D. Both (I) and (II) are wrong
1268.

Match the following with reference to Unix shell scripts : List-I                                                     List-IIa. $?                                 i.  File name of the current scriptb. $#                                ii.  List of argumentsc. $0                                 iii. The number of argumentsd. $*                                  iv. Exit status of last commandCodes:a       b       c       d

A. iii       ii       i       iv
B. ii       iii       i       iv
C. iv       iii       i       ii
D. i       iii       i       iv
Answer» D. i       iii       i       iv
1269.

What is the function of following UNIX command?WC – l < a >b&

A. It runs the word count program to count the number of lines in its input, a, writing the result to b, as a foreground process.
B. It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background.
C. It counts the errors during the execution of a process, a, and puts the result in process b.
D. It copies the ‘ l ’ numbers of lines of program from file, a, and stores in file b.
Answer» C. It counts the errors during the execution of a process, a, and puts the result in process b.
1270.

A unix file system has 1-KB blocks and 4-byte disk addresses. What is the maximum file size if i-nodes contain 10 direct entries and one single, double and triple indirect entry each?

A. 32 GB
B. 64 GB
C. 16 GB
D. 1 GB
Answer» D. 1 GB
1271.

The dual of a Boolean expression is obtained by interchanging

A. Boolean sums and Boolean products
B. Boolean sums and Boolean products or interchanging 0's and 1 's
C. Boolean sums and Boolean products and interchanging 0's & 1's
D. Interchanging 0's and 1 's
Answer» D. Interchanging 0's and 1 's
1272.

The BCD adder to add two decimal digits needs minimum of

A. 6 full adders and 2 half adders
B. 5 full adders and 3 half adders
C. 4 full adders and 3 half adders
D. 5 full adders and 2 half adders
Answer» E.
1273.

Given that (292)10 = (1204)x in some number system x. The base x of that number system is

A. 2
B. 8
C. 10
D. None of the above
Answer» E.
1274.

The sum of products, expansion for the functionF(x, y, z) = (x, + y) z' is given as

A. x ' y ' z + x y z ' +  x y z '
B. x y z +  x y z' +  x Y' z '
C. x y' z' +  x ' y ' z ' +  x y z '
D. x y z '  + x Y ' z '  + x ' y z '
Answer» E.
1275.

An example of a universal building block is

A. EX-OR gate
B. AND gate
C. OR gate
D. NOR gate
Answer» E.
1276.

Extremely low power dissipation and low cost per gate can be achieved in:

A. MOS ICs
B. CMOS ICs
C. TTL ICs
D. ECL ICs
Answer» C. TTL ICs
1277.

Match the following :a. TTL                          1. High fan outb. ECL                         2. Low propagation delayc. CMOS                     3. High power dissipationCode : a b c

A. 3 2 1
B. 1 2 3
C. 1 3 2
D. 3 1 2
Answer» B. 1 2 3
1278.

Identify the operation which is commutative but not associative ?

A. OR
B. NOR
C. EX-OR
D. NAND
Answer» C. EX-OR
1279.

Match the following IC families with their basic circuits :a. TTL                          1. NANDb. ECL                         2. NORc. CMOS 3. InverterCode : a b c

A. 1 2 3
B. 3 2 1
C. 2 3 1
D. 2 1 3
Answer» B. 3 2 1
1280.

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

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

What does the following declaration mean ?int (*ptr) [10];

A. ptr is an array of pointers of 10 integers
B. ptr is a pointer to an array of 10 integers
C. ptr is an array of 10 integers
D. none of the above
Answer» C. ptr is an array of 10 integers
1282.

Consider the program below in a hypothetical programming language which allows global variables and a choice of static or dynamic scoping int i;program Main( ){i = 10;call f ( );}procedure f( ){int i = 20;call g ( );}procedure g( ){print i;}Let x be the value printed under static scoping and y be the value printed under dynamic scoping. Then x and y are

A. x = 10, y = 20
B. x = 20, y = 10
C. x = 20, y = 20
D. x = 10, y = 10
Answer» E.
1283.

In a Linear Programming Problem, suppose there are 3 basic variables and 2 non-basic variables, then the possible number of basic solutions are

A. 6
B. 8
C. 10
D. 12
Answer» D. 12
1284.

Enumeration is a process of

A. Declaring a set of numbers
B. Sorting a list of strings
C. Assigning a legal values possible for a variable
D. Sequencing a list of operators
Answer» D. Sequencing a list of operators
1285.

The ‘C’ language is

A. Context free language
B. Context sensitive language
C. Regular language
D. None of the above
Answer» B. Context sensitive language
1286.

Match the following with respect to C++ data types :a. User defined type                   1. Qualifierb. Built in type                             2. Unionc. Derived type                            3. Voidd. Long double                           4. PointerCode : a b c d

A. 2 3 4 1
B. 3 1 4 2
C. 4 1 2 3
D. 3 4 1 2
Answer» B. 3 1 4 2
1287.

Which of the following mode declaration is used in C++ to open a file for input ?

A. ios : : app
B. in : : ios
C. ios : : file
D. ios : : in
Answer» E.
1288.

Functions defined with class name are called as

A. Inline function
B. Friend function
C. Constructor
D. Static function
Answer» D. Static function
1289.

When a programming Language has the capacity to produce new datatype, it is called as,

A. Overloaded Language
B. Extensible Language
C. Encapsulated Language
D. Abstraction Language
Answer» C. Encapsulated Language
1290.

In an enhancement of a CPU design, the speed of a floating point unit has been increased by 20% and the speed of a fixed point unit has been increased by 10%. What is the overall speed achieved if the ratio of the number of floating point operations to the number of fixed point operations is 2 : 3 and the floating point operation used to take twice the time taken by the fixed point operation in original design ?

A. 1.62
B. 1.55
C. 1.85
D. 1.285
Answer» B. 1.55
1291.

The efficiency (E) and speed up (sp) for Multiprocessor with p processors satisfies

A. E ≤ Sp and Sp  ≤  p
B. E  ≤ 1 and  Sp  ≤  p
C. E  ≤ p and  Sp  ≤  1
D. E  ≤ 1 and  Sp  ≤  1
Answer» C. E  ≤ p and  Sp  ≤  1
1292.

Match the following:List -I                List - IIa. Indexed          i. is not used when anAddressing          operand is moved from memory into a register' or from a  register to memory.b. Direct              ii.Memory address is computed by adding up two registers plus an (optional) offset.Addressingc. Register         iii.Addressing memory  by giving a register plus a content offset.Addressingd. Base-             iv .can only be used to access global variables whose address 18 known at compile time. IndexedAddressing

A. (a) - (ii), (b)-(i),(c)-(iv), (d)-(iii)
B. (a)-(ii),(b)-(iv), (c)-(i), (d)-(iii)
C. (a)-(iii), (b)-(iv),(c)-(i),(d)-(ii)
D. (a)-(iii),(b)-(i),(c)-(iv), (d)-(ii)
Answer» D. (a)-(iii),(b)-(i),(c)-(iv), (d)-(ii)
1293.

Which of the following is a design criteria for instruction formats ?

A. The size of instructions
B. The number of bits in the address fields
C. The sufficient space in the instruction format to express all the operations desired
D. All of these
Answer» E.
1294.

Synchronization is achieved by a __________timing device which generates a periodic train of ____________

A. clock generator, clock pulse
B. master generator, clock pulse
C. generator, clock
D. master clock generator, clock pulse
Answer» B. master generator, clock pulse
1295.

Let f be the fraction of a computation (in terms of time) that is parallelizable, P the number of processors in the system, and sp the speed up achievable in comparison with sequential execution – then the sp can be calculated using the relation :

A. 1 /(1 - f - (f/P))
B. P/ P - f(P + 1)
C. 1/ (1 - f + (f/P))
D. P /(P + f(P - 1))
Answer» D. P /(P + f(P - 1))
1296.

Suppose a processor does not have any stack pointer registers, which of the following statements is true ?

A. It cannot have subroutine call instruction
B. It cannot have nested subroutine calls
C. Interrupts are not possible
D. All subroutine calls and interrupts are possible
Answer» E.
1297.

Which of the following statements are true? I. A circuit that adds two bits, producing a sum bit and a carry bit is called half adder.II. A circuit that adds two bits, producing a sum bit and a carry bit is called full adder.III. A circuit that adds two bits and a carry bit producing a sum bit and a carry bit is called full adder.IV. A device that accepts the value of a Boolean variable as input and produces its complement is called an inverter.

A. I & II
B. Il & III
C. I, II, lll
D. I, III & IV
Answer» E.
1298.

FAN IN of a component A is defined as

A. Number of components that can call or pass control to component A
B. Number of components that are called by component A
C. Number of components related to component A
D. Number of components dependent on component A
Answer» B. Number of components that are called by component A
1299.

In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register ?

A. Absolute
B. Indirect
C. Immediate
D. Index
Answer» E.
1300.

Which one is a collection of templates and rules ?

A. XML
B. CSS
C. DHTML
D. XSL
Answer» E.