Unit 3: Boolean Expressions and if Statements

Programming Challenges:

In this unit, students complete programming challenges that build toward the Enduring Understandings of CON-1: The way variables and operators are sequenced and combined in an expression determines the computed result and CON-2: Programmers incorporate iteration and selection into code as a way of providing instructions for the computer to process each of the many possible input values. The challenges include:

  • Prime Numbers

  • Magic B-Ball

  • 20 Questions

  • Adventure Game

  • Truth Tables

  • Tracing Code

The programming challenges are opportunities for students to represent and use expressions with variables and operators along with selection (e.g. if/else control structures) to create programs that accomplish intended tasks. Learning Objectives: CON-1.E - CON.1.H and CON-2.A - CON-2.B.