🎙 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 4 of 10

How many index bits does a fully associative cache have?

How many index bits does a fully associative cache have?

  1. A.0
  2. B.log2(number of lines)
  3. C.log2(block size)
  4. D.Equal to the tag bits
Answer & explanation

Correct answer: 0

A block can go anywhere, so no index is needed — the whole block number is the tag.

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 →