3. Boolean Expressions and If Statements¶
This unit introduces If-statements, which allow you to conditionally execute a block of code depending on whether a Boolean expression is true or false.
- 3.1. Boolean Expressions
- 3.2. If Statements and Control Flow
- 3.3. Two-way Selection: if-else Statements
- 3.4. Multi-Selection: else-if Statements
- 3.5. Compound Boolean Expressions
- 3.6. Equivalent Boolean Expressions (De Morgan’s Laws)
- 3.7. Comparing Objects
- 3.8. Unit 3 - Summary
- 3.9. Mixed Up Code Practice
- 3.10. Coding Practice
- 3.11. Multiple Choice Exercises
- 3.12. Lesson Workspace
You have attempted of activities on this page