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 about what happens if you look for a book and find it on your shelf.
What does the index in a memory address signify?
It's like looking up a specific drawer in a filing cabinet.
What is the primary function of the tag in a direct mapped cache?
It helps to confirm which data is indeed present in the cache.
True or False: A cache hit occurs when data must be fetched from main memory.
Consider what happens when the required data is already stored.
Calculate the cache output for accessing the memory address 1024 in a cache with 32 lines, where each line holds one block. How does the tag and index relate in this access?
What parts of the memory address correspond to the tag and the index?
Analyze the performance of a cache with a hit rate of 75% and a miss penalty of 50 cycles. Estimate the average access time for memory requests.
Think of how often you find what you need in the cache versus having to go back to the main memory.
4 more questions in this section. Enroll free to practise them all.
Enroll free