In a system employing the Banker’s algorithm for deadlock avoidance, which of…

2025

In a system employing the Banker’s algorithm for deadlock avoidance, which of the following scenarios would cause the system to be in unsafe state?

  1. A.

    The system has enough resources to satisfy the maximum possible demands of all process simultaneously

  2. B.

    A process requests resources that, if allocated, leave the system without enough resources to satisfy the maximum possible demands of other resources

  3. C.

    All processes are currently resources less than their maximum needs

  4. D.

    The system has more resources than the total maximum needs of all processes combined

Attempted by 30 students.

Show answer & explanation

Correct answer: B

In the Banker’s algorithm, an unsafe state occurs when resource allocation prevents all processes from completing. This happens if granting a request leaves insufficient resources to satisfy the maximum needs of remaining processes, potentially leading to deadlock.

Explore the full course: Mppsc Assistant Professor