Introduction
Introduction
Introduction
*Introduction
9. Which one of the following is a visual ( mathematical ) way to determine the deadlock
occurrence?
a) resource allocation graph
b) starvation graph
c) inversion graph
d) none of the mentioned
Answer: a
2. 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
View Answer
Answer: c
Explanation: None.
6. 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
View Answer
Answer: b
Explanation: None.
7. 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
View Answer
Answer: b
Explanation: None.
8. If the resources are always preempted from the same process __________ can occur.
a) deadlock
b) system crash
c) aging
d) starvation
View Answer
Answer: d
Explanation: None.