Questions: Multilevel Feedback Queue (MLFQ) Scheduling

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A process enters the MLFQ scheduler and consistently uses its full CPU time quantum without voluntarily yielding. What happens to it over successive rounds?

AIt stays in the highest-priority queue because it clearly needs the most CPU time
BIt is terminated for monopolizing the CPU
CIt is demoted to a lower-priority queue with a larger time quantum
DIt is promoted to higher priority to ensure its long computation completes faster
Question 2 Multiple Choice

Why does a text editor waiting for keystrokes typically remain in the high-priority queues of an MLFQ scheduler?

AThe scheduler detects that the process is user-facing and assigns it a static high-priority flag
BI/O-bound processes receive special protection that prevents demotion
CThe process frequently yields the CPU before exhausting its time quantum, so the scheduler never demotes it
DText editors are given high priority by convention in most operating systems
Question 3 True / False

MLFQ scheduling requires the operating system to know each process's expected run time before scheduling it.

TTrue
FFalse
Question 4 True / False

Without a periodic priority boost mechanism, MLFQ scheduling can cause starvation for long-running CPU-bound processes.

TTrue
FFalse
Question 5 Short Answer

How does MLFQ approximate the behavior of Shortest Job First scheduling without knowing job lengths in advance?

Think about your answer, then reveal below.