Creating a Number Guessing Game in BYOB/Scratch: A Scaffolding Tool For Teaching Binary Searching in AP Computer Science



The goal of this lesson is to use a number guessing game as a scaffolding tool for teaching the concept of binary searching. The game is created in BYOB/Scratch. AP Computer Science teachers may use this lesson to scaffold the search algorithm before implementing the Java code version.

Lesson Time

1 Class Period

Industries / Subjects / Grades

Industries / Pathways
  • Information and Communication Technologies
Grade Levels
  • 10
  • 11
  • 12
  • Post-Secondary
  • Adult

Standards and Objectives


California's 2008 CTE Standards (2)
California Academic Content Standards (1)

Related Instructional Objectives (SWBAT...)

  • Understand the binary search algorithm
  • Understand program interface design as it pertains to user interaction

Get access to the rest of this Lesson and over 3000 more!

Create a Free Account or now!