Skip to content
Mad4Study

Engineering & Science

GATE Computer Science

  • GATE CS
  • 2026–27 pattern practice
  • Operating Systems
  • Virtual memory
  • Medium

A system uses 32-bit virtual addresses, 4 KB pages and a single-level page table with 4-byte entries. What is the size of the page table for one process?

Memory Management

Pick an option to check your answer.

A 4 KB page uses a 12-bit offset, leaving 32−12=2032 - 12 = 20 bits for the page number, so the table has 2202^{20} entries. At 4 bytes each, the table occupies 220×4=2222^{20} \times 4 = 2^{22} bytes =4= 4 MB.

Why not the others

  • 1 MB counts the entries (2202^{20}) but forgets that each takes 4 bytes.
  • 4 KB is the page size, not the table size.
  • 16 MB would need 16-byte entries or 2222^{22} entries.

Report an error

GATE CS · Operating Systems · Memory Management