Activity 01
Card Sort Race: Bubble vs Selection
Provide decks of 10-20 shuffled cards numbered 1-50 to pairs. One partner performs bubble sort by repeatedly swapping adjacent out-of-order cards aloud, while the other times swaps and records. Switch roles, then compare swap counts for small versus large decks to discuss efficiency.
Compare the performance of different sorting algorithms for small and large datasets.
Facilitation TipDuring the Card Sort Race, circulate with a stopwatch to time pairs, then ask them to compare their swap counts rather than just declare a winner.
What to look forProvide students with three small, unsorted lists of numbers (e.g., 5 elements, 10 elements, 20 elements). Ask them to manually trace the steps of bubble sort for the smallest list, counting the number of swaps. For the larger lists, have them predict the approximate number of swaps based on their understanding of worst-case scenarios.