Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

Disk scheduling practice

More request queues with answers, and a quiz.

Module 5 Session 5.2 Lesson 2 of 2

Disk scheduling practice

Choose an algorithm, enter a queue and watch the head move.

Disk schedulerEdit the inputs, press Run, then Step or Play.

Practice set — head at 50, cylinders 0–199, queue 82 170 43 140 24 16 190, moving toward 199

AlgorithmOrderTotal movement
FCFS82 170 43 140 24 16 190642
SSTF43 24 16 82 140 170 190208
SCAN82 140 170 190 199 43 24 16332
C-SCAN82 140 170 190 199 0 16 24 43391 (including the return)
LOOK82 140 170 190 43 24 16314
C-LOOK82 140 170 190 16 24 43341 (including the jump)
Quick check

Which algorithm here gives the least head movement?

208 cylinders — but it can starve far requests.

LOOK beats SCAN here by…

SCAN travels 190 → 199 → 190 (18 extra cylinders).