Skip to content
GATEiit

GATE CSE 2023 Q58: Levels of page table for 57-bit virtual addresses

Question

Consider a computer system with 57-bit virtual addressing using multi-level tree-structured page tables with LL levels for virtual to physical address translation. The page size is 4 KB (1 KB = 1024 B) and a page table entry at any of the levels occupies 8 bytes.

The value of LL is _______.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 5 (official GATE 2023 final answer key)

Concept used: Each level of a page table fits in one page and resolves log⁡2(entries per page)\log_2(\text{entries per page}) bits.

First step: Subtract the 12 offset bits, and note that one 4 KB page holds 212/8=292^{12}/8 = 2^9 entries.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2023 CS question paper and final answer key, organised by IIT Kanpur. Question paper · Answer key