What if code snapped like blocks?
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.
- Event: green flag
- Then move (process / output on stage)
- Then say (output)
- 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).
- Output idea is the same
- Loop idea is the same
- 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.
- It will not run
- The chain is the sequence
- 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 / typeTap or type. Use the hint if you need it. Retry any miss — the why is the lesson.
Optional picture lab
After practiceReal world
Scratch and classroom robots.
Connect
Same ideas as Python later.
⭐ Star quiz
9 questionsDo the worked examples and touch practice first. Then take the quiz without peeking.