Skip to main content
Computing with Bit

Find it fast

Ages 7 to 11
Bit the robot says: Race two ways of finding a number. Which one is faster?

Binary search

  1. 12
  2. 24
  3. 311
  4. 416
  5. 518
  6. 631
  7. 732
  8. 843
  9. 951
  10. 1057
  11. 1159
  12. 1262
  13. 1373
  14. 1487
  15. 1591

Look for 59. The whole sorted list is in play.

Step 1 of 5
Linear search checks
11
Binary search checks
4
List number 3

For grown-ups

Ideas for using this game with children
  • Play "guess my number" first, then show that binary search is the same strategy.
  • Search for a number that is not in the list and count the checks each search needs.