CS FundamentalsHardGATE CS · Advanced

A disk has cylinders 0-199. The head is at cylinder 96 and is moving towards higher numbers; the pending requests are for cylinders 21, 176, 60, 134, 12, 141, 88, 105, 150, 34. Under C-LOOK scheduling (service upwards to the highest request, then jump straight back to the lowest pending request and continue upwards), what is the total head movement in cylinders, counting the return jump?

  1. A. 390
  2. B. 320
  3. C. 168
  4. D. 260

Correct answer: B. 320

Upward sweep 96 to 176 = 80, return jump 176 to 12 = 164, then 12 to 88 = 76: total 320. C-SCAN goes to 199 and to 0 (390); leaving out the jump gives 156.

More Operating Systems questions

Exams that ask this topic