6 topics · 109 Qs · 7.1 marks/paper · since 2011
Memory hierarchy and cache mapping is one of the highest-yield, most quantitative topics in GATE Computer Science, regularly tested through 2-mark NAT and MSQ questions. Instructio… Guide
Open a topic to browse, or practice it timed.
Jump to the first question from that paper.
Subject guide
Memory hierarchy and cache mapping is one of the highest-yield, most quantitative topics in GATE Computer Science, regularly tested through 2-mark NAT and MSQ questions. Instruction pipelining and pipeline hazards are tested extensively with a heavy numerical skew (primarily 2-mark NATs). Instruction set and addressing modes in GATE CS is consistently tested through instruction word encoding, expanding opcode schemes, addressing mode semantics, and ISA architectural principles.
Cache Line Count
Determining total cache lines before calculating index bits or set counts.
Number of Sets in $k$-Way Set Associative Cache
Determining set index bits in set-associative cache mappings.
Address Field Partitioning
Calculating tag size or verifying total physical address width.
Tag Invariance with Block Size
Solving for tag width when block size is unknown or variable.
Total Tag Memory Overhead
Calculating the total hardware memory needed to store cache tags and status bits.
Hierarchical Two-Level AMAT
Calculating average access time when miss penalties are resolved hierarchically level-by-level.
CPI with Split Memory Stalls
Calculating processor stall overhead for separate instruction and data caches.
Hard Disk Capacity
Solving for disk geometry parameters from total formatted capacity.
Cache Address Field Decomposition and Tag Sizing
common · NAT · 2 marks · 2026, 2025, 2023, 2021
Given physical address size, cache capacity, block size, and associativity (or variations where one parameter is unknown or parameterized by variables), calculate the width of Tag, Set Index, or Offset bits, or total tag memory required.
Multi-Level Cache AMAT and CPI Stall Analysis
common · NAT · 2 marks · 2025, 2024, 2022, 2017
Given L1/L2 access times, local/global hit rates, and main memory miss penalties (often separated into I-cache and D-cache or read/write distributions), calculate AMAT, effective CPI, or minimum required hit rate after optimization.
Address Trace Simulation and Cache Conflict/Hit Analysis
common · MSQ · 2 marks · 2026, 2022, 2017, 2014
Given a sequence of hex addresses or block numbers accessed in a loop over a specific cache organization, trace compulsory vs conflict misses, hit/miss outcomes for specific references, and final cache contents.
Write Policy Conceptual Analysis
occasional · MSQ · 2 marks · 2024, 2022
Evaluate architectural assertions regarding Write-Back vs. Write-Through policies, dirty bit necessity, eviction penalties on read/write misses, and memory bus traffic.
Memory Interleaving and Secondary Storage Geometry
occasional · NAT · 2 marks · 2024, 2016, 2014
Calculate throughput/initiation rates in multi-module interleaved memory systems or solve for disk geometry parameters (cylinders, surfaces, sectors) from capacity constraints.
Cache Address Breakdown and Tag Directory Size Calculation
common · MCQ · 2 marks · 2012
Given physical address size, cache capacity, associativity, and block size, calculate the number of tag bits and the total size in bits/Kbits of the tag directory (including status bits like valid, modified/dirty, replacement bits).