CS FundamentalsHardGATE CS
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. 11, 34, 41, 60, 79, 92, 114, 176
- B. 41, 60, 79, 92, 114, 176, 34, 11
- C. 60, 79, 92, 114, 176, 41, 34, 11
- D. 41, 34, 11, 60, 79, 92, 114, 176
Correct answer: D. 41, 34, 11, 60, 79, 92, 114, 176
From 50, 41 (distance 9) beats 60 (10); from 41, 34 (7); from 34, 11 (23) beats 60 (26); then 60, 79, 92, 114, 176. Total movement 204.
More Operating Systems questions
- 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…
- Assertion (A): Local page replacement can reduce thrashing caused by one misbehaving process affecting others. Reason (R): With local…