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

Numbers on the board

Week 18 · Unit 8: Be an innovator · 3 lessons
Answers are for parents and teachers.
1
Write the blocks of a micro:bit program that shows how many wheels 7 cars have (4 wheels each) when button B is pressed. What does the board show?
2
Trace the program. What does the board show?
setato20setbto5setctoa÷bsetdtoc−1show numberdon buttonApressed
3
Draw a flowchart for a program that asks for the price of one pencil and the number bought, and shows the total cost. What does it show for a price of 4 and 7 pencils?
4
Work out 4 + 5 × 2 and (4 + 5) × 2. Explain why the answers are different.
5
(if you have a computer or tablet) In a micro:bit simulator, build the price, count and cost program from this week. Then move the show block above the set cost block and see what changes.