Q1. What is Deadlock Avoidance?
Ans. Deadlock avoidance requires that the operating system be given in advance additional information concerning which resources a process will request and use during its lifetime. With this additional knowledge, it can decide for each request whether or not the process should wait. To decide whether the current request can be satisfied or must be delayed, the system must consider the resource currently available, the resources currently allocated to each process, and the future requests and releases of each process.