Overview
**Question of the Day: How can programs react to changes as they are running?**
This lesson introduces students to booleans and conditionals, which allow a program to run differently depending on whether a condition is true. The class starts by playing a short game in which they respond according to whether particular conditions are met. They then move to Code Studio, where they learn how the computer evaluates boolean expressions, and how they can be used to structure a program.
Vocab
- Boolean Expression - in programming, an expression that evaluates to True or False.
- Condition - Something a program checks to see whether it is true before deciding to take an action.
- Conditionals - Statements that only run when certain conditions are true.
New Code
Resources