Sample ECE 313 questions
  1. Sample Spaces and Counting · Short answer · 2 marks

    How many solutions are there in positive integers (x1,x2,x3,x4)(x_1, x_2, x_3, x_4) to x1+x2+x3+x4=10x_1 + x_2 + x_3 + x_4 = 10?

    Show solution

    Put yi=xi−1≥0y_i = x_i - 1 \ge 0. Then y1+y2+y3+y4=6y_1 + y_2 + y_3 + y_4 = 6, and stars and bars (6 stars, 3 bars) gives (93)=84\binom{9}{3} = 84 solutions.

  2. Discrete Random Variables · Multiple choice · 1 mark

    A discrete random variable XX has P(X=1)=0.2P(X = 1) = 0.2, P(X=2)=0.5P(X = 2) = 0.5 and P(X=4)=0.3P(X = 4) = 0.3. The value of the cdf at 3.73.7, FX(3.7)F_X(3.7), is

    1. 0.50.5

    2. 0.70.7

    3. 1.01.0

    4. undefined, since XX never equals 3.73.7

    Show solution

    Answer: (B)

    The cdf is defined at every real number: FX(3.7)=P(X≤3.7)=P(X=1)+P(X=2)=0.7F_X(3.7) = P(X \le 3.7) = P(X = 1) + P(X = 2) = 0.7, since the value 4 exceeds 3.73.7. The value 0.50.5 keeps only the last value below 3.73.7, the value 1.01.0 is FX(4)F_X(4), and the cdf is a step function that is defined between the values XX can take, so it is not undefined.

  3. Conditional Probability, Bayes and Independence · Problem · 5 marks

    Two fair dice are rolled. Let AA be the event that the first die is odd, BB the event that the second die is odd, and CC the event that the sum of the two dice is odd.

    1. Show that AA, BB and CC are pairwise independent. [2]

    2. Are AA, BB and CC mutually independent? Justify your answer. [1]

    3. Are AA and BB independent given CC? Justify your answer. [2]

    Show solution

    (a) P(A)=P(B)=P(C)=12P(A) = P(B) = P(C) = \tfrac12 (the sum is odd exactly when one die is odd and the other even). Also P(A∩B)=14=P(A)P(B)P(A \cap B) = \tfrac14 = P(A)P(B); P(A∩C)=P(first odd, second even)=14=P(A)P(C)P(A \cap C) = P(\text{first odd, second even}) = \tfrac14 = P(A)P(C); and P(B∩C)=P(first even, second odd)=14=P(B)P(C)P(B \cap C) = P(\text{first even, second odd}) = \tfrac14 = P(B)P(C). So every pair is independent.

    (b) No. If AA and BB both occur the sum is even, so A∩B∩C=∅A \cap B \cap C = \varnothing and P(A∩B∩C)=0≠18=P(A)P(B)P(C)P(A \cap B \cap C) = 0 \ne \tfrac18 = P(A)P(B)P(C). Pairwise independence does not imply mutual independence.

    (c) P(A∩B∣C)=0P(A \cap B \mid C) = 0, while P(A∣C)P(B∣C)=12⋅12=14P(A \mid C)P(B \mid C) = \tfrac12\cdot\tfrac12 = \tfrac14. So AA and BB are independent, but not conditionally independent given CC.

  4. Transformations and Generating Functions · Problem · 3 marks

    1. Let X∼Poisson(λ)X \sim \text{Poisson}(\lambda). Starting from the definition, show that MX(t)=eλ(et−1)M_X(t) = e^{\lambda(e^{t} - 1)}. [1]

    2. Two branches of a bank independently receive X∼Poisson(4)X \sim \text{Poisson}(4) and Y∼Poisson(6)Y \sim \text{Poisson}(6) complaints in a day. Use mgfs to find the distribution of the total X+YX + Y. [1]

    3. Find the probability that the two branches together receive at most one complaint in a day. [1]

    Show solution

    (a) MX(t)=∑k=0∞etk e−λλkk!=e−λ∑k=0∞(λet)kk!=e−λeλet=eλ(et−1)M_X(t) = \displaystyle\sum_{k=0}^\infty e^{tk}\,\frac{e^{-\lambda}\lambda^k}{k!} = e^{-\lambda}\sum_{k=0}^\infty\frac{(\lambda e^{t})^k}{k!} = e^{-\lambda}e^{\lambda e^{t}} = e^{\lambda(e^{t} - 1)}.

    (b) By independence MX+Y(t)=e4(et−1) e6(et−1)=e10(et−1)M_{X+Y}(t) = e^{4(e^t - 1)}\,e^{6(e^t - 1)} = e^{10(e^t - 1)}, the mgf of Poisson(10)\text{Poisson}(10). Since an mgf determines the distribution, X+Y∼Poisson(10)X + Y \sim \text{Poisson}(10).

    (c) P(X+Y≤1)=e−10+10e−10=11e−10≈0.0005P(X + Y \le 1) = e^{-10} + 10e^{-10} = 11e^{-10} \approx 0.0005.

  5. Inequalities and Limit Theorems · Short answer · 2 marks

    True, False or Uncertain? Explain your answer. The random variable XX is non-negative with E[X]=3E[X] = 3. By Markov’s inequality P(X≥6)≤12P(X \ge 6) \le \tfrac12, so we can conclude that P(X<6)≥12P(X < 6) \ge \tfrac12.

    Show solution

    True. The events {X≥6}\{X \ge 6\} and {X<6}\{X < 6\} are complementary, so P(X<6)=1−P(X≥6)≥1−12=12P(X < 6) = 1 - P(X \ge 6) \ge 1 - \tfrac12 = \tfrac12. An upper bound on the probability of an event is a lower bound on the probability of its complement.

About ECE 313 practice exams

ECE 313 practice exams

Probability with Engineering Applications · University of Illinois Urbana-Champaign (UIUC, Illinois, U of I) · also written ECE313

Make a free, printable ECE 313 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 480 original questions and skips the ones you have already seen.

Looking for ECE 313 past exams?

Start with the past exams and tests your instructor or the UIUC library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh ECE 313 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
  • Discrete Random Variables · 60 questions
  • Expectation and Variance · 60 questions
  • Conditional Probability, Bayes and Independence · 60 questions
  • Continuous Random Variables · 60 questions
  • Transformations and Generating Functions · 60 questions
  • Joint Distributions, Covariance and Correlation · 60 questions
  • Inequalities and Limit Theorems · 60 questions

More UIUC courses

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