Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a cache hit?
Think of what happens when the cache has the data.
Define a cache miss.
What do we do if the data isn’t present in the cache?
What does a cache hit indicate?
Consider what happens when the data is available.
True or False: A cache miss requires fetching data from main memory.
Think about how data retrieval works when not found in cache.
You have a direct-mapped cache with 16 lines and block size of 4 bytes. How does a memory access for an address mapping to cache line 5 proceed?
Examine the binary representation for segmentation into cache index and tag.
Calculate the total size in bits required for a direct-mapped cache system with a block size of 64 bytes, having 256 cache lines.
Think about how many bits you need for each part of the cache structure.
4 more questions in this section. Enroll free to practise them all.
Enroll free