Questions: CPU Scheduling Fundamentals

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An operating system uses a scheduling algorithm that achieves 99% CPU utilization — the CPU is almost never idle. Can we conclude that interactive users will experience fast response times?

AYes — high CPU utilization means work is being done efficiently, which directly benefits all users
BNo — a compute-bound job could monopolize the CPU, leaving interactive processes waiting even though utilization is high
CYes — CPU utilization and response time always improve together under any scheduling algorithm
DNo — CPU utilization above 95% causes thermal throttling, which degrades response time
Question 2 Multiple Choice

Shortest-Job-First (SJF) scheduling is described as 'optimal.' What exactly is it optimal for, and what is its main practical limitation?

AIt minimizes average CPU utilization; the limitation is that it requires preemption hardware support
BIt minimizes average waiting time; the limitation is that it requires knowing each job's burst time in advance, which is rarely available
CIt maximizes throughput for I/O-bound processes; the limitation is that it starves CPU-bound processes indefinitely
DIt minimizes response time for all processes; the limitation is that it cannot handle processes that arrive after scheduling begins
Question 3 True / False

A scheduler that maximizes CPU utilization will necessarily minimize the waiting time experienced by processes in the ready queue.

TTrue
FFalse
Question 4 True / False

In preemptive scheduling, the operating system can interrupt a currently-running process and move it back to the ready queue before it voluntarily yields the CPU.

TTrue
FFalse
Question 5 Short Answer

Explain the difference between turnaround time and response time. Why does this distinction matter for different types of computing workloads?

Think about your answer, then reveal below.