Question
Consider a system with byte-addressable memory, 32-bit logical addresses, page size and page table entries of each. The size of the page table in the system in megabytes is _____.
Official answer and solution
- Official answer
- 4
- From
- Official GATE 2015 answer key
Solution
Calculate the number of virtual pages and multiply by the page table entry size to determine total page table size.
Given parameters:
- Logical address space: .
- Page size: .
- Page Table Entry (PTE) size: .
- Number of pages in the logical address space:
- Total size of the single-level page table:
Since :
In megabytes, the answer is .
4
Dividing physical memory size instead of logical address space to calculate the number of page table entries.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 1
- Question
- 22 of 65, printed as CS Q.12
- 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.