Question
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?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2025 answer key
Solution
Divide the logical address space size by the page size to find the number of virtual pages.
- Logical address length bits Logical address space size bytes.
- Page size bytes.
- Maximum number of entries in a conventional page table equals the total number of virtual pages in the logical address space:
Option (A)
Using the 20-bit physical address or assuming a 4 KB () page size instead of 2048 bytes ().
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 14 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.