CS FundamentalsHardGATE CS

Disk cylinders 0–199, head at 50 moving TOWARD 0. Requests: 176, 79, 34, 60, 92, 11, 41, 114. What is the total head movement under SCAN and under LOOK?

  1. A. 337 and 291
  2. B. 204 and 226
  3. C. 226 and 204
  4. D. 226 and 215

Correct answer: C. 226 and 204

SCAN down: 50 → 0 (50) then up to 176 (176) = 226. LOOK reverses at the lowest request 11: (50 − 11) + (176 − 11) = 204.

More Operating Systems questions

Exams that ask this topic