Make it work
Answers are for parents and teachers.
1
Complete the table for the night light (brightness = 255 − light level): light level 0, 50, 150 and 255.
Brightness 255, 205, 105 and 0.
2
Make a random picker from paper slips numbered 1 to 6. Pick 12 times, putting the slip back each time. Make a tally. Did you get every number the same number of times?
Probably not: random results are not even. Over many picks they get closer to equal.
3
Write an algorithm: when the board is shaken, show a random number from 5 to 8 for 3 seconds and then clear the screen.
1 Start program when the board is shaken. 2 Show random number between 5 and 8. 3 Wait 3 seconds. 4 Clear screen. 5 Stop program.
4
The algorithm says to show the heart 3 times, but the program uses repeat (2) times. Find the bug and say how to fix it.
Change the repeat number from 2 to 3.
5
Write down five things you did today and name the sense that took in the information for each, for example hearing the alarm clock.
For example: hearing the alarm (ears), seeing breakfast (eyes), feeling the cold water (skin), smelling bread (nose), tasting fruit (tongue).