CS FundamentalsHardDeloitte · IBM campus pattern

A disk has cylinders 0–199 and the head is at cylinder 53, moving towards cylinder 199. Pending requests: 98, 183, 37, 122, 14, 124, 65, 67. What is the total head movement under LOOK, which reverses as soon as there are no more requests ahead of it?

  1. A. 314
  2. B. 299
  3. C. 331
  4. D. 236

Correct answer: B. 299

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 299 cylinders, versus 331 for full SCAN.

More Operating Systems questions

Exams that ask this topic