Session 1 · 60 min
In what order do blocks run?
A block program is a sequence: blocks snapped together run from the top down. The “show leds” block draws a picture; the “forever” block keeps running the blocks inside it. The simulator only: nothing is plugged in.
The adult says first: “Blocks are instructions. They run in order, top to bottom. Let's guess, then test.”
Learner card
- Drag “show leds” into “forever”.
- Draw a big heart.
- Draw a small heart below it.
- Guess: which shows first?
- Watch the simulator.
- Change the order. Guess again.
Key words (show each with a picture): block · order · forever
Timing (27 of 60 min at the screen)
- 15 minAway from the screen: Picture-card acting: each learner holds one picture; the group stands in order and the adult reads the line from the top, then back to the start. Guess, then swap two cards and read it again.
- 15 minAt the screen: MakeCode: the Flashing Heart steps, two “show leds” pictures in “forever”. Guess which shows first, then watch the simulator.
- 10 minAway from the screen: On a 5 × 5 paper grid: draw a third picture and plan a new order, with a guess.
- 12 minAt the screen: Build the third picture, change the order, guess, then run it.
- 8 minAway from the screen: Fill in the table; say which block runs first and what “forever” does.
In the studio
No studio lab or activity.
Outside the studio: MakeCode editor and its micro:bit simulator (makecode.microbit.org)
Hands-on
Nothing is powered: this session uses the simulator only. First, away from the screen, the group acts a program out with picture cards: each learner holds one picture, they stand in order, and the adult reads the line from the top, then goes back to the start, as “forever” does. Then the adult opens MakeCode and the Flashing Heart tutorial and reads each step aloud. The learner drags a “show leds” block into the “forever” block and clicks squares to draw a big heart, then a second “show leds” block below it with a small heart. Before the simulator runs it, the learner says which picture shows first. Then the learner draws a third picture on a paper grid, builds it, changes the order of the three blocks, and predicts again before each run.
Starting blocks: MakeCode tutorial “Flashing Heart” (makecode.microbit.org/projects/flashing-heart): a “show leds” block inside “forever”.
Evidence to collect
A prediction for each order, a short test table (Order of pictures | My guess | What showed) for three orders, filled in by the learner, and the learner's spoken explanation of which block runs first and what “forever” does.
Test table columns: Order of pictures | My guess | What showed
- Predict
- Before each run, the learner points to the picture that will show first, then the one after it.
- Debug
- If the simulator shows nothing, check that each “show leds” block is snapped inside “forever”, not loose beside it.
- Reflect
- What would change if there were no “forever” block?
Works towards: Block programs