CS FundamentalsHardGATE CS · Amazon/Microsoft SDE MCQ

A CPU-bound process and an I/O-bound process share a single CPU under a multilevel feedback queue with priority boosting. What is the purpose of periodically boosting every process to the top queue?

  1. A. To give CPU-bound jobs the best possible response time
  2. B. To stop low-queue jobs starving and re-detect jobs turned interactive
  3. C. To reset the quantum of the top queue back to zero each time
  4. D. To merge all of the queues into one FCFS queue permanently

Correct answer: B. To stop low-queue jobs starving and re-detect jobs turned interactive

Without boosting, a steady stream of interactive jobs could starve the bottom queue forever, and a job whose behaviour changed would stay penalised. The boost resets everyone's priority periodically.

More Operating Systems questions

Exams that ask this topic