CS FundamentalsModerateAccenture · Capgemini pattern

A disk has cylinders 0–199 and the head is at cylinder 72. The request queue, in arrival order, is 110, 25, 160, 47, 130, 8, 95, 185. What is the total head movement under FCFS?

  1. A. 641 cylinders
  2. B. 753 cylinders
  3. C. 290 cylinders
  4. D. 818 cylinders

Correct answer: B. 753 cylinders

|72−110| + |110−25| + |25−160| + |160−47| + |47−130| + |130−8| + |8−95| + |95−185| = 38 + 85 + 135 + 113 + 83 + 122 + 87 + 90 = 753.

More Operating Systems questions

Exams that ask this topic