Answer:
B. Generate 5 random integers from 1 to 10 and see how many times the numbers 1 to 8 are generated.
Explanation:
William wants to simulate 5 shots with an 80% chance each shot. Let's see what is each option simulate
A.
This option is wrong. Since you generate 8 different possibilities(1-8), the chance for each is 1/8= 12.5%. The chance for either 3 and 5 is 25% and it's far from 80%
B.
This option is true. You generate 5 numbers which represent the 5 shots. Since you generate 10 different possibilities(1-10), the chance for each is 1/10= 10%. The chance for 1 to 8 is 80% .
C.
There is no information about the chance for the dart score, so this option won't simulate the situation accurately.
D.
This option is wrong. You generate 3 numbers which represent the 3 shots instead of 5.