Unit 6 · Lesson 3
Build the idea
Start with the concept and its key vocabulary.
Nested selection makes one decision only after another has succeeded. A combined Boolean expression can sometimes express the same rule more compactly, but its grouping must be clear. Brackets are evaluated first, then NOT, then AND, then OR. Add brackets whenever the intended grouping could be misunderstood.
A selection statement placed inside another selection statement.
The first condition that controls whether an inner selection is reached.
A condition evaluated only after its enclosing branch is entered.
The order in which operators in a combined expression are evaluated.