🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Makes it wait
  2. B.Raises an error — it exceeded its declared maximum
  3. C.Grants it if Available is large enough
  4. 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 →