Week 4: Conditionals
Learning Objectives
By the end of this week, students will be able to:
- Write
if,elif, andelsestatements to control program flow - Use boolean expressions to decide which branch of code runs
- Trace a program with multiple conditional paths
- Test edge cases that exercise each branch of a program
Perspectival Reading
Reading: TBD
Reflection Questions
- How do conditional statements let a program respond differently to different situations?
- Why do boundary cases matter when testing conditional logic?
- What makes one conditional chain clearer than another?
Slides
Lab Assignment
Week 4 Lab — GitHub Classroom (link TBD)