Questions: Random Variables: Definition and Classification

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A programmer writes: 'Let X be a random variable. Since X is random, we can't say anything definite about X = 3.' What is wrong with this statement?

ANothing is wrong — X = 3 is undefined because random variables can't equal specific values
BIt confuses the function X with a realized value x. P(X = 3) is a perfectly well-defined probability.
CIt's correct — since X is random, no probability statement about specific values is possible
DIt's only wrong for discrete random variables; for continuous ones the statement holds
Question 2 Multiple Choice

X is a continuous random variable representing the exact temperature (in Celsius) at noon tomorrow. A student calculates P(X = 21.5) and gets 0. They conclude their model must be broken. What is the correct explanation?

AThe student is right — any model that assigns probability 0 to an event is incorrectly specified
BP(X = 21.5) = 0 is correct; for continuous RVs, individual points have zero probability because they have zero 'width' under a density curve
CThe model assigns probability 0 only if 21.5 is outside the support — otherwise it should be positive
DContinuous random variables don't have probability at specific values; you must use cumulative distribution functions exclusively
Question 3 True / False

A random variable is best understood as a function from outcomes in a sample space to real numbers.

TTrue
FFalse
Question 4 True / False

Whether a random variable is discrete or continuous depends on the size of the sample space — discrete random variables come from small sample spaces, and continuous ones from large sample spaces.

TTrue
FFalse
Question 5 Short Answer

Why does a continuous random variable assign probability 0 to individual values, and why does this not mean those values are 'impossible'?

Think about your answer, then reveal below.