Break it into parts
Answers are for parents and teachers.
1
Decompose a doorbell: when someone presses the button, a light blinks 3 times and a chime plays. Write the five components: what starts it, what is shown, for how long, which sound and how many times.
For example: the button is pressed; the light blinks; 1 second each blink; a chime; 3 times.
2
Write an algorithm for this gadget: button A shows the heart icon for 2 seconds with the sound hello, and does this 3 times in all.
1 Start program when button A is pressed. 2 Play hello sound. 3 Show heart icon. 4 Wait 2 seconds. 5 Clear screen. 6 Repeat steps 2 to 5 two more times. 7 Stop program.
3
An algorithm waits 2 seconds in each round and does 6 rounds in all. Predict the total waiting time.
12 seconds (2 × 6).
4
Act out an algorithm as a human micro:bit with a family member. Use a paper icon and count the seconds out loud. How long did it take?
The time should be close to the predicted total of the waits.
5
(if you have a computer or tablet) Ask a grown-up to help you open a micro:bit simulator and look at the picture of the board. Find button A and button B.
The two buttons A and B are on the front of the board, one on each side of the screen.