Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a cache hit?
Think about when memory access is fast.
Define a cache miss.
Consider when data has to be fetched from main memory.
What happens when a requested data is found in the cache?
Think about how memory access speed is impacted.
True or False: A cache miss requires fetching data from main memory.
Reflect on the definition of a cache miss.
If a program accesses the addresses 22, 26, and 18 in a new direct-mapped cache with a total of 4 lines, explain the outcomes of cache hits and misses, and how the address mappings would work.
Think about how addresses can collide in a small cache.
Given a direct-mapped cache with 8 lines, analyze how the tag bits are used during data retrieval. Provide an example.
Examine how bits relate to addressing.
6 more questions in this section. Enroll free to practise them all.
Enroll free