CS FundamentalsModerateProduct-company MCQ pattern
Cylinders 0–199, head at 72. Requests: 110, 25, 160, 47, 130, 8, 95, 185. What is the total head movement under SSTF?
- A. 264 cylinders
- B. 318 cylinders
- C. 290 cylinders
- D. 329 cylinders
Correct answer: C. 290 cylinders
From 72 the nearest is 95 (23 away; 47 is 25 away), then 110, 130, 160, 185, then back to 47, 25, 8. Movement = (185 − 72) + (185 − 8) = 113 + 177 = 290.
More Operating Systems questions
- Reference string: 3, 1, 4, 3, 2, 1, 5, 3, 4, 1, 2, 5, 4. With 3 frames, initially empty, how many page faults does FIFO produce?
- A paging system with a single-level page table has a TLB lookup time of 10 ns, a memory access time of 80 ns, and a TLB hit ratio of 85%…
- Memory access time is 100 ns and servicing a page fault takes 10 ms. If 1 access in 1,000 causes a page fault, the effective access time…
- Five processes P0–P4 and three resource types A, B, C. Allocation: P0 (1,0,1), P1 (2,1,1), P2 (0,1,2), P3 (1,1,0), P4 (0,0,2). Max: P0…
- Two processes must run statements S1 (in P1) and S2 (in P2) such that S2 never executes before S1. Using one semaphore sync, which is…
- A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries, and every page table must fit exactly in one page. How…