Skip to content

ISRO Scientist/Engineer CSE 2017Operating Systems › Deadlocks

ISRO Scientist/Engineer CSE 2017 PYQ: What problem is solved by Dijikstra banker' algorithm?

What problem is solved by Dijikstra banker' algorithm?

  1. A
    Mutual exclusion
  2. B
    Deadlock recovery
  3. C
    Deadlock avoidance
    Correct answer
  4. D
    Cache coherence

Answer

(C) Deadlock avoidance

Approach

Identify which resource-management problem the Banker's algorithm addresses. The Banker's algorithm is a resource-allocation and deadlock-avoidance scheme: before granting a request, it simulates the allocation and checks whether the resulting state is safe (i.e., some execution order lets all processes finish). If safe, the request is granted; otherwise it is deferred.

Reviewed by ISRO IQ Editorial Team.