CS FundamentalsHardGATE CS

A multilevel queue scheduler has a foreground (interactive, RR) queue with absolute priority over a background (batch, FCFS) queue, and processes never move between queues. What is the main risk, and what fixes it?

  1. A. Foreground jobs starve; making the background queue RR fixes it
  2. B. Background jobs can starve while foreground work keeps arriving; time-slicing between queues (e.g. 80/20) or a feedback queue with aging fixes it
  3. C. Deadlock between the queues; adding a mutex fixes it
  4. D. There is no risk because each queue has its own algorithm

Correct answer: B. Background jobs can starve while foreground work keeps arriving; time-slicing between queues (e.g. 80/20) or a feedback queue with aging fixes it

Fixed priority between queues means batch jobs run only when no interactive job is ready. Giving each queue a CPU share or letting waiting jobs age into higher queues prevents starvation.

More Operating Systems questions

Exams that ask this topic