In operating system, Banker's algorithm is used to:

2026

In operating system, Banker's algorithm is used to:

  1. A.

    deadlock recovery

  2. B.

    prevent deadlock

  3. C.

    deadlock removal

  4. D.

    none of the above

Attempted by 136 students.

Show answer & explanation

Correct answer: D

The Banker's algorithm is a deadlock avoidance strategy used in operating systems. It ensures the system remains in a safe state by checking if resource allocation will lead to a deadlock before granting requests. Unlike recovery methods, it proactively prevents deadlocks rather than resolving them after they occur.

Explore the full course: Up Lt Grade Assistant Teacher 2025