CS FundamentalsHardGATE CS

Disk cylinders 0–199; the head is at 50. Requests in arrival order: 82, 170, 43, 140, 24, 16, 190. What is the total head movement under SSTF (ties broken toward the lower cylinder)?

  1. A. 642
  2. B. 208
  3. C. 314
  4. D. 332

Correct answer: B. 208

SSTF order: 43, 24, 16, 82, 140, 170, 190. Total = 208 cylinders. FCFS would cost 642, LOOK (moving up) 314 and SCAN (moving up) 332.

More Operating Systems questions

Exams that ask this topic