Beep! Tap the happy computer!
Build with steps

What if code snapped like blocks?

# Block coding thinking In **Scratch** (and similar tools) you snap colourful blocks: - **Motion** — move, turn - **Looks** — say hello, change costume - **Events** — when green flag clicked - **Control** — repeat, if - **Sensing** — touching colour? key pressed? The idea is identical to Python later. Blocks just refuse to snap if the grammar is impossible — kinder for beginners. ## Mini project idea When flag clicked → forever → if touching edge → bounce. That is an event, a loop, and a decision. You already know the three big ideas of coding. > Try Scratch or a similar classroom tool. Then the Python words will feel familiar. ## Same five ideas, plastic costume | Idea | Blocks (Scratch-like) | Python later | | --- | --- | --- | | Start | when green flag | running the file | | Output | say / play sound | print() | | Variable | set score to 0 | score = 0 | | Decision | if touching edge | if … : | | Loop | repeat 10 | for / while | ### Why schools start here You can see the sequence. You can drag a block back. You spend energy on *thinking*, not on missing brackets. When you move to Python, keep asking: which of the five ideas is this line?

By the end of this lesson

Describe a short Scratch-style script as sequence + event, and map each block idea to a later Python idea.

Remember

  • Block coding snaps instructions like Lego so spelling cannot break the line.
  • A script is still sequence: top to bottom (or along the chain).
  • Events start a script: “when green flag clicked”, “when this sprite clicked”.
  • The ideas are the same as Python: sequence, variables, if, loops, input/output.
  • Blocks are a runway, not a toy you must abandon the ideas of.

Worked examples

Cover the answer. Try the steps on paper, then open them.

Example 1 — Read a script

when green flag → move 10 steps → say “hello” for 2 seconds.

  1. Event: green flag
  2. Then move (process / output on stage)
  3. Then say (output)
  4. Order matters: say after move

Answer: event + two sequenced blocks

Check: Swap the last two and the actor talks then walks.

Example 2 — Map to Python

say “hello” ≈ print("hello") and repeat 5 ≈ for i in range(5).

  1. Output idea is the same
  2. Loop idea is the same
  3. Spelling changes, thinking does not

Answer: same ideas

Check: That is why this lesson exists before Python.

Example 3 — A broken snap

A block hanging unconnected beside the script.

  1. It will not run
  2. The chain is the sequence
  3. Snap it under the event or delete it

Answer: unconnected = dead code

Check: Same as a Python line you never call.

Common mistakes

Slip Thinking block coding is “not real coding”.

Fix It is real sequencing, real variables, real loops.

The language is visual.

Slip Piling 40 blocks with no event on top.

Fix Nothing starts. Add when green flag / when clicked.

Programs need a start.

Slip Ignoring order because “they are all on the sprite”.

Fix Top to bottom still rules.

Sequence never retires.

Try on paper first

Write the answer, then tap Reveal. These are not the quiz — they are warm-ups.

1. What starts a Scratch script?

Answer: An event block (green flag / click / …)

2. Unconnected blocks will…

Answer: Not run

3. repeat 10 in blocks is like what idea?

Answer: A loop

4. say hello is like Python…

Answer: print("hello")

Touch practice

8 tap / type

Tap or type. Use the hint if you need it. Retry any miss — the why is the lesson.

Optional picture lab

After practice

Real world

Scratch and classroom robots.

Connect

Same ideas as Python later.

⭐ Star quiz

9 questions

Do the worked examples and touch practice first. Then take the quiz without peeking.