Coding Logic: If-This-Then-That

Created
Sep 12, 2025
Updated
Feb 5, 2026
4.0(2)

An unplugged-to-screen intro to conditionals using friendly block puzzles.

Computational thinkingHistorical thinkingProgramming

Lesson plan

4 phases, 20 min
Goal

Students can describe an everyday routine as if-then rules and predict what a given rule will do.

1
Story: if/then
Read a short story and act out "if it rains, then we use umbrellas".
5 min
class
Story cards
2
Unplugged game
Play a movement game following if/then command cards.
7 min
class
Command cards
3
Screen blocks
Students solve two block puzzles using a single if-block.
6 min
single
Practice worksheet
4
Reflect
Thumbs up/down: did the rule always work?
2 min
class
Exit ticket
Interactive materials open in a read-only preview before purchase.
Get the full interactive lesson
Unlock the complete interactive version — every slide, activity, and check — ready to assign and teach with your class.
Full editable plan & materials
Teach on Edumix or export it
Assign to your class
One-time purchase · use it immediately
Included with Standard — plus thousands more
30-day protection · Share license included

Ratings & comments

5 responses from the Edumix community
4.0
2 ratings
Sign in to rate this lesson and join the discussion.
  • Dana Whitfield2 days ago

    Solid lesson. A couple of the materials were hard to source on short notice, but everything else was excellent.

    25
  • Hanna Virtanenlast month

    Would this work a year group down with more scaffolding, or is the reading level too high?

    23
  • Yusuf Demir2 weeks ago

    Students who normally disengage were arguing about the data by minute ten. I will take that.

    3
    • Grace Okoye5 weeks ago

      That is a fair point about the sourcing — I have listed two substitutes in the materials now.

      18
      • Kwame Boateng3 weeks ago

        The extension is optional in the plan, but I mark it for the students who choose it.

        20
Edumix may not work as intended with screen space this limited.