Overview
Students are introduced to the Boolean (logic) operators NOT, AND, and OR as well as the if-else-if construct as tools for creating compound Boolean conditions in if statements.Vocab
- Boolean - A single value of either TRUE or FALSE
- Boolean Expression - in programming, an expression that evaluates to True or False.
- Conditionals - Statements that only run when certain conditions are true.
- If-Statement - The common programming structure that implements "conditional statements".
- Selection - A generic term for a type of programming statement (usually an if-statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements.
New Code
Resources
-
(Optional) Compound Conditionals - Worksheet (copy as MS Word, Google Doc)