What problem is solved by Dijkstra banker’s algorithm?

2017

What problem is solved by Dijkstra banker’s algorithm?

  1. A.

    Cache coherence

  2. B.

    Mutual exclusion

  3. C.

    Deadlock recovery

  4. 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.

Explore the full course: Isro