CS FundamentalsHardGATE CS · Product Company SDE
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 page table?
- A. 0.25 GB
- B. 0.5 GB
- C. 1 GB
- D. 2 GB
Correct answer: C. 1 GB
Pages = 2^(40−12) = 2^28; table = 2^28 × 4 B = 1 GB. Forgetting the entry size understates it.
More Operating Systems questions
- 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)…
- Processes (arrival, burst, priority — a smaller number means higher priority): P1 (arrival 0, burst 6, priority 4), P2 (arrival 1, burst…