1What is the expected value of a discrete random variable ?
Expected values
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The expected value of a discrete random variable is the sum of each possible outcome multiplied by its corresponding probability.
Incorrect! Try again.
2If the expected value of a random variable is , what is ?
Expected values
Easy
A.5
B.8
C.15
D.125
Correct Answer: 15
Explanation:
By the properties of expected values, multiplying a random variable by a constant multiplies its expected value by that same constant: . Thus, .
Incorrect! Try again.
3What is the expected value of a constant ?
Expected values
Easy
A.
B.$1$
C.
D.$0$
Correct Answer:
Explanation:
A constant always takes the same value with a probability of 1. Therefore, the expected value of a constant is just the constant itself, .
Incorrect! Try again.
4Which of the following formulas correctly represents the linearity of expectations for any two random variables and ?
Linearity of expectations
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The linearity of expectations states that the expected value of the sum of random variables is equal to the sum of their individual expected values.
Incorrect! Try again.
5If and , what is the value of ?
Linearity of expectations
Easy
A.5
B.1
C.9
D.6
Correct Answer: 5
Explanation:
Using the linearity of expectations, . Therefore, .
Incorrect! Try again.
6Does the property require the random variables and to be independent?
Linearity of expectations
Easy
A.It only holds if they are mutually exclusive
B.No, it holds for any random variables
C.It only holds if they have the same variance
D.Yes, it strictly requires independence
Correct Answer: No, it holds for any random variables
Explanation:
A powerful feature of the linearity of expectations is that it applies to any random variables, regardless of whether they are independent or dependent.
Incorrect! Try again.
7Which of the following is the defining formula for the variance of a random variable ?
Variance
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Variance measures the spread of a random variable's values around its expected value, defined as the expected value of the squared deviation from the mean: .
Incorrect! Try again.
8What is the alternative (and often easier to compute) formula for calculating the variance ?
Variance
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The variance can also be computed as the expected value of the square of minus the square of the expected value of .
Incorrect! Try again.
9Can the variance of a real-valued random variable be negative?
Variance
Easy
A.No, it is always non-negative
B.Yes, if the random variable takes negative values
C.Yes, if the expected value is negative
D.Yes, for continuous random variables only
Correct Answer: No, it is always non-negative
Explanation:
Because variance is defined as the expected value of a squared quantity, it cannot be negative. It is always greater than or equal to zero.
Incorrect! Try again.
10Two discrete random variables and are independent if and only if for all possible values and :
Independent random variables
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Independence means the joint probability of two events occurring is the product of their individual (marginal) probabilities.
Incorrect! Try again.
11If and are independent random variables, what does equal?
Independent random variables
Easy
A.
B.
C.$0$
D.
Correct Answer:
Explanation:
For independent random variables, the expected value of their product is exactly the product of their individual expected values.
Incorrect! Try again.
12If two random variables and are independent, what is their covariance?
Independent random variables
Easy
A.
B.$1$
C.
D.$0$
Correct Answer: $0$
Explanation:
Independent random variables have no linear correlation, meaning their covariance is exactly $0$.
Incorrect! Try again.
13What is the standard formula for Bayes' Theorem used to find ?
Bayes’ theorem and generalized Bayes’ theorem
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Bayes' theorem relates the conditional probability to , , and through the formula .
Incorrect! Try again.
14In Bayes' theorem, what is typically called before observing evidence ?
Bayes’ theorem and generalized Bayes’ theorem
Easy
A.Prior probability
B.Posterior probability
C.Marginal probability
D.Likelihood
Correct Answer: Prior probability
Explanation:
is the initial degree of belief in event before any new evidence (event ) is taken into account, hence it is called the prior probability.
Incorrect! Try again.
15The denominator in the generalized Bayes' theorem, , represents what probability by the Law of Total Probability?
Bayes’ theorem and generalized Bayes’ theorem
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The denominator applies the Law of Total Probability to find the total (marginal) probability of the evidence, .
Incorrect! Try again.
16In the context of Bayes' theorem, what does represent?
Bayes’ theorem and generalized Bayes’ theorem
Easy
A.The posterior probability of A given B
B.The likelihood of B given A
C.The prior probability of A
D.The marginal probability of B
Correct Answer: The posterior probability of A given B
Explanation:
is the updated probability of event after observing the evidence , which is known as the posterior probability.
Incorrect! Try again.
17What does a geometric random variable typically model?
The geometric distribution
Easy
A.The number of successes in a fixed number of trials
B.The number of Bernoulli trials needed to get exactly one success
C.The probability of observing a specific number of failures
D.The total number of trials until zero successes occur
Correct Answer: The number of Bernoulli trials needed to get exactly one success
Explanation:
The geometric distribution counts the number of independent Bernoulli trials required before observing the very first success.
Incorrect! Try again.
18If the probability of success in a single trial is , what is the expected value of a geometric random variable?
The geometric distribution
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
For a geometric distribution representing the number of trials up to and including the first success, the expected value (mean) is .
Incorrect! Try again.
19If a biased coin has a probability of $0.25$ of landing on heads, what is the expected number of flips needed to get the first head?
The geometric distribution
Easy
A.0.25
B.4
C.2.5
D.5
Correct Answer: 4
Explanation:
This follows a geometric distribution with . The expected value is .
Incorrect! Try again.
20According to Bienaymé's formula, the variance of the sum of pairwise independent random variables is equal to:
Bienaymé’s formula
Easy
A.The product of their variances
B.Zero
C.The sum of their variances
D.The sum of their expected values
Correct Answer: The sum of their variances
Explanation:
Bienaymé's formula states that provided the random variables are pairwise independent.
Incorrect! Try again.
21Two machines, A and B, manufacture 40% and 60% of the total items produced in a factory, respectively. Machine A has a defect rate of 3%, and Machine B has a defect rate of 5%. If a randomly selected item is found to be defective, what is the probability it was produced by Machine A?
Bayes’ theorem and generalized Bayes’ theorem
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be the event of a defective item. By Bayes' theorem, .
Incorrect! Try again.
22A diagnostic test has a 90% true positive rate and a 10% false positive rate. If the disease prevalence in the population is 5%, what is the probability that a person actually has the disease given that they test positive?
Bayes’ theorem and generalized Bayes’ theorem
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be having the disease and be testing positive. .
Incorrect! Try again.
23Suppose there are three identical boxes. Box 1 contains only gold coins, Box 2 contains only silver coins, and Box 3 contains half gold and half silver coins. You randomly select a box and draw a coin. If the coin is gold, what is the probability you selected Box 1?
Bayes’ theorem and generalized Bayes’ theorem
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Using generalized Bayes' theorem: .
Incorrect! Try again.
24Consider a game where you roll a fair 6-sided die. If the die lands on an even number, you win that number of dollars. If the die lands on an odd number, you lose that number of dollars. What is the expected value of your winnings per roll?
expected values
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The expected value .
Incorrect! Try again.
25A random variable takes the values $0, 1$, and $2$ with probabilities $0.2, 0.5$, and $0.3$ respectively. What is the expected value of ?
expected values
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
By definition, .
Incorrect! Try again.
26A coin is weighted such that it is twice as likely to land on Heads as it is to land on Tails. If it lands on Heads, you gain 3 points. If it lands on Tails, you lose 3 points. What is the expected point gain from one flip?
expected values
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Since Heads is twice as likely as Tails, and . The expected value .
Incorrect! Try again.
27What is the expected sum of the numbers appearing on three fair 6-sided dice rolled simultaneously?
linearity of expectations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be the outcomes of the three dice. for each die. By the linearity of expectations, .
Incorrect! Try again.
28A biased coin with a probability of landing heads is flipped 5 times. Let be the number of heads and be the number of tails. What is ?
linearity of expectations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Since the coin is flipped 5 times, , meaning . We need . By linearity of expectations, this is . Since , the answer is .
Incorrect! Try again.
29You draw 5 cards from a well-shuffled standard deck of 52 cards without replacement. What is the expected number of Aces in your hand?
linearity of expectations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be the indicator variable that the -th card drawn is an Ace. The probability of any specific card drawn being an Ace is . Thus, . By linearity of expectations, the total expected number of Aces is .
Incorrect! Try again.
30You roll a fair 6-sided die repeatedly. What is the expected number of rolls until you observe a 6?
the geometric distribution
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The number of rolls until a 6 appears follows a geometric distribution with success probability . The expected value of a geometric random variable is .
Incorrect! Try again.
31The probability of a successful login attempt to a server is 0.8. Assuming independent attempts, what is the probability that exactly 3 attempts are needed to login successfully?
the geometric distribution
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
This follows a geometric distribution where the probability of success on the -th trial is . For and , we have .
Incorrect! Try again.
32Let representing the number of trials up to and including the first success. If , what is the probability that ?
the geometric distribution
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Since , we have (or ). The probability that is .
Incorrect! Try again.
33Let and be independent random variables with and . If , what is the value of ?
independent random variables
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The correct option follows directly from the given concept and definitions.
Incorrect! Try again.
34Let and be the outcomes of two independent fair 6-sided die rolls. What is the probability that ?
independent random variables
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
There are $36$ possible outcomes. The combinations that result in a sum of $4$ are , and . Thus, there are $3$ favorable outcomes. The probability is .
Incorrect! Try again.
35Let and be independent random variables taking values in . If and , what is the probability that ?
independent random variables
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
. Because they are independent, this is .
Incorrect! Try again.
36Let be the outcome of a single roll of a fair 6-sided die. What is the variance of ?
variance
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
We know . . The variance is .
Incorrect! Try again.
37If a random variable has a variance of $5$, what is the variance of the random variable ?
variance
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Using the properties of variance, . Here, and , so .
Incorrect! Try again.
38A discrete random variable has an expected value and the expected value of its square is . What is the standard deviation of ?
variance
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The correct option follows directly from the given concept and definitions.
Incorrect! Try again.
39Let be pairwise independent random variables, each with a variance of $4$. What is the variance of their sum, ?
Bienaymé’s formula
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
By Bienaymé's formula, the variance of the sum of pairwise independent random variables is the sum of their individual variances. Thus, .
Incorrect! Try again.
40Let and be pairwise independent random variables with and . What is the variance of the random variable ?
Bienaymé’s formula
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Using Bienaymé's formula and variance properties, for independent variables. Here, .
Incorrect! Try again.
41A rare disease affects of a population. A diagnostic test for this disease has a true positive rate and a false positive rate. If a person takes the test twice and the results are independent given the disease status, what is the probability they actually have the disease given that both tests return positive?
Bayes’ theorem and generalized Bayes’ theorem
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be the event of having the disease, and be the event of testing positive twice. Using the generalized Bayes' theorem with conditional independence: . Plugging in , , , and yields the correct formulation.
Incorrect! Try again.
42A monkey types uniformly at random on a standard 26-letter English alphabet keyboard. What is the expected number of keystrokes until the sequence 'MATH' appears for the first time?
expected values
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Using martingales or expected value recurrence, the expected time to type a word is the sum of for each length of a prefix that is also a suffix of the word. Since 'MATH' has no overlapping proper prefix-suffix pairs, the expected number of keystrokes is exactly .
Incorrect! Try again.
43Consider a random permutation of the set where . A position () is a local maximum if and . Positions $1$ and are local maxima if and , respectively. What is the expected number of local maxima in the permutation?
linearity of expectations
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
By linearity of expectations, the expected total is the sum of expectations of indicator variables. For the endpoints (), the probability of being a local maximum is . For , the maximum of 3 adjacent elements is in the middle with probability . Total expectation is .
Incorrect! Try again.
44Alice and Bob take turns flipping a biased coin that lands on heads with probability . Alice flips first. The first person to flip heads wins. What is the probability that Alice wins the game?
the geometric distribution
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Alice wins on turn 1, turn 3, turn 5, etc. The probability is , which is an infinite geometric series with and . The sum is .
Incorrect! Try again.
45Let and be independent Poisson random variables with parameters and , respectively. What is the conditional distribution of given that ?
independent random variables
Hard
A.Geometric with parameter
B.Binomial with parameters and
C.Binomial with parameters and
D.Poisson with parameter
Correct Answer: Binomial with parameters and
Explanation:
The conditional probability equals . Since is Poisson with parameter , expanding this expression yields the probability mass function of a Binomial distribution with parameters and .
Incorrect! Try again.
46Let be the number of fixed points in a uniformly random permutation of elements (). What is the variance of ?
variance
Hard
A.
B.
C.$1$
D.
Correct Answer: $1$
Explanation:
Let where is the indicator that element is a fixed point. . The second moment is . The variance is .
Incorrect! Try again.
47Bienaymé's formula states that the variance of the sum of random variables is equal to the sum of their variances. What is the strictly minimal requirement on the random variables for this formula to hold?
Bienaymé’s formula
Hard
A.The variables must be identically distributed.
B.The variables must be pairwise independent.
C.The variables must be mutually independent.
D.The variables must be pairwise uncorrelated (covariance is zero).
Correct Answer: The variables must be pairwise uncorrelated (covariance is zero).
Explanation:
Bienaymé's formula relies on the expansion of . For the cross terms to vanish, it is sufficient for all pairs to have zero covariance (i.e., being uncorrelated). Pairwise independence is a stronger condition than uncorrelatedness.
Incorrect! Try again.
48A spam filter is designed such that of emails are spam. It is known that of spam emails contain the word 'lottery', while only of non-spam (ham) emails contain this word. If an incoming email contains the word 'lottery', what is the probability that it is spam?
Bayes’ theorem and generalized Bayes’ theorem
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be spam and be the word 'lottery'. .
Incorrect! Try again.
49Consider a random graph where each edge is included independently with probability . What is the expected number of isolated vertices in the graph?
expected values
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
A vertex is isolated if all possible edges connected to it are absent. The probability of this happening for a specific vertex is . By linearity of expectations, we multiply this probability by the total number of vertices .
Incorrect! Try again.
50If balls are placed uniformly and independently at random into bins, what is the expected number of empty bins?
linearity of expectations
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Let if bin is empty, and $0$ otherwise. The probability that a specific bin receives no balls from throws is . By linearity of expectations, the expected number of empty bins is .
Incorrect! Try again.
51Let and be independent geometric random variables, both representing the number of trials up to and including the first success, with probability of success . What is ?
the geometric distribution
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The probability is . This is a geometric series with sum .
Incorrect! Try again.
52Let and be independent uniform random variables over the set . What is the probability distribution of ?
independent random variables
Hard
A.Triangular distribution centered at
B.Binomial with parameters and
C.Uniform on
D.Uniform on
Correct Answer: Uniform on
Explanation:
For any fixed value of , creates a bijection on the set . Because is uniform and independent of , all resulting values of are equally likely, making uniformly distributed.
Incorrect! Try again.
53Let be a random variable with mean and variance . What value of strictly minimizes the expected value , and what is this minimum expected value?
variance
Hard
A., minimum is
B., minimum is
C., minimum is
D., minimum is
Correct Answer: , minimum is
Explanation:
. To minimize, we take the derivative with respect to : . Substituting gives , which is the exact definition of the variance .
Incorrect! Try again.
54Let be independent random variables where each represents the outcome of a fair -sided die roll (values $1$ through ). Using Bienaymé's formula, what is the variance of their sum ?
Bienaymé’s formula
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The variance of a single uniform discrete variable from $1$ to is . Since the die rolls are independent, Bienaymé's formula applies, and the variance of the sum is the sum of the variances: .
Incorrect! Try again.
55If there are people in a room, what is the expected number of pairs of people who share the exact same birthday? (Assume a 365-day year and independent uniform birthday probabilities)
expected values
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
There are possible pairs of people. Let be the indicator variable that pair shares a birthday. The expected value . By the linearity of expectations, the total expected number of pairs is the sum of over all pairs, yielding .
Incorrect! Try again.
56A student guesses completely randomly on a multiple-choice exam with questions. Each question has options, and exactly one is correct. If the student gets point for a correct answer and points for an incorrect answer, what is their expected total score?
linearity of expectations
Hard
A.
B.$0$
C.
D.
Correct Answer: $0$
Explanation:
Let be the score for question . The probability of guessing correctly is , and incorrectly is . . By linearity of expectations, the expected total score is .
Incorrect! Try again.
57Let be a geometric random variable with success probability , representing the number of trials up to and including the first success. Due to the memoryless property, what is the conditional expectation ?
the geometric distribution
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Because the geometric distribution is memoryless, knowing that (meaning the first trials were failures) means the process essentially restarts at trial . The expected additional trials is the standard mean . Therefore, the total expected trials given initial failures is .
Incorrect! Try again.
58Let and be independent random variables. Which of the following statements is NOT necessarily true?
independent random variables
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
For independent random variables, the expectation of a product is the product of their expectations. Thus, . However, by Jensen's Inequality, is generally NOT equal to . Therefore, the quotient expectation formula is false.
Incorrect! Try again.
59Three identical-looking urns contain colored balls. Urn 1 has 2 Red and 1 Black; Urn 2 has 1 Red and 2 Black; Urn 3 has 3 Red and 0 Black. An urn is selected uniformly at random, and TWO balls are drawn WITH replacement from it. Both balls are Red. What is the probability that Urn 1 was chosen?
Bayes’ theorem and generalized Bayes’ theorem
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Let be the event of choosing Urn , and be drawing two reds. . , , . By Bayes' Theorem: .
Incorrect! Try again.
60Let be the number of trials until the -th success occurs in a sequence of independent Bernoulli trials with probability of success (a Negative Binomial distribution). What is the variance of ?
variance
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The Negative Binomial random variable can be expressed as the sum of independent geometric random variables , each representing the number of trials between successes. The variance of each geometric RV is . By Bienaymé's formula, the variance of their sum is .