Grade 2 Computing
Sorting and comparisons
Use a compare-and-swap rule to place a pair of values.
Sources
Adapted from CS Unplugged – Reinforcing numeracy through a Sorting Network · Sorting-network lesson for ages 5 to 7, with new values and compare-and-swap tables · Computer Science Education Research Group, University of Canterbury · CC BY-SA 4.0
Track three values as pairs enter successive sorting gates.
Sources
Adapted from CS Unplugged – Reinforcing numeracy through a Sorting Network · Sorting-network lesson for ages 5 to 7, with new values and compare-and-swap tables · Computer Science Education Research Group, University of Canterbury · CC BY-SA 4.0
Search one card at a time
Follow a search order and count the checks up to and including the target.
Sources
Adapted from CS Unplugged – How many guesses? · Unsorted searching cards; search order and target changed · Computer Science Education Research Group, University of Canterbury · CC BY-SA 4.0