Code it as a team
Answers are for parents and teachers.
1
Write the steps for building a micro:bit program in the right order. Start with “start a new project”.
Start a new project and name it; add the “on button pressed” block; add the other blocks in the order of the algorithm; set the dropdowns and numbers; click Play and test; save the project.
2
Write the blocks and their groups for this algorithm: 1 Start when the board is shaken. 2 Show icon snake. 3 Set volume to 200. 4 Play sound slide until done. 5 Clear screen.
on [shake v] (Input), show icon [snake v] (Basic), set volume (200) (Music), play sound [slide v] until done (Music), clear screen (Basic).
3
Make a poster with six blocks from three groups: Input, Basic and Music. Colour each group differently and label it.
Check that each block is in the correct group, such as on button pressed (Input), show string (Basic) and play sound until done (Music).
4
Try pair coding at home with paper strips. One person writes the blocks (driver) and the other reads the algorithm (navigator). Tell a grown-up what the navigator found.
Answers vary. Check that the navigator read the algorithm and that the pair swapped roles.
5
(if you have a computer or tablet) Build the “Hooray!” program from this lesson in a micro:bit simulator. Click A, then click B. What happens each time?
Button A: nothing. Button B: the heart appears, the giggle sound plays, “Hooray!” scrolls and the screen clears.