Examveda
Examveda

The Banker's algorithm is used

A. to rectify deadlock

B. to detect deadlock

C. to prevent deadlock

D. to solve deadlock

Answer: Option C

Solution(By Examveda Team)

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.

Source : wikipedia.org

Join The Discussion

Related Questions on Operating System

Identify false statement

A. You can find deleted files in recycle bin

B. You can restore any files in recycle bin if you ever need

C. You can increase free space of disk by sending files in recycle bin

D. You can right click and choose Empty Recycle Bin to clean it at once