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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
ankitdixit
Messages
5
Reaction score
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?
 
Physics news on Phys.org