What problem is solved by Dijkstra banker’s algorithm?
2017
What problem is solved by Dijkstra banker’s algorithm?
- A.
Cache coherence
- B.
Mutual exclusion
- C.
Deadlock recovery
- D.
Deadlock avoidance
Attempted by 135 students.
Show answer & explanation
Correct answer: D
Dijkstra's Banker's algorithm is a resource allocation strategy used in operating systems to prevent deadlock. It ensures the system remains in a safe state by verifying that granting resource requests will not lead to an unsafe condition. This proactive approach avoids deadlocks rather than recovering from them.
A video solution is available for this question — log in and enroll to watch it.