What is the Banker's algorithm used for?
Q1. What is the Banker's algorithm used for?
Answer: Deadlock avoidance
Explanation: The Banker's algorithm is used for deadlock avoidance by ensuring that resource allocation does not lead to a deadlock state.