The GATE Grind

GATE 2025 CS (CS2) – Question 58

Operating System · Memory Management and Virtual Memory · 2 marks · Numerical answer

A computer system supports a logical address space of $2^{32}$ bytes. It uses two-level hierarchical paging with a page size of 4096 bytes. A logical address is divided into a $b$-bit index to the outer page table, an offset within the page of the inner page table, and an offset within the desired page. Each entry of the inner page table uses eight bytes. All the pages in the system have the same size.

The value of $b$ is ___________ . (Answer in integer)

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 11

Explanation

Logical address space $2^{32}$ bytes, page size $4096=2^{12}$ bytes.

More Memory Management and Virtual Memory questions

All Memory Management and Virtual Memory questions →