GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A 48-bit virtual address space uses 4 KB pages and a 4-level page table in which every table is one 4 KB page of 512 eight-byte entries (9 + 9 + 9 + 9 + 12 split). A process uses 6 MB of contiguous memory starting at virtual address 0 and one 4 KB page at 0xFFFFFFFFF000. How many page-table pages exist?
- A. 6
- B. 9
- C. 7
- D. 10
Correct answer: B. 9
6 MB = 1536 pages → 3 leaf tables (512 entries each) under one level-2 table, one level-3 table and the root: 6 pages. The top page has different indices at every level below the root, so it needs its own level-3, level-2 and leaf table: 3 more. Total 9 (36 KB). Forgetting the separate path gives 6; adding only a leaf table gives 7.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A virtually indexed, physically tagged L1 cache is 64 KB, 8-way set-associative with 64-byte blocks, and pages are 4 KB. In how many…
- A 64M × 8 DRAM chip uses multiplexed row/column addressing with a square cell array. How many address pins does the chip need (excluding…
- A 16-bit instruction format has 4-bit address fields and expanding opcodes. 14 three-address instructions, 30 two-address instructions and…
- A cache with 4 ns access backs a 120 ns memory. Find the minimum hit ratio for an average access time of at most 14 ns (a) when memory is…
- A 64-byte, 2-way set-associative cache with 8-byte blocks and LRU replacement is empty. The processor reads these byte addresses in order…
- In IEEE 754 single precision with round-to-nearest-even (every operation rounded to single), which of these are true? I. 0.1f + 0.2f ==…