Beginner Operating Systems
Q28 / 100

What is the banker's algorithm used for?

Correct! Well done.

Incorrect.

The correct answer is B) Deadlock avoidance by checking if resource allocation leaves the system in a safe state

B

Correct Answer

Deadlock avoidance by checking if resource allocation leaves the system in a safe state

Explanation

The Banker's Algorithm (Dijkstra) checks if granting a resource request would leave the system in a safe state (a state where all processes can eventually complete). If not, the request is denied.

Progress
28/100