CS FundamentalsEasyGATE CS (PYQ pattern)

The head is at cylinder 100 with pending requests 55, 58, 39, 18, 90, 160, 150, 38 and 184 (cylinders 0 to 199; no new requests arrive). Under SSTF, with ties broken towards the lower cylinder, which position (1 = first) in the service order does cylinder 160 occupy?

  1. A. 9
  2. B. 7
  3. C. 8
  4. D. 10

Correct answer: C. 8

SSTF service order is [90, 58, 55, 39, 38, 18, 150, 160, 184]; cylinder 160 is the 8th request served.

More Operating Systems questions

Exams that ask this topic