Activity 01
Simulation Game: The Greedy Coin Game
Give student groups two different coin systems: one where the greedy algorithm works (US coins: 25, 10, 5, 1) and one where it fails (coins: 4, 3, 1, making change for 6). Students must make change using the greedy rule of always picking the largest coin that fits, then verify whether they achieved the minimum number of coins. Groups compare results and discuss why one system succeeded and the other did not.
Analyze the conditions under which a greedy algorithm guarantees an optimal solution.
Facilitation TipDuring The Greedy Coin Game, circulate and ask each pair to explain their algorithm to you before they test it on a new coin system.
What to look forPresent students with a modified coin system (e.g., denominations 1, 3, 4) and ask them to find the minimum number of coins to make 6. Then, ask them to explain why the greedy approach (always picking the largest coin first) fails for this specific system.