← 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?
- A.10
- B.8
- C.6
- 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 →