AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Boards that decide

Week 29 · Unit 12: Be a problem solver · 3 lessons
Answers are for parents and teachers.
1
Draw two 5 × 5 grids and shade the lights of a smile and a frown for a board that shows the smile when A is pressed and the frown when it is not.
2
The program is: forever, if button A is pressed then show a heart, else show a duck. In five checks A is pressed, pressed, not, not, pressed. What does the board show?
3
Explain to a grown-up why counting with a forever loop and no pause can give a very large number for one press.
4
Write a rule with the light level: if the level is below 40 show the asleep icon, else show the happy icon. What does the board show for 39, 40 and 200?
5
(if you have a computer or tablet) In a micro:bit simulator, build the answer board with an else part. Press the button and check that the tick goes away when you let go.