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

Directions (Q96–100): Consider the following disk queue with requests for I/O to blocks on cylinders:
45, 81, 185, 33, 175, 99, 150, 77
(Consider that the head starts from location 58.)

What shall be the total head movement of cylinders for the C-SCAN disk scheduling technique if the head starts moving in the right direction from the initial position? (Assume cylinders 0–199)

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

Show answer & explanation

Correct answer: D. 385

Explanation

C-SCAN goes right from 58 to the last cylinder 199 (141 cylinders), returns to 0 (199), then moves up to 45 (45). Total = 141 + 199 + 45 = 385.

More System Software and Operating System questions