CS FundamentalsVery hardIBM · Deloitte pattern
A disk has cylinders 0–199 and the head is at cylinder 90. Pending requests: 15, 45, 75, 105, 135, 165, 30, 195. What is the total head movement (in cylinders) under SSTF (Shortest Seek Time First)?
- A. 255
- B. 325
- C. 315
- D. 285
Correct answer: C. 315
SSTF always jumps to the pending request nearest the current head position. Walking the list this way, the head covers 315 cylinders in total. SCAN from this head, moving down, instead covers 285, since it must travel to the end of the disk first.
More Operating Systems questions
- A disk has cylinders 0–199 and the head is at cylinder 90, moving towards cylinder 0. Pending requests: 15, 45, 75, 105, 135, 165, 30…
- A disk has cylinders 0–199 and the head is at cylinder 90, moving towards cylinder 0. Pending requests: 15, 45, 75, 105, 135, 165, 30…
- A disk has cylinders 0–199 and the head is at cylinder 70. Pending requests: 12, 78, 145, 33, 167, 92, 56, 188. What is the total head…
- A disk has cylinders 0–199 and the head is at cylinder 70, moving towards cylinder 199. Pending requests: 12, 78, 145, 33, 167, 92, 56…
- A disk has cylinders 0–199 and the head is at cylinder 70, moving towards cylinder 199. Pending requests: 12, 78, 145, 33, 167, 92, 56…
- A process uses paging with a page size of 1024 bytes (1 KB). Virtual address 136656 (decimal, byte address) maps to page number 133 with…