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

In the lesson's Banker's example (Available = (3, 3, 2)), which other process besides P1 could safely be chosen first?

In the lesson's Banker's example (Available = (3, 3, 2)), which other process besides P1 could safely be chosen first?

  1. A.P0
  2. B.P2
  3. C.P3
  4. D.P4
Answer & explanation

Correct answer: P3

P3's Need (0, 1, 1) ≤ (3, 3, 2). P0, P2 and P4 each need more than is available.

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 →