Module 10: Complex Conditionals
Working with actions that depend upon one or more condition being true
Purpose: Students learn nested conditions and the and/or operators.
Lesson goals: I can...
Activity 1: Color Mixing with the and Operator
Students explore a project that uses conditional statements with one and two conditions that need to be true in order for an action to occur. Students then modify the project to add new conditions.
Activity 2: Color Mixing with Nested Conditional Statements
Students modify the project to use nested conditional statements to determine which conditions need to be checked for.
Students create a project of their choice that asks the user to select two of three options. Each selected pair triggers a unique action. Students will use both nested conditional statements and the and operator in their projects.