← Quiz: Banker's Algorithm in Practice: all 15 questions
Quiz: Banker's Algorithm in Practice · Question 15 of 15
In the detection example, after P2 requests one more C, which process can still finish?
In the detection example, after P2 requests one more C, which process can still finish?
- A.P0
- B.P1
- C.P3
- D.None of them
Answer & explanation
Correct answer: P0
P0 requests nothing, so it finishes and releases (0, 1, 0); after that no other request fits, and P1–P4 are deadlocked.
Can you get the rest right without peeking?
Take the timed Quiz: Banker's Algorithm in Practice quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →