CS FundamentalsModerateAccenture · Capgemini pattern
A disk has cylinders 0–199 and the head is at cylinder 72. The request queue, in arrival order, is 110, 25, 160, 47, 130, 8, 95, 185. What is the total head movement under FCFS?
- A. 641 cylinders
- B. 753 cylinders
- C. 290 cylinders
- D. 818 cylinders
Correct answer: B. 753 cylinders
|72−110| + |110−25| + |25−160| + |160−47| + |47−130| + |130−8| + |8−95| + |95−185| = 38 + 85 + 135 + 113 + 83 + 122 + 87 + 90 = 753.
More Operating Systems questions
- A disk spins at 7,200 RPM. What is its average rotational latency?
- Which statement about a page fault is correct?
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using preemptive SJF…
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using Round Robin with…
- Cylinders 0–199, head at 72. Requests: 110, 25, 160, 47, 130, 8, 95, 185. What is the total head movement under SSTF?
- 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?