Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. A deadlock eventually cripples system throughput and will cause the CPU utilization to
a. increase
b. drop
c. stay still
d. none of the mentioned
Q. Every time a request for allocation cannot be granted immediately, the detection algorithm is invoked. This will help identify
a. the set of processes that have been deadlocked
b. the set of processes in the deadlock queue
c. the specific process that caused the deadlock
d. all of the mentioned
Q. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock
a. can never occur
b. may occur
c. has to occur
d. none of the mentioned
Q. ‘m’ processes share ‘n’ resources of the same type. The maximum need of each process doesn’t exceed ‘n’ and the sum of all their maximum needs is always less than m+n. In this setup, deadlock
a. can never occur
b. may occur
c. has to occur
d. none of the mentioned
Q. A deadlock can be broken by
a. abort one or more processes to break the circular wait
b. abort all the process in the system
c. preempt all resources from all processes
d. none of the mentioned
Q. The two ways of aborting processes and eliminating deadlocks are
a. abort all deadlocked processes
b. abort all processes
c. abort one process at a time until the deadlock cycle is eliminated
d. all of the mentioned
Q. Those processes should be aborted on occurrence of a deadlock, the termination of which?
a. is more time consuming
b. incurs minimum cost
c. safety is not hampered
d. all of the mentioned
Q. The process to be aborted is chosen on the basis of the following factors?
a. priority of the process
b. process is interactive or batch
c. how long the process has computed
d. all of the mentioned
Q. Cost factors for process termination include
a. number of resources the deadlock process is not holding
b. cpu utilization at the time of deadlock
c. amount of time a deadlocked process has thus far consumed during its execution
d. all of the mentioned
Q. If we preempt a resource from a process, the process cannot continue with its normal execution and it must be
a. aborted
b. rolled back
c. terminated
d. queued
Q. To to a safe state, the system needs to keep more information about the states of processes.
a. abort the process
b. roll back the process
c. queue the process
d. none of the mentioned
Q. If the resources are always preempted from the same process can occur.
a. deadlock
b. system crash
c. aging
d. starvation
Q. What is the solution to starvation?
a. the number of rollbacks must be included in the cost factor
b. the number of resources must be included in resource preemption
c. resource preemption be done instead
d. all of the mentioned
Q. What is Address Binding?
a. going to an address in memory
b. locating an address with the help of another address
c. binding two addresses together to form a new address in a different memory space
d. a mapping from one address space to another