Chapter 5: Making Decisions with Conditionals
Learning Objectives
- Understand how common boolean expressions are evaluated
- Use boolean expression to create conditional statements
- Debug simple programs and recognize common errors
- Explain what a boolean value is
- Explain what logical operators are
- Understand truth tables for binary boolean operators
&&
and||
Key Terminology
Here are the key terms for this chapter. On the pages that they appear make note of what they are and their definitions.
Booleans
- data type
- true, false
- type conversion
==
,!=
,<
,>
,<=
,>=
Equality
- equality
==
===
!==
Logical Operators
- operators
&&
||
Conditionals
- conditional
- if
- if-else
- else if
- branching