Multiple choice

Which of the following is/are necessary condition(s) for deadlock?

  1. Non-preemption

  2. Circular wait

  3. Preemption

  4. Only 1, 2 and 4

  5. Mutual exclusion

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

These options are the necessary conditions that give rise to deadlock situation. Only one process can access the critical region causing others to wait.