Deadlocks – Conditions, prevention, avoidance, detection, and recovery

    Question 1OS - Deadlock Definition

    What is a deadlock in an operating system?

    Question 2OS - Coffman’s Conditions

    Which of the following is NOT one of Coffman’s four necessary conditions for deadlock?

    Question 3OS - Deadlock Prevention

    How does deadlock prevention work in operating systems?

    Question 4OS - Deadlock Avoidance

    Which algorithm is most commonly used for deadlock avoidance?

    Question 5OS - Safe State Concept

    In deadlock avoidance, what does a safe state mean?

    Question 6OS - Deadlock Detection

    How does a system typically perform deadlock detection?

    Question 7OS - Resource Allocation Graph

    In a Resource Allocation Graph (RAG), what indicates a deadlock?

    Question 8OS - Deadlock Recovery Methods

    Which of the following is a valid deadlock recovery technique?

    Question 9OS - Deadlock Ignorance

    Which deadlock handling strategy is followed by most general-purpose operating systems (like UNIX, Windows)?

    Question 10OS - Deadlock vs Starvation

    What is the key difference between deadlock and starvation?