🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Deadlocks: all 10 questions

Quiz: Deadlocks · Question 1 of 10

Which is NOT one of the four necessary conditions for deadlock?

Which is NOT one of the four necessary conditions for deadlock?

  1. A.Mutual exclusion
  2. B.Hold and wait
  3. C.Preemption allowed
  4. D.Circular wait
Answer & explanation

Correct answer: Preemption allowed

The condition is NO preemption. Allowing preemption actually helps prevent deadlock.

Can you get the rest right without peeking?

Take the timed Quiz: Deadlocks quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →