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 of a process in the system in megabytes is _________.
A. 1
B. 4
C. 8
D. 16
GATE 2015 · Operating System · Virtual Memory · medium
Answer: Page table size = 4 MB. Answer: B.
Calculate number of virtual pages: 32-bit address space / 4 KB page = 2^32 / 2^12 = 2^20 = 1,048,576 pages