A die is rolled N times and the results stored in a collection called ROLLS. The die has normal faces, that is, showing numbers from 1 to 6 inclusive across its sides. The die is considered biased if both the number of rolls (N) is greater than 1000 and the average value across all N rolls is either greater than 3.5 + 100/N or less than 3.5 - 100/N. If there are 1000 rolls or less then it is not known with sufficient confidence if the die is biased or not. Based on this approach, construct an algorithm to determine whether or not the die is biased. Output the verdict.
Short Answer7 MarksCommunity
21 Uses61 Views1 Like