GateAI
Memory Management and Virtual Memory

GATE CSE 2025 Set 1 · Q14

MCQ1 markEasy

Time

Consider a demand paging memory management system with 32-bit logical address, 20-bit physical address, and page size of 2048 bytes. Assuming that the memory is byte addressable, what is the maximum number of entries in the page table?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) 221

Memory Management and Virtual Memory

To find the maximum number of entries in the page table:

  1. Given Data:

    • Logical Address Space (LAS) size =232= 2^{32} bytes (since logical address is 32 bits and memory is byte-addressable).

    • Page size =2048 bytes=211 bytes= 2048\text{ bytes} = 2^{11}\text{ bytes}.

    • Therefore, the page offset (dd) requires 1111 bits.

  2. Number of Pages:

    • The number of bits for the page number (pp) is:

      p=Logical Address Bits−Page Offset Bits=32−11=21 bitsp = \text{Logical Address Bits} - \text{Page Offset Bits} = 32 - 11 = 21\text{ bits}
    • The maximum number of pages in the logical address space is:

      Number of Pages=232 bytes211 bytes=221\text{Number of Pages} = \frac{2^{32}\text{ bytes}}{2^{11}\text{ bytes}} = 2^{21}
  3. Page Table Entries:

    • Each page has a corresponding entry in the page table.

    • Therefore, the maximum number of entries in the page table is 2212^{21}.

Thus, (A) is the correct option.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Memory Management and Virtual Memory previous year question is Q14 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Memory Management and Virtual Memory in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Memory Management and Virtual Memory PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Memory Management and Virtual Memory in GATE CSE

Memory Management and Virtual Memory has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 5 of them are 1-mark MCQs like this one, and GATE CSE 2025 Set 1 has 2.

How GATE tests Memory Management and Virtual Memory

More from GATE CSE 2025 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 1 · Q14 · MCQ

Consider a demand paging memory management system with 32-bit logical address, 20-bit physical address, and page size of 2048 bytes. Assuming that the memory is byte addressable, what is the maximum number of entries in the page table?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.