Deadlock Prevention
Q1. What is Deadlock Prevention?
Ans. Deadlock prevention provides a set of methods for ensuring that at least one of the necessary conditions cannot hold. These methods prevent deadlocks by constraining how requests for resources can be made.