CS FundamentalsHardDeloitte · IBM campus pattern

A disk has cylinders 0–199 and the head is at cylinder 70, moving towards cylinder 199. Pending requests: 12, 78, 145, 33, 167, 92, 56, 188. What is the total head movement under LOOK, which reverses as soon as there are no more requests ahead of it?

  1. A. 309
  2. B. 294
  3. C. 316
  4. D. 278

Correct answer: B. 294

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 294 cylinders, versus 316 for full SCAN.

More Operating Systems questions

Exams that ask this topic