CS FundamentalsHardGATE CS · Product Company SDE

A disk (tracks 0–199) has the head at 84 and pending requests [131, 79, 155, 177, 81, 144, 121, 28]. What is the total head movement under SCAN (head moving toward track 0 first, going all the way to 0, then reversing)?

  1. A. 278
  2. B. 261
  3. C. 209
  4. D. 255

Correct answer: B. 261

FCFS 472; SSTF 252; SCAN 261 (84→0 then up to 177). Requested policy → 261.

More Operating Systems questions

Exams that ask this topic