A deadlock avoidance algorithm dynamically examines the __ to ensure that a circular wait condition can never exist.

A. a) operating system
B. b) resources
C. c) system storage state
D. d) resource allocation state
Correct Answer: D. d) resource allocation state
Explanation: This means it looks at the current allocation of resources to processes and the maximum resource needs of each process to determine if granting a resource request would lead to a deadlock. By analyzing this information, the algorithm can prevent deadlock by denying requests that could potentially create a circular wait.


The Banker's Algorithm is a classic example of a deadlock avoidance algorithm.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top