🎙 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 8 of 10

Requiring every process to request all its resources at once prevents deadlock by breaking which condition?

Requiring every process to request all its resources at once prevents deadlock by breaking which condition?

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

Correct answer: Hold and wait

A process never holds some resources while waiting for others.

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 →