Which of the following will be used for a system having multiple instances of…
2018
Which of the following will be used for a system having multiple instances of a resource type?
- A.
Resource-allocation graph
- B.
Banker's algorithm
- C.
Wait-for graph
- D.
Semaphores
Attempted by 205 students.
Show answer & explanation
Correct answer: B
The Banker's algorithm is specifically designed for deadlock avoidance in systems with multiple instances of each resource type. It verifies safe state transitions before granting requests, unlike resource-allocation graphs which are often limited to single-instance detection scenarios.