All mock tests are FREE till 31 December — register to save your progress

A disk head is currently at cylinder 50. The pending requests, in the order they arrived, are for cylinders: 4, 34, 10, 7, 19, 73, 2, 15, 6, 20. Using the Shortest-Seek-Time-First (SSTF) disk scheduling policy, and given that it takes 1 ms to move the head between two adjacent cylinders, what is the total time needed to service all the requests?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. (A) 119 ms

More System Software and Operating System questions