CS FundamentalsHardGATE CS · Product Company SDE
A disk (tracks 0–199) has the head at 91 and pending requests [70, 142, 159, 58, 140, 42]. What is the total head movement under FCFS?
- A. 313
- B. 391
- C. 384
- D. 166
Correct answer: B. 391
FCFS 391; SSTF 166; SCAN 250 (91→0 then up to 159). Requested policy → 391.
More Operating Systems questions
- A system has 40-bit virtual addresses, 4 KB pages and 4-byte page-table entries with a single-level page table. What is the size of the…
- A TLB lookup takes 10 ns, a memory access 200 ns, and the TLB hit ratio is 98%. With a single-level page table, what is the effective…
- A process has 4 frames, initially empty, and references pages 2 6 2 4 1 2 2 1 4 1 2 4 3 1 2. How many page faults occur under OPT…
- A disk (tracks 0–199) has the head at 111 and pending requests [34, 176, 127, 129, 120, 171, 96, 8]. What is the total head movement under…
- Processes (arrival, burst) in ms: P1 (arrival 0, burst 6), P2 (arrival 1, burst 8), P3 (arrival 2, burst 7), P4 (arrival 3, burst 3). They…
- Processes (arrival, burst) in ms: P1 (arrival 0, burst 6), P2 (arrival 1, burst 8), P3 (arrival 2, burst 7), P4 (arrival 3, burst 3)…