UGC NET Paper 2 (Computer Science)Hard

A 32 KB direct-mapped cache has 64-byte lines and the address is 32 bits. The number of tag bits is:

  1. A. 15
  2. B. 16
  3. C. 18
  4. D. 17

Correct answer: D. 17

Offset 6 bits, index log2(512) = 9 bits, so the tag is 32 - 15 = 17 bits.

More UGC NET Computer Science and Applications questions

Exams that ask this topic