Home / Computer Science / Operating System :: Discussion

Discussion :: Operating System

  1. Banker's algorithm for resource allocation deals with

  2. A.

     deadlock prevention

    B.

     deadlock avoidance

    C.

     deadlock recovery

    D.

     mutual exclusion

    E.

     None of the above

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The Banker algorithm, sometimes referred to as the detection algorithm, is a resource allocation and deadlock avoidance algorithm developed by Edsger Dijkstra that tests for safety by simulating the allocation of predetermined maximum possible amounts of all resources, and then makes an "s-state" check to test for possible deadlock conditions for all other pending activities, before deciding whether allocation should be allowed to continue.


Be The First To Comment