Divide and conquer
With the cards in order, children find a number in just a few guesses by always checking the middle.
Steps
- Lay out sorted cards face down. Say they run from small to large.
- Ask the class to find 52 using as few turned cards as possible.
- Turn over the middle card. If it is too big, throw away the right half. If too small, throw away the left half.
- Look at the middle of what is left and repeat until you find 52.
- Count the guesses with the class. Try other targets.
- Compare with the unsorted search. What changed?
Talk about it
- How many guesses at most for 15 cards?
- What if we doubled the cards?
- What if the number is not there?
CC BY-SA 4.0
Adapted from CS Unplugged by the University of Canterbury Computer Science Education Research Group (CS Unplugged), licensed CC BY-SA 4.0.
Original lesson, with pictures · License: CC BY-SA 4.0
There are no pictures here. The original lesson has the pictures and printables.
Changes made: Simplified, shortened and translated by Open Cosmos with AI
This adapted lesson is shared under the same license (CC BY-SA 4.0).