Question

    Which of the following conditions must be satisfied for

    a deadlock to occur?
    A Mutual exclusion, hold and wait, no preemption, circular wait. Correct Answer Incorrect Answer
    B Mutual exclusion, hold and release, preemption, circular wait. Correct Answer Incorrect Answer
    C Mutual exclusion, hold and release, no preemption, circular wait. Correct Answer Incorrect Answer
    D Mutual exclusion, hold and wait, preemption, circular wait. Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    For a deadlock to occur, all four conditions must be satisfied: mutual exclusion (resources can't be shared), hold and wait (processes hold resources while waiting for others), no preemption (resources can't be forcibly taken from processes), and circular wait (a circular chain of processes exists, each waiting for a resource held by the next).

    Practice Next

    Relevant for Exams: