Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Write if / elif / else.
- ✓See conditions checked top to bottom.
- ✓Know only the first true branch runs.
- ✓Build a decision program.
How does a program choose between several paths?
Order the Grade-Checker
Project this and have students put the if / elif / else branches in the order Python checks them.
55 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Hook — Which Path?
How could a program turn a score into a letter grade?
👩🏫 Teacher Moves
- Show a score and ask the grade.
- Ask how to choose.
- Set the goal.
🎒 Student Actions
- Think.
- Guess.
- Get ready.
Use — Conditionals
Students use conditionals.
👩🏫 Teacher Moves
- Send students to Order the Grade-Checker.
- Order the branches.
- Note top-to-bottom, first-true-wins.
🎒 Student Actions
- Order.
- Say.
- Note it.
Modify — Reorder & Test
Students modify.
👩🏫 Teacher Moves
- Swap two branch thresholds.
- Predict a new result.
- Test with a score.
🎒 Student Actions
- Swap.
- Predict.
- Test.
Create — Build a Brancher
Students create.
👩🏫 Teacher Moves
- Write an if/elif/else (e.g. ticket price by age).
- Add an else for all other cases.
- Test 3 inputs.
🎒 Student Actions
- Write.
- Add.
- Test.
Reflect — Reflect
Students close.
👩🏫 Teacher Moves
- Say the order conditions are checked.
- Say which branch runs.
- Complete the exit ticket.
🎒 Student Actions
- Say it.
- Say.
- Complete the exit ticket.
Built to the standards you report on
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Iteratively develop programs using conditionals.
Combine control structures to express ideas in code.
Evaluate and refine computational artifacts.
Use logic to build solutions.
One lesson, every learner
Multilingual Learners
- Flowchart the branches.
- Frame: if-then-otherwise.
- Trace with sample scores.
Support & Access
- Use if/else only (2 paths).
- One threshold to start.
- Use a number line.
Stretch & Extend
- Add nested conditionals.
- Use AND/OR in a condition.
- Handle edge cases.
What to gather
- 📽️Screen / board
- 🔀Branch cards
- 💻Order the Grade-Checker
- 🐍Python / editor
- 📓Notebooks
- 🎫Exit-ticket slips
Key terms — hover for a quick definition
Exit Ticket
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Reflect: conditionals.
Have students write a 3-branch if/elif/else for a real decision. A printable conditionals worksheet is in the Computer Science library.
Study the key terms
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
Nice work!
Check your understanding
A quick self-check with instant feedback, drawn from this lesson’s key terms.
Nice work!
Printable worksheet
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.
Part A · Write the word that matches each meaning
- runs a block when its test is true
- else-if: checked only if earlier tests fail
- code that chooses a path
- a test that is true or false
- to work out true or false
- runs when no earlier test was true
- one possible path through the code
- the order Python checks conditions
Part B · Show what you learned
- In what order does Python check if/elif/else?
- Which branch runs?
- What does "else" do?
Part B: 1) Top to bottom. 2) The first one whose condition is true. 3) Runs when no earlier condition was true.