32 Qs · since 2011 · 55 marks · 2.2 marks/paperMedium yield
Memory management and virtual memory is a high-yield, computation-heavy topic in GATE CS, frequently carrying 2-mark NAT and MCQ/MSQ questions. The exam heavily emphasizes multi-le… Guide
int D[128][128];
Demand paging is used for allocating memory and each physical page frame holds 512 elements of the array . The Least Recently Used (LRU) page-replacement policy is…Topic guide
Memory management and virtual memory is a high-yield, computation-heavy topic in GATE CS, frequently carrying 2-mark NAT and MCQ/MSQ questions. The exam heavily emphasizes multi-level page table sizing, hierarchical bit-splitting, page replacement algorithm simulation (FIFO, LRU, OPTIMAL, MRU, LIFO), and Effective Memory Access Time (EMAT) calculations involving TLBs and disk transfers. Recent years have introduced variants such as bounded lookahead optimal replacement, code-based loop/array access patterns, and TLB reach sizing.
Multi-Level Hierarchical Paging Bit-Splitting and Sizing
common · NAT · 2 marks · 2025, 2024, 2023, 2021
Given virtual address size, physical address size, page size, and PTE size, determine the number of levels , index bit widths per level, total page table overhead, or min/max memory frames allocated dynamically across levels.
Page Replacement Simulation and Fault Counting
common · NAT · 2 marks · 2025, 2023, 2022, 2016
Simulate page replacement policies (FIFO, LRU, OPTIMAL, MRU, LIFO, or constrained lookahead OPT) on a given reference string or nested loop array access pattern to find total faults, hit ratios, or identify policy from trace tables.
Effective Memory Access Time (EMAT) with TLB and Faults
common · mixed · 2 marks · 2020, 2018, 2014, 2011
Calculate EMAT / EAT given TLB search time, hit ratio, memory access latency, page fault service time, dirty page writeback probabilities, or solve algebraically for the page fault rate.
TLB Hardware Sizing and Reach
occasional · NAT · 2 marks · 2026
Compute the total TLB size in bytes given TLB reach, page size, ASID/PID bits, VPN bits, PFN bits, and control bits.
Conceptual MSQ / Event Sequence Feasibility
occasional · MSQ · 2 marks · 2026, 2024, 2022, 2021
Identify valid/invalid concurrent hardware sequences across TLB, Page Table, and physically tagged Cache, or determine responsibilities of MMU vs OS and properties like Belady's anomaly.
Dynamic Memory Allocation Partitioning
rare · NAT · 2 marks · 2026
Trace process memory requests through free holes using allocation policies (Best-Fit, First-Fit, Worst-Fit) and count remaining holes under size thresholds or find external fragmentation.
Virtual Address to Physical Address Translation
common · NAT · 2 marks · 2024
Given page size, virtual-to-physical frame mapping, and a decimal virtual address, calculate the corresponding physical address in decimal by extracting page number and offset.
Reference String Simulation for Page Fault Calculation
common · NAT · 1 marks · 2014
Given an initially empty set of physical memory page frames (e.g., 3 frames) and a chronological page reference string, the candidate traces memory accesses step-by-step using a replacement policy like LRU to calculate the total number of page faults.
Page Offset and VPN Bits
Used in logical address decomposition and multi-level index splitting.
Page Table Entry Indexing Capacity per Page
Used when determining the number of levels .
Effective Memory Access Time (TLB only)
Used for -level paging with TLB hit ratio , TLB access time , and main memory latency .
Effective Memory Access Time with Demand Paging and Dirty Eviction
Used when incorporating TLB misses, page fault probability , and fault service time .
TLB Reach
Used to find the count of entries in the TLB from reach and page size.
Total TLB Storage Size
Used to calculate full hardware storage requirement of the associative TLB.
Virtual Page Number (VPN)
Used to find which page index a given linear virtual address belongs to.
Page Offset
Used to calculate the displacement within the page/frame.
Physical Address Calculation
Used to construct the final physical memory address after looking up the frame number from the page table.
Page Fault Indicator
Used at each time step for reference to determine if a page fault occurs and increment the total fault counter.
LRU Victim Selection Rule
Used when a page fault occurs and all allocated page frames are full, to select the page unreferenced for the longest time for eviction.
Shift from simple 1-level page table lookups to complex multi-level hierarchy sizing, number of levels , and dynamic inner page allocation bounds (min/max X+Y).
2025, 2024, 2023, 2021, 2016, 2013
Transition of page replacement questions from simple manual string simulations to programmatic loop-based matrix access and modified algorithmic models (e.g. 4-step lookahead OPT).
2025, 2023, 2022
Rise of multi-select questions (MSQ) focusing on MMU hardware vs OS software roles and impossible event combinations across TLB, Page Table, and Cache.
2026, 2024, 2021
Recent papers feature direct numerical answer (NAT) questions assessing the basic mathematical foundations of virtual-to-physical address translation without multi-level page table complications.
2024
Testing focuses on step-by-step trace accuracy presented as a Numerical Answer Type (NAT) question requiring exact integer computation without multiple-choice cues.
2014
Easy questions (1 mark) test single-level page table sizing, basic EMAT formulas, or definition-level properties of Belady's anomaly. Medium questions (2 marks) require detailed simulation of page replacement algorithms (10-15 references), multi-level bit-splitting equations, array traversal analysis, or compound EMAT calculations. Hard questions (2 marks) involve subtle mathematical reasoning about worst/best-case page distribution across multi-level directory trees, trace deductions under non-standard constraints, or multi-component hardware cache-TLB invalidation semantics.