Questions: Disk Scheduling Algorithms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

The disk head is currently at cylinder 50. Pending requests are at cylinders 2, 48, 51, 52, 53, and 99. A steady stream of new requests keeps arriving near cylinder 50. Which scheduling algorithm risks permanently delaying the request at cylinder 2?

AFCFS, because it services requests in arrival order and may skip cylinder 2
BSCAN, because the head only moves in one direction and may never reach cylinder 2
CSSTF, because it always picks the closest pending request and nearby requests will keep arriving
DC-SCAN, because it only services requests on the forward sweep and ignores cylinder 2 on the return
Question 2 Multiple Choice

Why does C-SCAN provide more uniform wait times than SCAN for disk requests distributed across all cylinders?

AC-SCAN services requests in both directions simultaneously, halving average wait time
BC-SCAN skips the return sweep, so the head always arrives from the same end, giving every cylinder position roughly the same maximum wait
CC-SCAN uses a priority queue to ensure distant requests are served before nearby ones
DC-SCAN reduces seek time by jumping directly to the highest-numbered pending request first
Question 3 True / False

SSTF usually prevents request starvation because, by definition, it typically moves toward some pending request.

TTrue
FFalse
Question 4 True / False

Disk scheduling algorithms like SCAN and C-SCAN are largely unnecessary for solid-state drives because SSDs have no moving parts and all logical block addresses have approximately equal access latency.

TTrue
FFalse
Question 5 Short Answer

Explain why FCFS disk scheduling can produce much greater total head movement than SSTF, even though FCFS treats all requests fairly.

Think about your answer, then reveal below.