ScratchData LogoScratchData
Back to TeachTheMachines's profile

Making a List of Coin Flips (Scratch random test)

TETeachTheMachines•Created May 1, 2018
Making a List of Coin Flips (Scratch random test)
1
1
16 views
View on Scratch

Instructions

This is a test of Scratch's random number generator. It creates sets of coin flips, one hundred flips at a time. If you set the slider bar at bottom to, say, 500, you will have flipped a hundred coins five hundred times, for a total of 50,000 flips. Each line in the "List of Compiled Flips" is how many heads were flipped in each 100-flip simulation. Run this in turbo mode! PLEASE READ: Using @phonner's "Making a List of Coin Flips," this program runs a simulation of a number of sets of 100 flips, and compiles the average number of heads in each set of 100. This was motivated by curiosity about how random Scratch's "random" function really is. The user should set the number of simulations using the slider control.

Project Details

Project ID219919010
CreatedMay 1, 2018
Last ModifiedNovember 11, 2020
SharedMay 1, 2018
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root