Sample STATS 100A questions
  1. Sample Spaces and Counting · Problem · 5 marks

    A website requires passwords of length 66 made from the 2626 lowercase letters and the 1010 digits (3636 symbols).

    1. How many passwords are possible if symbols may repeat? [1]

    2. How many of these contain at least one letter and at least one digit? [2]

    3. How many passwords contain exactly two digits and four letters, with no symbol used more than once? [2]

    Show solution

    (a) Each of the six positions has 3636 choices: 366=2 176 782 33636^6 = 2\,176\,782\,336.

    (b) Use the complement of “at least one letter and at least one digit”: a password fails if it is all letters (266=308 915 77626^6 = 308\,915\,776) or all digits (106=1 000 00010^6 = 1\,000\,000); these two cases cannot occur together. The count is 366−266−106=1 866 866 56036^6 - 26^6 - 10^6 = 1\,866\,866\,560.

    (c) Choose which 22 of the 66 positions hold digits: (62)=15\binom{6}{2} = 15. Fill those two positions with different digits in order: 10⋅910 \cdot 9. Fill the other four with different letters in order: 26⋅25⋅24⋅2326 \cdot 25 \cdot 24 \cdot 23. The total is 15⋅90⋅358 800=484 380 00015 \cdot 90 \cdot 358\,800 = 484\,380\,000.

  2. Conditional Probability, Bayes and Independence · Multiple choice · 2 marks

    Twenty percent of incoming email is spam. The word “free” appears in 60%60\% of spam messages and in 5%5\% of non-spam messages. A message containing “free” arrives. The probability that it is spam is

    1. 0.120.12

    2. 0.600.60

    3. 0.750.75

    4. 0.920.92

    Show solution

    Answer: (C)

    By Bayes’ rule, P(spam∣free)=0.60(0.20)0.60(0.20)+0.05(0.80)=0.120.16=0.75P(\text{spam} \mid \text{free}) = \dfrac{0.60(0.20)}{0.60(0.20) + 0.05(0.80)} = \dfrac{0.12}{0.16} = 0.75. The value 0.600.60 is P(free∣spam)P(\text{free} \mid \text{spam}), the wrong direction; 0.120.12 is only the numerator (the joint probability); and 0.92≈0.60/(0.60+0.05)0.92 \approx 0.60/(0.60 + 0.05) ignores how rare spam is.

  3. Continuous Random Variables · Multiple choice · 1 mark

    Scores on a placement test are normal with mean 5050 and variance 100100. Using the table, the proportion of scores between 4040 and 6565 is

    1. 0.86640.8664

    2. 0.09190.0919

    3. 0.77450.7745

    4. 0.09940.0994

    Show solution

    Answer: (C)

    With σ=10\sigma = 10: P(40<X<65)=Φ(1.5)−Φ(−1)=0.9332−0.1587=0.7745P(40 < X < 65) = \Phi(1.5) - \Phi(-1) = 0.9332 - 0.1587 = 0.7745. The value 0.8664=2Φ(1.5)−10.8664 = 2\Phi(1.5) - 1 wrongly assumes the interval is symmetric about the mean; 0.09190.0919 uses Φ(1)=0.8413\Phi(1) = 0.8413 instead of Φ(−1)\Phi(-1); and 0.09940.0994 divides by the variance 100100 instead of σ\sigma.

  4. Expectation and Variance · Short answer · 2 marks

    Ten keys are hashed independently and uniformly at random into a table with 20 slots. Let XX be the number of pairs of keys that land in the same slot. Find E[X]E[X].

    Show solution

    For each of the (102)=45\binom{10}{2} = 45 pairs of keys let Iij=1I_{ij} = 1 if the two keys share a slot. Given the slot of the first key, the second key matches it with probability 120\tfrac1{20}, so E[Iij]=120E[I_{ij}] = \tfrac{1}{20}. By linearity, E[X]=45⋅120=94E[X] = 45\cdot\tfrac{1}{20} = \tfrac94. (The indicators are pairwise but not mutually independent, which linearity does not need.)

  5. Transformations and Generating Functions · Multiple choice · 2 marks

    Let X∼Normal(1,4)X \sim \text{Normal}(1, 4) and Y∼Normal(3,9)Y \sim \text{Normal}(3, 9) be independent. Select all of the following statements that are true.

    1. X+Y∼Normal(4,13)X + Y \sim \text{Normal}(4, 13)

    2. X−Y∼Normal(−2,13)X - Y \sim \text{Normal}(-2, 13)

    3. X−Y∼Normal(−2,5)X - Y \sim \text{Normal}(-2, 5)

    4. 2X∼Normal(2,16)2X \sim \text{Normal}(2, 16)

    5. 2X∼Normal(2,8)2X \sim \text{Normal}(2, 8)

    Show solution

    Answer: (A, B, D)

    Sums and differences of independent normals are normal, with means that add or subtract but variances that always add. So X+YX + Y has mean 44 and variance 4+9=134 + 9 = 13, and X−YX - Y has mean −2-2 and variance 1313; the variance 55 comes from subtracting variances. For the multiple 2X2X the mean doubles and the variance is multiplied by 22=42^2 = 4, giving 1616; the variance 88 multiplies by 22 only.

About STATS 100A practice exams

STATS 100A practice exams

Introduction to Probability · University of California, Los Angeles (UCLA, UC Los Angeles) · also written STATS100A

Make a free, printable STATS 100A practice exam: choose the topics, the length and the difficulty above, and get an exam-style PDF with a full answer key. Each paper draws on 420 original questions and skips the ones you have already seen.

Looking for STATS 100A past exams?

Start with the past exams and tests your instructor or the UCLA library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh STATS 100A practice exams here on the same topics, with full answer keys, as many as you need. The questions here are original, not copies of past exams.

Topics covered

  • Sample Spaces and Counting · 60 questions
  • Conditional Probability, Bayes and Independence · 60 questions
  • Discrete Random Variables · 60 questions
  • Continuous Random Variables · 60 questions
  • Expectation and Variance · 60 questions
  • Joint Distributions, Covariance and Correlation · 60 questions
  • Transformations and Generating Functions · 60 questions

More UCLA courses

questionbank.dev is independent and not affiliated with University of California, Los Angeles. Course codes only say which topics a paper covers; papers are original practice material, not past or upcoming exams.