What is the purpose of banker’s algorithm?
2017
What is the purpose of banker’s algorithm?
- A.
To detect deadlock
- B.
To prevent deadlock
- C.
To solve deadlock
- D.
None of these
Attempted by 93 students.
Show answer & explanation
Correct answer: D
The correct option is D (None of these). The actual purpose of the Banker's algorithm is deadlock avoidance. It dynamically tracks resource allocations to ensure the system remains in a "safe state," preventing it from entering an unsafe state that might lead to a deadlock.