Activity 01
Simulation Game: Cache Hit and Miss Cards
Prepare decks of cards labelled as data blocks; assign small groups one as CPU, one as cache, one as main memory. Students request data, simulating hits by pulling from cache piles and misses by fetching from main memory with timed delays. Groups record hit rates and discuss locality after 10 rounds.
Explain how cache memory acts as a bridge between the CPU and main memory.
Facilitation TipDuring the Cache Hit and Miss Cards activity, circulate and ask each group to explain why a miss tripled their fetch time, linking timing strips to cache behavior.
What to look forPresent students with a scenario: 'A CPU repeatedly accesses the same block of data. Which locality principle is most relevant here, and why would this benefit cache performance?' Assess student responses for understanding of temporal locality and its link to cache hits.