If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2014 Set 2 · Q44
Time
Select one answerSingle correct
Solution
Official answer: D) Width of processor to main memory data bus
Cache Memory and HierarchyLet:
Cache capacity (in bytes)
Block size (in bytes)
Associativity (-way set associative)
Number of lines
Number of sets
When associativity is doubled to while keeping and unchanged:
Number of sets is halved: The number of set index bits becomes , decreasing by bit. Thus, the width of the set index decoder changes (is affected).
Tag field width: Tag bits = . As set index bits decrease by , tag bits increase by . Hence, the width of the tag comparator increases by bit (is affected).
Way selection multiplexor: Since the number of ways is doubled, the multiplexor needs to select from ways instead of ways, so its size/width is affected.
Processor to main memory data bus width: The width of the system data bus between processor/cache and main memory is determined by the memory architecture and memory interface standards, and is completely independent of internal cache associativity.
Thus, the width of processor to main memory data bus is guaranteed to be NOT affected.
Try the question first, then check your work.
Examiner trap
Recall the relationships between cache capacity, block size, number of sets, tag bits, and associativity. Which component's dimension depends strictly on the system architecture outside the cache organization?
This Cache Memory and Hierarchy previous year question is Q44 of the GATE CSE 2014 Set 2 paper. Find more GATE CSE PYQs on Cache Memory and Hierarchy in Computer Organization and Architecture, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Cache Memory and Hierarchy PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Cache Memory and Hierarchy has 47 GATE CSE PYQs across 23 papers from 2011 to 2026. 16 of them are 2-mark MCQs like this one, and GATE CSE 2014 Set 2 has 4.
How GATE tests Cache Memory and HierarchyIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.