47 Qs · since 2011 · 82 marks · 3.3 marks/paperHigh yield
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. GATE focus… Guide
Topic 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. GATE focuses heavily on bit-level address field decomposition (Tag, Set/Line Index, Block Offset) across direct, set-associative, and fully-associative caches, as well as multi-level hierarchical Average Memory Access Time (AMAT) calculations. Recent years have increased the emphasis on multi-select questions (MSQs) tracing reference sequences for eviction behavior and comparing write-back versus write-through policies.
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).
Algebraic Block-to-Line/Set Mapping Formulation
occasional · MCQ · 1 marks · 2013
Formulating the exact cache line index range or set index algebraically for a memory block in a -way set associative cache with sets where lines are ordered consecutively.
Cache Write and Allocation Policy Analysis
occasional · MCQ · 2 marks · 2021
Multi-statement verification evaluating properties of write-through vs. write-back policies (dirty line handling, writebacks on read/write misses) and their pairings with write-allocate vs. no-write-allocate policies in single/multilevel caches.
Hexadecimal Address Mapping and Set/Line Index Extraction
common · MCQ · 2 marks · 2020, 2015
Given physical memory size, cache parameters (cache size, associativity, block size), and one or more hexadecimal addresses, determine field bit-widths (Tag, Index, Offset) and identify which set/line the addresses map to or extract their exact hexadecimal Tag and Index values.
Cache Controller Metadata and Tag Directory Size Calculation
occasional · MCQ · 2 marks · 2011
Given cache capacity, block size, address length, and mapping scheme along with status bits (valid bit, dirty/modified bit for write-back), determine the total storage required for metadata (tag directory size).
Decoder-Based Chip Select and Address Mapping
rare · MCQ · 2 marks · 2023
A system memory of size is built using smaller memory blocks selected by a decoder driven by a subset of system address lines. Candidates determine the starting/ending addresses or address range of specific memory chips based on which bit positions drive the decoder versus the chip internal address lines.
Memory Chip Expansion and Decoder Tree Design
occasional · MCQ · 2 marks · 2013
Constructing a target memory capacity and word length using smaller RAM/ROM chips, determining row/column organization, and calculating the exact number of smaller decoders (with enable lines) required to form the address decoding tree.
DRAM Refresh Overhead and Bandwidth Availability
occasional · NAT · 1 marks · 2018
Given the number of memory cell rows in a DRAM chip, time per row refresh operation, and refresh period, calculating the total refresh time overhead and the remaining percentage of time available for read/write operations.
Memory & Register Interfacing Logic Identification
occasional · MCQ · 2 marks · 2022
Determining the required addressing components (e.g., decoders) and data path routing units (e.g., multiplexers) for interfacing distinct memory segments and register files given word sizes and instruction/code word layouts.
Hierarchical Average Memory Access Time (AMAT)
occasional · NAT · 2 marks · 2025
Computing the overall AMAT across a multi-level hierarchy (L1 cache, L2 cache, Main Memory) given access times, hit rates, or miss penalties at each level in simultaneous or hierarchical access configurations.
Instruction Mix and Clock Cycle Time Calculation
common · NAT · 2 marks · 2025
Given an instruction breakdown by category with respective CPIs/cycle counts and total execution time, compute the total clock cycles and solve for the clock cycle duration (in ns) or clock frequency (in MHz/GHz).
Cache Address Field Division
common · MCQ · 1 marks · 2019
Given cache parameters (cache size, block size, associativity) and main memory address width, compute the number of bits allocated to Tag, Set/Index, and Word/Byte offset fields.
Chip Select Address Decoding
common · MCQ · 1 marks · 2019
Given a logic gate circuit (e.g., AND/NAND with inverted inputs) driving the Chip Select (CS) line using higher-order address lines, determine the enabled memory address range in hexadecimal.
Comparative CPU Performance & Execution Time Ratio
common · NAT · 2 marks · 2014
Two processors executing the same instruction set/program with relative differences in execution time and CPI are compared to compute an unknown processor metric (such as clock frequency or cycle time).
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.
Block Offset Bits
Determining word/byte offset bits within a cache block from block capacity.
Number of Sets and Set Index Bits
Finding set index width in a -way set associative cache.
Tag Bits Calculation
Finding address tag width in set-associative cache memory.
Tag Directory Entry and Total Directory Size
Computing total storage overhead of the tag array.
Set-Associative Line Index Range for Block $j$
Mapping main memory block to linear cache line indices in a -way set associative cache with sets.
Block Offset Bit-Width
Determining word/byte offset within a cache block for byte-addressable memories.
Number of Lines / Sets
Calculating number of index lines/sets for a -way set-associative cache ( for direct-mapped).
Tag Bit-Width
Determining the number of bits allocated to the tag field.
Total Metadata Size
Calculating the total storage overhead at the cache controller for write-back or write-through caches.
Address Value from Bit Positions
Used to compute the physical decimal/hex starting address when specific address bits are fixed by decoder selection lines and the internal chip address lines are set to zero.
Total Memory Chips Required
Determining the total number of basic RAM/ROM chips needed to build a target memory matrix (2013).
Decoder Tree Hierarchy Count
Used when a single first-level decoder enables second-level decoders to produce select lines (2013).
DRAM Refresh Overhead Time
Calculating the total time occupied by refreshing all memory rows within one refresh cycle period (2018).
Available Time Percentage for Memory R/W
Finding the percentage of operating time remaining for processor memory access after subtracting refresh overhead (2018).
Address Bits for $N$-Word Memory
Determining the decoder size () needed to uniquely address memory words or registers (2022).
Hierarchical AMAT (2-Level Cache + Main Memory)
Computing average memory access time when lower-level access times already subsume miss detection penalties from upper levels (2025).
Total Clock Cycles
Used to find total clock cycles when instruction count and CPI for each instruction type are given.
CPU Execution Time
Used to solve for clock period or frequency given overall runtime.
Block Offset Calculation
Determining the number of bits required to address a specific byte within a cache line.
Cache Index / Set Bits
Used in direct mapped and set-associative caches. For fully associative cache, Number of Sets = 1, so Index bits = 0.
Tag Bit Allocation
Finding the remaining bits in the memory address used for tag comparison.
Processor Time Ratio
Used when comparing execution time differences between two machines executing the same workload.
Shift from straightforward 1-mark address splitting MCQs to multi-variable parameterized equations and MSQ-based address sequence tracing.
2026, 2025, 2024, 2023, 2022, 2021
Increased focus on non-trivial boundary analysis, such as inferring maximum cache size or indexing bounds directly from hex bit patterns.
2026
Consistent dominance of NAT and MSQ formats over standard 4-option MCQs for memory organization questions.
2026, 2025, 2024, 2022, 2021
Shift from linked numerical calculation questions (tag bit widths and directory overhead) to formal algebraic mapping properties and multi-statement conceptual evaluations of multi-level cache write hierarchies.
2021, 2013, 2012
Focus transitioned from direct-mapped total tag directory size calculations to set-associative multi-address bitwise extraction requiring hex-to-binary bit shifting.
2020, 2015, 2011
Memory interfacing appeared in recent years (2023) focusing on non-contiguous or intermediate address line selection (e.g., IA4 and IA3) driving the decoder rather than the traditional MSBs, testing deep binary address decoding rather than rote memorization.
2023
Shift from purely discrete combinational memory expansion design (2013) to numerical performance analysis involving DRAM refresh cycles (2018) and multi-level cache AMAT (2025).
2025, 2018, 2013
Adoption of block diagrams and system architectural figures to test component identification and data flow across registers/memory (2022, 2025).
2025, 2022
Even split between 2-mark conceptual MCQs and precise numerical NAT questions with tight tolerances.
2025, 2022, 2018
Recent examinations focus on exact numerical computation (NAT format) involving execution time, instruction mix tables, and unit conversions (seconds to nanoseconds).
2025
In 2019, questions tested both architectural mapping rules (fully associative cache bit allocations) and hardware interfacing logic (chip-select logic gates) at the 1-mark level.
2019
Questions on CPU performance use numerical percentage variations in execution time and CPI to evaluate exact clock frequencies via NAT format.
2014
Easy questions require direct formula application for field splitting (Tag/Index/Offset) or 1-level AMAT. Medium questions involve 2-level caches with separate I/D caches, quadratic AMAT equations, or tracing short 4-word address sequences across iterations. Hard questions involve reverse-engineering bit fields from hex addresses and block constraints (e.g., 2026 S2), virtual indexing aliasing with page coloring (e.g., 2013), or algebraic parameterizations of associativity changes.