For the questions below, please try to think about the solution in your head before using IDLE or a calculator to compute it. The goal of these questions is to give you some intuition about the topics we've been discussing.Which of the following populations has the largest variance?
A. [0, 1, 2, 3, 4, 5, 6]
B. [3, 3, 3, 3, 3, 3, 3]
C. [0, 0, 0, 3, 6, 6, 6]
查看答案
Next we toss a huge ball with 1,000 dots on it. Half the dots are red and the other half are blue. We roll the ball and when it stops, we note the color of the dot on the very top of the ball.True or False? If we roll it four times, and it comes up red once and blue three times, then we have proved that the ball is biased.
A fair two-sided coin is flipped 4 times. It comes up heads all four times. What is the probability that it comes up heads on the fifth flip? Answer in reduced fraction form - eg 1/5 instead of 2/10.______
Hash table size = 10 buckets; number of unique insertions = 100Expected average length of the list for each bucket =______
Hash table size = 10 buckets; number of unique insertions = 20Expected average length of the list for each bucket =______