🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Memory Hierarchy and Cache: all 10 questions

Quiz: Memory Hierarchy and Cache · Question 3 of 10

For a 64 KB, 4-way set-associative cache with 64-byte blocks and 32-bit addresses, how many index bits are there?

For a 64 KB, 4-way set-associative cache with 64-byte blocks and 32-bit addresses, how many index bits are there?

  1. A.10
  2. B.8
  3. C.6
  4. D.0
Answer & explanation

Correct answer: 8

1024 lines / 4 ways = 256 sets → log2(256) = 8 index bits.

Can you get the rest right without peeking?

Take the timed Quiz: Memory Hierarchy and Cache quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →