CS FundamentalsHardGATE CS

The head is at cylinder 50 moving towards higher cylinders, and the queue is 82, 170, 43, 140, 24, 16, 190. What is the total head movement under LOOK scheduling (reverse at the last request in each direction)?

  1. A. 314
  2. B. 332
  3. C. 298
  4. D. 358

Correct answer: A. 314

Up to 190 is 140 cylinders, then back down to 16 is 174 cylinders: 314 in total.

More Operating Systems questions

Exams that ask this topic