Podcast
Questions and Answers
Which technique permits each main memory block to be loaded into any line of the cache?
Which technique permits each main memory block to be loaded into any line of the cache?
- Associative mapping (correct)
- Set-associative mapping
- Direct mapping
- Random mapping
What is the purpose of the mapping function in cache memory?
What is the purpose of the mapping function in cache memory?
- To determine which main memory block currently occupies a cache line (correct)
- To identify the CPU location
- To determine the size of the cache
- To control the cache's speed
What does set-associative mapping aim to achieve?
What does set-associative mapping aim to achieve?
- Reducing the cache size
- Allowing each main memory block to be loaded into only one possible cache line
- Increasing the cache speed
- Allowing each main memory block to be loaded into any line of the cache (correct)
What does the cache control logic interpret a memory address as in the associative mapping technique?
What does the cache control logic interpret a memory address as in the associative mapping technique?
How does direct mapping technique map each block of main memory into the cache?
How does direct mapping technique map each block of main memory into the cache?