GateAI
Memory Management and Virtual Memory

GATE CSE 2015 Set 1 · Q12

NAT1 markEasy

Time

Consider a system with byte-addressable memory, 32-bit logical addresses, 4 kilobyte page size and page table entries of 4 bytes each. The size of the page table in the system in megabytes is ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 4

Memory Management and Virtual Memory

Given:

  • Logical address space (LAS) size = 232 bytes2^{32}\text{ bytes}

  • Page size = 4 KB=4×210 bytes=212 bytes4\text{ KB} = 4 \times 2^{10}\text{ bytes} = 2^{12}\text{ bytes}

  • Page Table Entry (PTE) size = 4 bytes4\text{ bytes}

  1. The total number of pages in the logical address space is:

    Number of pages=Logical Address SpacePage Size=232212=220\text{Number of pages} = \frac{\text{Logical Address Space}}{\text{Page Size}} = \frac{2^{32}}{2^{12}} = 2^{20}
  2. The size of the single-level page table is given by:

    Page Table Size=Number of pages×PTE size=220×4 bytes=4 MB\text{Page Table Size} = \text{Number of pages} \times \text{PTE size} = 2^{20} \times 4\text{ bytes} = 4\text{ MB}

Therefore, the size of the page table in megabytes is 4.

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 Q12 of the GATE CSE 2015 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. 2 of them are 1-mark NAT questions like this one, and GATE CSE 2015 Set 1 has 2.

How GATE tests Memory Management and Virtual Memory

More from GATE CSE 2015 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 1 · Q12 · NAT

Consider a system with byte-addressable memory, 32-bit logical addresses, 4 kilobyte page size and page table entries of 4 bytes each. The size of the page table in the system in megabytes is …

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.