Cache Memory

L1, L2, L3 cache, hit/miss, mapping techniques.

Mohith N
Updated: 19 March 2026
9 min read

Cache Memory Quiz

Test your understanding of cache mapping techniques, hit ratio calculations, and cache hierarchy.

Question 1 of 3

Q1.A direct-mapped cache has 128 lines, each line holding 16 bytes. The main memory has a 16-bit address. How many bits are used for the tag, set index, and block offset respectively?