Question 104

A 4-way set-associative cache of 16 KB uses 64-byte blocks and 32-bit addresses. How many tag bits are there?

  1. A18
  2. B26
  3. C20
  4. D22
Show answerHide answer

Correct answer: (C) 20

Explanation

256 blocks / 4 = 64 sets → 6 set bits; offset 6 bits; tag = 32 − 12 = 20.

From DSSSB TGT Computer Science Full Mock Test 3

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.