in Operating System recategorized by
837 views
1 vote
1 vote

Banker's algorithm is used for __________ purpose :

  1. Deadlock avoidance
  2. Deadlock removal
  3. Deadlock prevention
  4. Deadlock continuations
in Operating System recategorized by
837 views

2 Answers

0 votes
0 votes

Banker's algorithm is used for dead lock avoidance..

Refernece:

https://en.wikipedia.org/wiki/Banker%27s_algorithm

0 votes
0 votes

Banker’s algorithm is used to avoid deadlock conditions. It’s a deadlock avoidance technique. This algorithm checks whether the request made by a different process for a particular resource, is checking for a safe state or not. if the process is in a safe state then it allows the request otherwise reject the request.

so deadlock avoidance, option $A$ is correct.