GATE CSE 2017 Session 1 Q64: TAG bits when a direct-mapped cache (10-bit tag) becomes 16-way set-associative
- Computer Organization and Architecture
- 2 marks
- NAT
- No negative marking
Syllabus topic: Memory interfacing and hierarchy: performance and cache memory mapping
Question
A cache memory unit with capacity of words and block size of words is to be designed. If it is designed as a direct mapped cache, the length of the TAG field is 10 bits. If the cache unit is now designed as a 16-way set-associative cache, the length of the TAG field is ______ bits.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 14 (official GATE 2017 final answer key)
Concept used: Making a cache k-way set-associative divides the number of sets by k, removing bits from the index and adding them to the tag.
First step: 16-way set-associativity divides the number of sets by 16, so the index loses bits; add those to the 10-bit tag.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Memory interfacing and hierarchy: performance and cache memory mapping
Every PYQ on this topic →Share this question
Source: official GATE 2017 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Computer Organization and Architecture PYQs
- 2026 Session 1 · Q14Match addressing modes with high-level data elements
- 2026 Session 1 · Q15Instruction sequence for Z = X + Y on a load-store machine
- 2026 Session 1 · Q16Register dependency that causes a data hazard
- 2026 Session 1 · Q36IEEE 754 single-precision sum of 35C00000 and 34A00000
- 2026 Session 1 · Q38Tag length: direct-mapped vs K-way set-associative cache
- 2026 Session 1 · Q54Impossible TLB / page table / cache event sequences