← Quiz: Banker's Algorithm in Practice: all 15 questions
Quiz: Banker's Algorithm in Practice · Question 2 of 15
A process asks for more than its Need. What does the resource-request algorithm do?
A process asks for more than its Need. What does the resource-request algorithm do?
- A.Makes it wait
- B.Raises an error — it exceeded its declared maximum
- C.Grants it if Available is large enough
- D.Runs the safety check first
Answer & explanation
Correct answer: Raises an error — it exceeded its declared maximum
Need is the most it may still ask for, so a larger request breaks its own declaration.
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 →