GATE CS 2024 Set 2 | Question 24
Operating Systems › Memory Management · MSQ · 1 mark · Answer: B, C, D
- Question 24Operating Systemsmsq1 markWhich tasks is/are the responsibility of the MMU in paging-based memory management?
- A.Allocate a new page table for a newly created process
- 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 writing to a read-only page✓
Answer: B, C, D
Solution
Answer: (B), (C) and (D) The MMU (hardware) translates virtual->physical addresses using the page table (B), and raises faults/traps on invalid translations (page fault) (C) and on permission violations like writing a read-only page (D). Allocating a new page table (A) is done by the OS, not the MMU. - A.
More GATE PYQ on Memory Management
All GATE CS Operating Systems PYQ →Attempt GATE CS 2024 Set 2 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →