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?

  1. A.

    Resource-allocation graph

  2. B.

    Banker's algorithm

  3. C.

    Wait-for graph

  4. 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025