A fully associative cache of 16 KB uses 16-byte blocks with 32-bit addresses. How many tag bits are stored with each block?

Correct answer C. 28

Explanation

A fully associative cache has a single set, so there are no index bits. With 16-byte blocks the offset is 4 bits, and the tag is 32 - 4 = 28 bits. The answer 18 assumes a direct-mapped layout with a 10-bit index. Full associativity removes conflict misses but needs a comparator for every line, which is why it is reserved for small structures such as TLBs.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.