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

Which statement best separates deadlock from starvation?

Which statement best separates deadlock from starvation?

  1. A.They are the same thing
  2. B.In deadlock the processes wait for each other forever; in starvation one process waits indefinitely while others keep making progress
  3. C.Starvation needs all four Coffman conditions
  4. D.Deadlock is fixed by aging
Answer & explanation

Correct answer: In deadlock the processes wait for each other forever; in starvation one process waits indefinitely while others keep making progress

Aging fixes starvation; deadlock needs prevention, avoidance or detection.

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 →