MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Deadlock
Q
A system is in the safe state if ____________
AA. The system can allocate resources to each process in some order and still avoid a deadlock
BB. There exist a safe sequence
CC. All of the mentioned
DD. None of the mentioned
Correct Answer:
C. C. All of the mentioned
Explanation:
Safe State $neq$ Deadlock-free: A safe state is deadlock-free, but an unsafe state is not necessarily a deadlock; it just means the system could potentially fall into a deadlock if it isn't careful
while the Banker's Algorithm: This is the most common algorithm used by operating systems to determine if granting a resource request will leave the system in a safe state.