Activity 01
Sorting Race: Bubble vs Insertion
Provide decks of 20 numbered cards to pairs. Have them perform bubble sort then insertion sort, timing each and counting swaps. Pairs graph results and propose one optimization, testing it against originals.
Evaluate two different algorithms designed to solve the same problem for efficiency.
Facilitation TipDuring Sorting Race, have students time each sort twice with different list sizes so they observe scaling effects firsthand.
What to look forPresent students with two simple algorithms for the same task, like finding the largest number in a list. Ask them to count the number of steps each algorithm takes for a small input (e.g., 5 numbers) and identify which is more time efficient. 'Algorithm A takes X steps, Algorithm B takes Y steps. Which is faster and why?'