Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The instruction is at the top of the page. expected to develop five (5) flow charts and five (5) preudocode algorithms to demonstrate their knowledge

The instruction is at the top of the page. image text in transcribed
expected to develop five (5) flow charts and five (5) preudocode algorithms to demonstrate their knowledge of the following areas: Modules (10 marks), Decinical Structure (10 marks), Boolean Logic (10 marks), Nested Repetition Structures 20 marks), Functions (15 marks), Atrays (15 marks) and Files (20 marks). Repeatedly rolling a die would result in a uniform distribution of values between 1 and 6 , inclusive. Repeatedly rolling two (2) dice would result in a uniform distribution of values between two (2) and twelve (12) inclusive, a. In this simulation, repeatedly roll one (1) dic, count the number of occurrences of each value and plot the histogram: i. After 100 simalations: ii. After 1,000 simulations. b. In the next simulation, repeatedly roll four (4) dice, sum the results of the four (4) dice faces, coent the number of occurrences of each value and plos the histogram: i. After 100 simulations. ii. After 1,000 simulations. Each simultancous soll of four (4) dice is counted as one sienilation. c. Compute the following probabilities based on your simulations: i. If one die is rolled what is the probability that - The outcome is even? - The ouicoene is odd? ii. If four diee are rolled what is the probability that - The fotal shosing is cven? - The total showing is odd

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions