Top 550+ Solved Operating System (OS) MCQ Questions Answer

From 136 to 150 of 659

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

  • a. the set of processes that have been deadlocked

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

  • a. abort one or more processes to break the circular wait

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

  • c. abort one process at a time until the deadlock cycle is eliminated

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

  • b. incurs minimum cost

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

  • 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

  • c. amount of time a deadlocked process has thus far consumed during its execution

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

  • b. roll back the process

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

  • a. the number of rollbacks must be included in the cost factor

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

  • d. a mapping from one address space to another
Subscribe Now

Get All Updates & News