GATE Computer ScienceHardGATE CS (PYQ pattern)
A system has 44-bit virtual addresses, 4 KB pages and 8-byte page-table entries. Every level of its multi-level page table except the top one fills exactly one page, and the top-level table is only as large as needed. How many levels are there, and how large is the top-level table?
- A. 4 levels; 4 KB
- B. 3 levels; 256 B
- C. 4 levels; 32 B
- D. 4 levels; 256 B
Correct answer: D. 4 levels; 256 B
Offset 12 bits, VPN 32 bits. A full level resolves 9 bits (512 × 8 B = 4 KB), so 3 full levels cover 27 bits and the top level resolves the remaining 5 bits: 2⁵ entries × 8 B = 256 B, 4 levels in all. 32 B forgets the 8-byte entry size.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A classic 5-stage pipeline (IF, ID, EX, MEM, WB) has full forwarding (EX/MEM and MEM/WB to the ALU inputs), so only a load followed…
- A write-through, no-write-allocate data cache sends every store to memory. 10% of instructions are stores and 20% are loads (load miss…
- A zero-address stack machine evaluates the expression (a + b) × (c + d) + (e + f) × (g + h) with every operator commutative, so the…
- A classic 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding and no split-cycle register file: a value written in WB can be read in…
- A memory has 8 low-order interleaved banks (bank = address mod 8). A bank is busy for 6 cycles after starting an access; the processor can…
- An accumulator machine has memory contents M[100]=300, M[104]=7, M[150]=75, M[200]=150, M[300]=500 and registers R1 = 100, R2 = 4…