CS FundamentalsHardGATE CS

Disk cylinders 0–199, head at 100. Requests: 23, 89, 132, 42, 187, 9, 155, 61. What is the total head movement under FCFS and under SSTF?

  1. A. 269 and 839
  2. B. 839 and 265
  3. C. 762 and 269
  4. D. 839 and 269

Correct answer: D. 839 and 269

FCFS adds |100−23| + |23−89| + ... = 839. SSTF order: 89, 61, 42, 23, 9, 132, 155, 187, total 269.

More Operating Systems questions

Exams that ask this topic