CS FundamentalsHardGATE CS · Product Company SDE

A disk (tracks 0–199) has the head at 111 and pending requests [34, 176, 127, 129, 120, 171, 96, 8]. What is the total head movement under SCAN (head moving toward track 0 first, going all the way to 0, then reversing)?

  1. A. 344
  2. B. 287
  3. C. 307
  4. D. 493

Correct answer: B. 287

FCFS 493; SSTF 307; SCAN 287 (111→0 then up to 176). Requested policy → 287.

More Operating Systems questions

Exams that ask this topic