Which of the following tasks is/are the responsibility/responsibilities of the memory management unit (MMU) in a system with paging-based memory management?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2024 Set 2 · Q24
Time
Select all that applyOne or more correct
Solution
Official answer: B) Translate a virtual address to a physical address using the page table; C) Raise a trap when a virtual address is not found in the page table; D) Raise a trap when a process tries to write to a page marked with read-only permission in the page table
Memory Management and Virtual MemoryThe Memory Management Unit (MMU) is a hardware component responsible for handling memory access operations requested by the CPU:
Option (A) is incorrect: Allocating and initializing data structures like page tables for newly created processes is a software task performed by the Operating System (kernel), not the MMU hardware.
Option (B) is correct: The primary hardware function of the MMU is runtime address translation—translating virtual (logical) addresses generated by the CPU into physical addresses in main memory using the page table and TLB.
Option (C) is correct: When the valid/present bit for a virtual page in the page table is zero (or the page entry is missing/not present in memory), the MMU raises a page fault trap/exception to invoke the operating system's page fault handler.
Option (D) is correct: The MMU checks access rights on each memory access. If a process attempts to execute an unauthorized operation (such as writing to a read-only page), the MMU raises a protection fault/trap.
Try the question first, then check your work.
Examiner trap
Distinguish between hardware responsibilities (runtime address translation and fault/trap generation) and software/OS responsibilities (page table creation, allocation, and lifecycle management).
This Memory Management and Virtual Memory previous year question is Q24 of the GATE CSE 2024 Set 2 paper. Find more GATE CSE PYQs on Memory Management and Virtual Memory in Operating Systems, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Memory Management and Virtual Memory PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Memory Management and Virtual Memory has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 2 of them are 1-mark MSQs like this one, and GATE CSE 2024 Set 2 has 2.
How GATE tests Memory Management and Virtual MemoryIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.