CS FundamentalsHardGATE CS

Disk cylinders 0–199; head at 100, moving toward higher cylinders. Requests: 55, 58, 39, 18, 90, 160, 150, 38, 184. Which algorithm gives the LEAST total head movement among FCFS, SSTF, SCAN and LOOK?

  1. A. SSTF (248)
  2. B. FCFS (498)
  3. C. SCAN (280)
  4. D. LOOK (250)

Correct answer: A. SSTF (248)

Totals: FCFS 498, SSTF 248, SCAN 280, LOOK 250. On this queue the greedy SSTF choice happens to win; LOOK is close behind because it avoids SCAN's trip to the end.

More Operating Systems questions

Exams that ask this topic