CS FundamentalsVery hardAmazon · Microsoft MCQ pattern

A disk has cylinders 0–199 and the head is at cylinder 90, moving towards cylinder 0. Pending requests: 15, 45, 75, 105, 135, 165, 30, 195. What is the total head movement under LOOK, which reverses as soon as there are no more requests ahead of it?

  1. A. 255
  2. B. 285
  3. C. 315
  4. D. 270

Correct answer: A. 255

LOOK services requests in the direction of travel but reverses immediately after the farthest pending request in that direction, instead of running all the way to the disk's edge: total movement 255 cylinders, versus 285 for full SCAN.

More Operating Systems questions

Exams that ask this topic