CS FundamentalsHardAmazon · Microsoft MCQ pattern
Cylinders 0–199, head at 72 moving towards higher cylinders. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Under C-LOOK, counting the jump back as head movement, what is the total head movement?
- A. 290 cylinders
- B. 318 cylinders
- C. 329 cylinders
- D. 373 cylinders
Correct answer: C. 329 cylinders
Service 95, 110, 130, 160, 185 (113 cylinders), jump to 8 (177), then 25, 47 (39). Total = 113 + 177 + 39 = 329. 373 is C-SCAN (going to 199 and 0); 290 is LOOK.
More Operating Systems questions
- In the first readers–writers problem (readers get priority: a reader never waits if the resource is already being read), which problem can…
- When is a spinlock (busy-waiting lock) preferable to a blocking lock?
- Modern fork() implementations use copy-on-write. Which statement is correct?
- Segment table (base, limit): S0 (1400, 600), S1 (6300, 400), S2 (4300, 300), S3 (3200, 1100). What happens for logical addresses (2, 120)…
- Page size is 1 KB. The page table maps page 0 → frame 3, page 1 → frame 7, page 2 → frame 5, page 3 → frame 2. What physical address…
- Which statement about threads of the same process is FALSE?