Yorkville High School Computer Science Department
Yorkville High School Computer Science Department on Facebook  Yorkville High School Computer Science Department Twitter Feed  Yorkville High School Computer Science Department on Instagram

Yorkville High School Computer Science

ASSIGNMENTS: House Builder - November 19, 2018 :: The Game - December 14, 2018 :: Pong - December 17, 2018

Computer Programming I :: Projects :: Random Numbers in Parallel

Rubric
Lesson
Due: Apr 19

Problem

Suppose you were creating a program that generated 10,000 random numbers between 1 and 100 and stored a count of how many times each number occurs. For example, maybe the final count would look like this:

1 - 50 times
2 - 33 times
3 - 20 times
.
.
.
100 - 77 times

Finally, a list of all of the numbers and their count is output for the user like what is shown above. List the steps of the algorithm in English, and mark which steps can be done in parallel and explain why. It is possible that a single step can be run in parallel with itself. You do not actually have to create this program, simply write the algorithm and note which steps can be completed together.

Yorkville High School Computer Science Department on Facebook Yorkville High School Computer Science Department Twitter Feed Yorkville High School Computer Science Department on Instagram