Seventh graders learn conditionals — if/else statements that let a program make decisions. Code inside an "if" runs only when its condition is true; "else" handles the rest. They check the ideas, then write a conditional.
Students will be able to…
How does a program decide what to do?
Project each one and have students answer about conditionals.
Tap any phase to open the teacher moves and student actions.
How does a game know if you won or lost?
Students learn.
Students practice.
Students apply.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Use conditionals to control program flow.
Create variables for conditions.
Test and debug conditionals.
Reason about decisions in code.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students write a program using if and else. A printable conditionals sheet is in the CS library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.