Collecting Probability Data Using Scratch
This Scratch program collects data when rolling one die.
Students could be asked to
create a program to collect experimental data when rolling a die and then compare results to the theoretical probability.
create a program to collect experimental data when tossing a coin, spinning a spinner, spinning a visual spinner, pulling cards etc. These links have sample student programs.
remix this program to collect data when rolling 2 or more dice eg. sum of two die, difference between two die, ...
Students can change the number of trials in a program by changing the repeat loop. This allows them to see the effects on experimental probability as the amount of data collected is increased (ie. increase number of trials).
My students used this tossing a coin program to complete the table and then repeated this activity for a new program that they created that could collect probability data.
This Scratch program collects Rock, Paper Scissors Data when one person chooses "Rock" every time.
Have students remix this program so that both the cat and girl randomly choose each time. This is what the second program might look like.
Compare the data collected from both programs to determine which is the better strategy when playing Rock, Paper, Scissors.
You are pouring 3 smarties from a box and want to give each student 3 different colours of smarties. Complete an experiment to determine the probability of this happening. This scratch program will collect data when pouring 2 smarties out of a box. Students need to remix the program to collect data when pouring 3 smarties out of a box.
Assess the model. Compare it to real life. What assumptions have we made?
Programming Microbits to Collect Data
This video by Microsoft MakeCode shows how to program a microbit to collect population trait data. The microbit could easily be a counter of any survey data.
Students collected survey data by programming the microbit to ask a question, and then count and display the number of responses for each outcome. Students used this data to calculate experimental probability.
Students created a trivia game on the microbit and then had the microbit count and display the number of correct answers.
This student used two microbits to create a rock, paper, scissors game. The student used the third microbit to collect data (the number of times she won the game) and then calculated the experimental probability of her winning.
Microsoft MakeCode. (2019, December 9). Science experiments 02 population trait counter [Video]. YouTube. https://www.youtube.com/watch?v=NNZEMiJHY2o&t=1s