CS FundamentalsHardGATE CS
Disk cylinders 0–199, head at 50 moving TOWARD 0. Requests: 176, 79, 34, 60, 92, 11, 41, 114. What is the total head movement under SCAN and under LOOK?
- A. 337 and 291
- B. 204 and 226
- C. 226 and 204
- D. 226 and 215
Correct answer: C. 226 and 204
SCAN down: 50 → 0 (50) then up to 176 (176) = 226. LOOK reverses at the lowest request 11: (50 − 11) + (176 − 11) = 204.
More Operating Systems questions
- Disk cylinders 0–199, head at 50. Requests: 176, 79, 34, 60, 92, 11, 41, 114. Under SSTF, in what order are the requests served?
- A disk rotates at 10,000 RPM with 600 sectors per track. Seek time = 3 ms average. A request reads 300 sectors that lie on one track…
- A page fault occurs on a store instruction. Which sequence is correct for a demand-paged OS when a free frame exists?
- Which hardware support is essential for demand paging to work with instructions that can fault midway (for example a block-move…
- Which statement about the dirty (modified) bit in a page-table entry is correct?
- In the enhanced second-chance (NRU-style) algorithm using (reference, modify) bit pairs, which class of page is the BEST victim and which…