I/O & Disk Scheduling



Answer & solution
Answer: SCAN: 33.6 ms; LOOK interpretation: 12 ms. (no official key was published)
Under strict SCAN, continue toward the physical end 99 before reversing. Requests are served in order 32,45,10,7,5, with traversal 25→32→45→99→10→7→5. Distance is (99−25)+(99−5)=74+94=168 tracks. Multiply by 0.2 ms/track to get 33.6 ms. Stop measuring once the final request at 5 is served; there is no need to continue to 0.
Some textbooks use “elevator” for LOOK, which reverses at the last pending request, 45, rather than at track 99. That traversal covers (45−25)+(45−5)=20+40=60 tracks, giving 12 ms. The source does not explicitly distinguish these conventions, so both are reported with their policies. Rotation rate and sector count do not enter a seek-time-only answer.