Activity 01
Simulation Game: Limited Memory Sorting
Give each group exactly five index cards to use as working memory. They must sort a list of 20 items using only those five slots, returning items to the original list when slots are full. Groups discover which sorting strategies work under this constraint and which require more memory than available.
Explain how computational resources impact the feasibility of an algorithm.
Facilitation TipFor the Limited Memory Sorting simulation, circulate with a stopwatch to enforce time limits and visibly track memory usage on a shared screen.
What to look forPresent students with two algorithms for the same task (e.g., searching a list). Ask them to identify which algorithm likely has better time complexity and which might use more memory, explaining their reasoning based on the algorithm's steps.