This is an introduction to the concept of modulus. Students will compute various problems involving the modulus operator.
- Subject:
- Algorithms and Programming
- Material Type:
- Activity/Lab
- Author:
- Mary GREER
- Date Added:
- 05/31/2022
This is an introduction to the concept of modulus. Students will compute various problems involving the modulus operator.
What is Random? Through this project, students will discover what makes an outcome random. Emphasis will be placed on the difference between deterministic and nondeterministic outcomes. The project starts out with a discovery activity where students will see the difference between creating data with a coin toss where they just make up the data and creating data through actually tossing a coin.Students will end the project by studying pseudorandom number generators, specifically the Middle Squared Algorithm. They will even create a program that uses this algorithm. Enjoy!