In operating system, Banker's algorithm is used to:
2026
In operating system, Banker's algorithm is used to:
- A.
deadlock recovery
- B.
prevent deadlock
- C.
deadlock removal
- 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.