CS FundamentalsModerateGATE CS

A disk has cylinders 0-199. The head is at cylinder 50 moving towards higher numbers. Pending requests: 176, 79, 34, 60, 92, 11, 41, 114. Counting the long return seek (jump) as head movement, what is the total movement under C-LOOK?

  1. A. 321
  2. B. 156
  3. C. 291
  4. D. 389

Correct answer: A. 321

Order: 60, 79, 92, 114, 176 (126 cylinders), jump 176 to 11 (165), then 11, 34, 41 (30 more): 126+165+30 = 321. LOOK would be 291, C-SCAN 389, and 156 is C-LOOK without the return jump.

More Operating Systems questions

Exams that ask this topic