GATE Computer ScienceHardGATE CS (PYQ pattern)
A machine has 48-bit virtual addresses, 4 KB pages and 16 GB of RAM (1 GB = 2³⁰ B). Its inverted page table has one entry per frame holding the virtual page number, a 16-bit process id and 12 control bits, rounded up to whole bytes; a hash anchor table adds one 4-byte entry per frame. What is the total size of these two tables, and how large would a flat one-level page table with 8-byte entries be for a single process?
- A. 32 MB versus 512 GB
- B. 48 MB versus 256 GB
- C. 40 MB versus 512 GB
- D. 48 MB versus 512 GB
Correct answer: D. 48 MB versus 512 GB
Frames = 16 GB / 4 KB = 2²² = 4M. IPT entry = 36 (VPN) + 16 + 12 = 64 bits = 8 B → 32 MB; anchor table 4M × 4 B = 16 MB; total 48 MB. A flat table has 2³⁶ entries × 8 B = 512 GB. Forgetting the anchor table gives 32 MB; 4-byte flat entries give 256 GB.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Booth's algorithm multiplies M = 0110 (+6) by Q = 1011 (−5) with a 4-bit accumulator A (initially 0000) and a bit Q₋₁ (initially 0). Each…
- Machine X runs a program of 5×10⁹ instructions at 2400 MIPS. Machine Y, with a different ISA and compiler, needs only 3×10⁹ instructions…
- Which of the following statements about virtual memory hardware are correct? I. A TLB caches recently used page-table entries. II. A page…
- Design X runs at 2.0 GHz and, with no branch prediction, charges 2 cycles for each taken branch. Design Y runs at 1.8 GHz and charges 0…
- An 8-bit value is stored with an even-parity Hamming code in 12 positions 1..12 (check bits at positions 1, 2, 4, 8). The word read back…
- A microprogrammed control unit has 2048 microinstructions of 100 bits each, but only 300 of them are distinct. Using a two-level…