A 4-way set-associative cache of 16 KB uses 64-byte blocks and 32-bit addresses. How many tag bits are there?
Show answerHide answer
Correct answer: (C) 20
Explanation
256 blocks / 4 = 64 sets → 6 set bits; offset 6 bits; tag = 32 − 12 = 20.
Correct answer: (C) 20
Explanation
256 blocks / 4 = 64 sets → 6 set bits; offset 6 bits; tag = 32 − 12 = 20.
This is question 104 of DSSSB TGT Computer Science Full Mock Test 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.