CS FundamentalsVery hardProduct-company MCQ pattern

A disk has cylinders 0–199 and the head is at cylinder 76. Pending requests: 45, 130, 12, 180, 90, 150, 60, 170. What is the total head movement (in cylinders) under SSTF (Shortest Seek Time First)?

  1. A. 260
  2. B. 256
  3. C. 232
  4. D. 270

Correct answer: A. 260

SSTF always jumps to the pending request nearest the current head position. Walking the list this way, the head covers 260 cylinders in total. SCAN from this head, moving down, instead covers 256, since it must travel to the end of the disk first.

More Operating Systems questions

Exams that ask this topic