← Quiz: Banker's Algorithm in Practice: all 15 questions
Quiz: Banker's Algorithm in Practice · Question 4 of 15
In the example, why could P3's request (1, 0, 1) be granted?
In the example, why could P3's request (1, 0, 1) be granted?
- A.P3 has the lowest number
- B.After granting it, P3's Need becomes (0, 0, 0), so it can finish and return everything
- C.It asked for fewer resources than P0
- D.Available becomes larger
Answer & explanation
Correct answer: After granting it, P3's Need becomes (0, 0, 0), so it can finish and return everything
A process with zero remaining need can always finish first.
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 →