Explore topic-wise MCQs in Testing Subject.

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

1.

With …………………. A page is written out to secondary memory only when it has been selected for replacement.

A. pre-cleaning
B. demand cleaning
C. required cleaning
D. fast cleaning
Answer» C. required cleaning
2.

File management function of the operating system includesi) File creation and deletion ii) Disk schedulingiii) Directory creation iv) Mapping file in secondary storage.

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

Which of the following are the functions of operating system?i) recovering from errors ii) facilitating input/outputiii) facilitating parallel operation iv) sharing hardware among usersv) implementing user interface

A. i, ii, ii, and v only
B. i, ii, iii, and iv only
C. ii, iii, iv and v only
D. All i, ii, iii, iv and v
Answer» E.
4.

A process that execute only in main memory is referred to as ……………… and that allocated in disk is referred to a …………….

A. virtual memory, true memory
B. virtual memory, real memory
C. real memory, virtual memory
D. imaginary memory, real memory
Answer» D. imaginary memory, real memory
5.

The following conditions of policy must be present for a deadlock to be possible.i) Mutual exclusion ii) Hold and waitiii) No preemption iv) Circular wait

A. i, ii and iii only
B. ii, iii and iv only
C. i, iii and iv only
D. All i, ii, iii and iv
Answer» E.
6.

The typical elements of process image are .....................i) User data ii) System Data iii) User program iv) System stack

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

…………… are very effective because a mode switch is not required to switch from one thread to another.

A. Kernel-level threads
B. User-level threads
C. Alterable threads
D. Application level threads
Answer» C. Alterable threads
8.

State true or false.i) Unix, support multiple user process but only support one thread per process.ii) A java run time environment is an example of a system of one process with multiple threads.

A. True, False
B. True, True
C. False, True
D. False, False
Answer» B. True, True
9.

The unit of dispatching is usually referred to as a …………..

A. Thread
B. Lightweight process
C. Process
D. Both A and B
Answer» E.
10.

Match the following mechanisms for interrupting the execution of a process and their uses.i) Interrupt ii) Trap iii) Supervisor Call a) Call to an operating system functionb) Reaction to an asynchronous external eventc) Handling of a error or an exception condition

A. i-a, ii-b, iii-c
B. i-c, ii-a, iii-b
C. i-b, ii-c, iii-a
D. i-a, ii-c, iii-b
Answer» D. i-a, ii-c, iii-b
11.

Process Management function of an operating system kernel includes.

A. Process creation and termination.
B. Process scheduling and dispatching
C. Process switching
D. All of the above
Answer» E.
12.

Which of the following information not included in memory table?

A. The allocation of main memory to process.
B. The allocation of secondary memory to process
C. Any information needed to manage virtual memory
D. Any information about the existence of file
Answer» E.
13.

Which of the following are the states of a five state process model?i) Running ii) Ready iii) New iv) Exit v) Destroy

A. i, ii, iii and v only
B. i, ii, iv and v only
C. i, ii, iii, and iv only
D. All i, ii, iii, iv and v
Answer» D. All i, ii, iii, iv and v
14.

Which of the following is not the approach to dealing with deadlock?

A. Prevention
B. Avoidance
C. Detection
D. Deletion
Answer» E.
15.

State whether the following statement is true.i) It takes less time to terminate a thread than a process.ii) Threads enhance efficiency in communication between different executing programs.

A. i-True, ii-False
B. i-True, ii-True
C. i-False, ii-True
D. i-False, ii-False
Answer» C. i-False, ii-True
16.

.................. refers to the ability of an operating system to support multiple threads of execution with a single process.

A. Multithreading
B. Multiprocessing
C. Multiexecuting
D. Bi-threading
Answer» B. Multiprocessing
17.

............... policy selects the disk I/O request that requires the least movement of the disk arm from its current position.

A. FSCAN
B. SSTF
C. SCAN
D. C-SCAN
Answer» C. SCAN
18.

The methods or algorithms which are used to increase the performance of disk storage sub-system is called .............

A. Disk performing
B. Disk scheduling
C. Disk storing
D. Disk extending
Answer» C. Disk storing
19.

Match the following.i) Mutual exclusion resources while waiting assignment.ii) Hold and wait removed from a process holding it.iii) No preemption resource at a time. a) A process may hold allocated b) No resource can be forcibly c) Only one process may use a

A. i-a, ii-b, iii-c
B. i-a, ii-c, iii-b
C. i-b, ii-c, iii-a
D. i-c, ii-a, iii-b
Answer» E.
20.

With ................ only one process can execute at a time; meanwhile all other process are waiting for the processer. With .............. more than one process can be running simultaneously each on a different processer.

A. Multiprocessing, Multiprogramming
B. Multiprogramming, Uniprocessing
C. Multiprogramming, Multiprocessing
D. Uniprogramming, Multiprocessing
Answer» D. Uniprogramming, Multiprocessing
21.

Which of the following is not the function of Micro kernel?

A. File management
B. Low-level memory management
C. Inter-process communication
D. I/O interrupts management
Answer» B. Low-level memory management
22.

................. is the ability of multiple process to co-ordinate their activities by exchange of information

A. Synchronization
B. Mutual Exclusion
C. Dead lock
D. Starvation
Answer» B. Mutual Exclusion
23.

State whether true or false. i) Multithreading is useful for application that perform a number of essentially independent tasks that do not be serialized.ii) An example of multithreading is a database server that listens for and process numerous client request.

A. i-True, ii-False
B. i-True, ii-True
C. i-False, ii-True
D. i-False, ii-False
Answer» C. i-False, ii-True
24.

A .................... architecture assigns only a few essential functions to the kernel, including address spaces, Inter process communication(IPC) and basic scheduling.

A. Monolithic kernel
B. Micro kernel
C. Macro kernel
D. Mini kernel
Answer» C. Macro kernel
25.

....................... provides a larger sized of virtual memory but require virtual memory which provides multidimensional memory.

A. Paging method
B. Segmentation method
C. Paging and segmentation method
D. None of these
Answer» C. Paging and segmentation method
26.

With ................ a page is brought into main memory only when the reference is made to a location on that page.

A. demand paging
B. main paging
C. prepaging
D. postpaging
Answer» B. main paging
27.

Process is ........................

A. A program in execution
B. An instance of a program running on a computer.
C. The entity that can be assigned to and executed
D. All of the above.
Answer» E.
28.

............... is a large kernel containing virtually the complete operating system, including, scheduling, file system, device drivers and memory management.

A. Multilithic kernel
B. Monolithic kernel
C. Micro kernel
D. Macro kernel
Answer» C. Micro kernel
29.

.................. executes must frequently and makes the fine grained decision of which process to execute the next.

A. Long-term scheduling
B. Medium-term scheduling
C. Short-term scheduling
D. None of the above
Answer» D. None of the above
30.

Which of the following is/are the functions of operating system?i) Sharing hardware among users. ii) Allowing users to share data among themselves.iii) Recovering from errors. iv) Preventing users from interfering with one another.v) Scheduling resources among users.

A. i, ii, iii and iv only
B. ii, iii, iv and v only
C. i, iii, iv and v only
D. All i, ii, iii, iv and v
Answer» E.
31.

Which of the following is/ are the part of operating system?

A. Kernel services
B. Library services
C. Application level services
D. All of the above
Answer» E.
32.

State True or False.i) In spooling high speed device like a disk is interposed between running program and low-speed device in Input/output.ii) By using spooling for example instead of writing directly to a printer, outputs are written to the disk.

A. i-True, ii-False
B. i-True, ii-True
C. i-False, ii-True
D. i-False, ii-False
Answer» C. i-False, ii-True
33.

In ............. generation of operating system, operating system designers develop the concept of multi-programming in which several jobs are in main memory at once.

A. First
B. Second
C. Third
D. Fourth
Answer» D. Fourth
34.

The system of ............... generally ran one job at a time. These were called single stream batch processing.

A. 40's
B. 50's
C. 60's
D. 70's
Answer» C. 60's
35.

.......... is, a table have more than one set of attributes that could be chosen as the key

A. foreign key
B. integrity key
C. relationship
D. candidate key
Answer» E.
36.

The operation of eliminating columns in a table done by ........ operation.

A. Restrict
B. Project
C. Union
D. Divide
Answer» C. Union
37.

The database environment has all of the following components except.

A. users
B. separate files
C. database
D. database administrator
Answer» B. separate files
38.

A functional dependency is a relationship between or among .......

A. tables
B. rows
C. relations
D. attributes
Answer» E.
39.

When the values in one or more attributes being used as a foreign key must exist in another set of one or more attributes in another table, we have created a(n) ........

A. transitive dependency
B. insertion anomaly
C. referential integrity constraint
D. normal form
Answer» D. normal form
40.

........ introduced the relational database rules.

A. Atul kahate
B. James Gossling
C. EF Codd
D. Dennies Rithchie
Answer» D. Dennies Rithchie
41.

The ............ refers to the way data is organized in and accessible from DBMS.

A. database hierarchy
B. data organization
C. data sharing
D. data model
Answer» E.
42.

The ........ is used for creating and destroying table, indexes and other forms of structures.

A. data manipulation language
B. data control language
C. transaction control language
D. data definition language
Answer» E.
43.

Field is otherwise called as ......... of the record

A. data item
B. data type
C. value
D. variable
Answer» B. data type
44.

Which of the following is not a characteristic of a relational database model?

A. Table
B. Tree like structure
C. Complex logical relationship
D. Records
Answer» C. Complex logical relationship
45.

................. is a statement that is executed automatically by the system.

A. trigger
B. assertion
C. durability
D. integrity constraint
Answer» B. assertion
46.

In the relational modes, cardinality is termed as

A. Number of tuples
B. Number of attributes
C. Number of tables
D. Number of constraints
Answer» B. Number of attributes
47.

A field can be called as ........... in relation context.

A. random file
B. direct file
C. attribute
D. tuple
Answer» D. tuple
48.

A table can have only one

A. Secondary key
B. Alternate key
C. Unique key
D. Primary key
Answer» E.
49.

The .................... refers to the way data is organized in and accessible from DBMS.

A. database hierarchy
B. data organization
C. data sharing
D. data model
Answer» E.
50.

A .................... DBMS distributes data processing tasks between the workstation and network server.

A. Network
B. Relational
C. Client Server
D. Hierarchical
Answer» D. Hierarchical