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

How does a system detect a deadlock among single-instance resources?

How does a system detect a deadlock among single-instance resources?

  1. A.By checking CPU usage
  2. B.By finding a cycle in the wait-for graph
  3. C.By counting page faults
  4. D.By measuring disk speed
Answer & explanation

Correct answer: By finding a cycle in the wait-for graph

A cycle means every process in it is waiting for the next one.

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 →