Professional Documents
Culture Documents
Exam2 Sample
Exam2 Sample
1. (20 points) Consider the binary communication channel modeled as shown in the figure below, which shows the
probabilities that the sender transmits a 0 or a 1, and that the channel makes an error for a 0 or a 1.
(a) Compute the probability that the receiver receives a 0.
(b) Compute the probability that the sender transmitted a 1 given that the receiver obtains a 0.
⎧ ⎛ ⎞
⎪ cx 3 ⎜1+ 3 ⎟ 1 ≤ x ≤ 10
f X (x) = ⎨ ⎝ x ⎠
2
⎪
⎩ 0 otherwise
(a) Find the value of c. (b) Find the CDF of X. (c) Find P[ X > 2]
CMPE 107 Spring 2019 CLOSED BOOK, CLOSED NOTES Sample Exam 2
3. (20 points) . Prove that the variance of the Geometric random variable equals (1 – p)/p2, where p is the
probability of success in each trial.
CMPE 107 Spring 2019 CLOSED BOOK, CLOSED NOTES Sample Exam 2
4. (20 points) Consider the random variable X with the following probability mass function:
⎧ 1
⎪ (x +1) 2 x = 0, 2, 3
p X (x) = ⎨ k
⎪
⎩ 0 otherwise
(a) What is the value of the constant k? (c) What is E(X)? (d) What is Var(X)?
CMPE 107 Spring 2019 CLOSED BOOK, CLOSED NOTES Sample Exam 2
2 2
5. (20 points) Prove that, for any discrete random variable, Var(X) = E(X ) − E (X)
CMPE 107 Spring 2019 CLOSED BOOK, CLOSED NOTES Sample Exam 2
Table 1:
Table 2: