CS FundamentalsHardGATE CS · Product Company SDE
A system has 36-bit virtual addresses, 8 KB pages and 4-byte page-table entries with a single-level page table. What is the size of the page table?
- A. 32 MB
- B. 64 MB
- C. 8 MB
- D. 16 MB
Correct answer: A. 32 MB
Pages = 2^(36−13) = 2^23; table = 2^23 × 4 B = 32 MB. Forgetting the entry size understates it.
More Operating Systems questions
- A TLB lookup takes 20 ns, a memory access 200 ns, and the TLB hit ratio is 80%. With a single-level page table, what is the effective…
- A TLB lookup takes 20 ns, a memory access 120 ns, and the TLB hit ratio is 98%. With a single-level page table, what is the effective…
- Processes (arrival, burst): P1(0, 9), P2(5, 6), P3(1, 9), P4(6, 2). Using Round Robin with quantum 4 (a newly arrived process is queued…
- A process has 3 frames, initially empty, and references pages 6 4 3 6 3 3 6 4 1 5 5 3. How many page faults occur under LRU replacement?
- A process has 4 frames, initially empty, and references pages 3 4 2 6 1 1 5 2 1 4 6 4 6 6. How many page faults occur under LRU replacement?
- 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?