Module-3 DeadLock Assignment
Module-3 DeadLock Assignment
1. What are deadlocks? What are its characteristics? Explain the necessary
conditions forits occurrence.
2. Explain the process of recovery from deadlock.
3. Describe RAG:
i) With deadlock
ii) With a cycle but no deadlock
4. What is Resource Allocation Graph (RAG)? Explain how RAG is very
useful indescribing deadly embrace (dead lock ) by considering your
own example.
5. With the help of a system model, explain a deadlock and explain the
necessaryconditions that must hold simultaneously in a system for a
deadlock to occur.
6. Explain how deadlock can be prevented by considering four necessary
conditions cannothold.
7. Using Banker's algorithm determines whether the system is in a safe state.
8. How is a system recovered from deadlock? Explain the different
methods used torecover from deadlock.
9. Explain deadlock detection with algorithm and example
10. Define the terms: safe state and safe sequence. Give an algorithm to find
whether or nota system is in a safe state.
11. Consider the following snapshot of the system