Deadlock Avoidance MCQ
Deadlock Avoidance MCQ 1. The content of the matrix Need is ____________ a) Allocation – Available b) Max – Available c) Max – Allocation d) Allocation – Max Answer: Max – Allocation 2. A state is safe, if ____________ a) the system does not crash due to deadlock occurrence b) the system can allocate resources to each process in some order and still avoid a deadlock c) the state keeps the system protected and safe d) all of the mentioned Answer: the system can allocate resources to each process in some order and still avoid a deadlock 3. If no cycle exists in the resource allocation graph ____________ a) then the system will not be in a safe state b) then the system will be in a safe state c) all of the mentioned d) none of the mentioned Answer: then the system will be in a safe state 4. All unsafe states are ____________ a) deadlocks b) not deadlocks c) fatal d) none of the mentioned Answer: not deadlocks 5. The data structures available in the Banker’s algorithm are ____________ a)