Operating System (3140702) MCQs

MCQs of Deadlock

Showing 31 to 40 out of 50 Questions
31.
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
Answer:

Option (a)

32.
The ways of aborting processes and eliminating deadlocks is ____________
(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
Answer:

Option (c)

33.
Those processes should be aborted on the 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
Answer:

Option (b)

34.
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
Answer:

Option (d)

35.
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
Answer:

Option (c)

36.
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
Answer:

Option (b)

37.
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
Answer:

Option (b)

38.
If the resources are always preempted from the same process __________ can occur.
(a) deadlock
(b) system crash
(c) starvation
(d) system restart
Answer:

Option (c)

39.
High priority process keep executing and low priority process are blocked is called _________
(a) deadlock
(b) system crash
(c) starvation
(d) system restart
Answer:

Option (c)

40.
Starvation can be prevented by ________
(a) Mutual exclusion
(b) Hold and Wait
(c) Pre emption
(d) Aging
Answer:

Option (d)

Showing 31 to 40 out of 50 Questions