🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Deadlocks: all 10 questions

Quiz: Deadlocks · Question 2 of 10

In the Banker's algorithm, Need is calculated as:

In the Banker's algorithm, Need is calculated as:

  1. A.Max + Allocation
  2. B.Max − Allocation
  3. C.Available − Allocation
  4. D.Allocation − Max
Answer & explanation

Correct answer: Max − Allocation

Need is what a process may still request.

Can you get the rest right without peeking?

Take the timed Quiz: Deadlocks quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →