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

Why is the Banker's algorithm rarely used in general-purpose operating systems?

Why is the Banker's algorithm rarely used in general-purpose operating systems?

  1. A.It cannot find safe sequences
  2. B.It only works with one resource type
  3. C.Processes must declare their maximum needs in advance, and checking every request costs time
  4. D.It always causes starvation
Answer & explanation

Correct answer: Processes must declare their maximum needs in advance, and checking every request costs time

Real programs seldom know their maximum needs, and the check runs on every request.

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 →