Question
In the context of operating systems, which of the following statements is/are correct with respect to paging?
Official answer and solution
- Official answer
- A and C
- From
- Official GATE 2021 answer key
Solution
Evaluate each statement against standard operating system principles of paging and memory management.
Option A: Paging allocates physical memory in fixed-size blocks called page frames. Any free frame can be allocated to any process, eliminating external fragmentation completely. (Correct)
Option B: Internal fragmentation occurs within the last page of a process allocation because memory is assigned in discrete page increments. The expected internal fragmentation per process is roughly half a page size, so page size directly affects internal fragmentation. (Incorrect)
Option C: Paging requires page tables (and multi-level page tables for large virtual spaces) stored in main memory, which introduces both space overhead for table structures and time overhead for translations. (Correct)
Option D: Multi-level paging is introduced to avoid allocating massive contiguous physical memory for sparse linear page tables. It is not necessary to support multiple page sizes (which is handled by architectures via separate page size flags in translation descriptors or TLB entries). (Incorrect)
Thus, statements A and C are correct.
A, C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology (CS, Set-1)
- Question
- 21 of 65, printed as CS Q.11
- 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.