For which of the following purposes is the Banker’s algorithm used?

  • #1
ankitdixit
6
1
Homework Statement
Banker’s algorithm is used?
a. Preventing deadlock
b. Solving deadlock
c. Recover from deadlock
d. None
Relevant Equations
Answer: Banker's Algorithm is mainly used to prevent deadlock.
I am new to the operating system and I want to know, Is it right Banker's Algorithm is mainly used to prevent deadlock? I picked this question from https://www.interviewbit.com/operating-system-mcq/ and I think it is also used for Solving deadlock, Can anyone know, Is this right?
 
  • Like
Likes Delta2
Physics news on Phys.org

Similar threads

Replies
1
Views
1K
Replies
17
Views
5K
Replies
1
Views
1K
Replies
15
Views
2K
Replies
15
Views
7K
Replies
2
Views
2K
Replies
1
Views
2K
Back
Top