Docsity

Midterm Exam 1 - Probabilistic Methods in Computer Engineering | ECE 30200, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 302, Midterm #1
7:00–8:00pm Wed. Feb 8, PHYS 114
1. Enter your name, student ID number, e-mail address, and signature in the space
provided on this page, NOW!
2. This is a closed book exam.
3. This exam contains 8 questions and is worth 100 points + 15 bonus points. You
have one hour to complete it. So basically, you only need to answer ≈7 questions
correctly to get full grade. I will suggest not spending too much time on a single
question, and work on those you know how to solve.
4. There are a total of 9 pages in the exam booklet. Use the back of each page for
rough work. Feel free to ask the TA if you need more papers.
5. Neither calculators nor help sheets are allowed.
6. Important! There is no question identical to the exercises, and therefore trying
to duplicate those solutions from your memory will be given zero credit.
7. Read through all of the problems first, and consult with the TA during the first
15 minutes. After that, no questions should be asked unless under special circum-
stances, which is at TA’s discretion. You can also get a feel for how long each
question might take after browsing through the entire question set. Good luck!
Name:
Student ID:
E-mail:
Signature:
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Midterm Exam 1 - Probabilistic Methods in Computer Engineering | ECE 30200 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 302, Midterm # 7:00–8:00pm Wed. Feb 8, PHYS 114

  1. Enter your name, student ID number, e-mail address, and signature in the space provided on this page, NOW!
  2. This is a closed book exam.
  3. This exam contains 8 questions and is worth 100 points + 15 bonus points. You have one hour to complete it. So basically, you only need to answer ≈7 questions correctly to get full grade. I will suggest not spending too much time on a single question, and work on those you know how to solve.
  4. There are a total of 9 pages in the exam booklet. Use the back of each page for rough work. Feel free to ask the TA if you need more papers.
  5. Neither calculators nor help sheets are allowed.

6. Important! There is no question identical to the exercises, and therefore trying

to duplicate those solutions from your memory will be given zero credit.

  1. Read through all of the problems first, and consult with the TA during the first 15 minutes. After that, no questions should be asked unless under special circum- stances, which is at TA’s discretion. You can also get a feel for how long each question might take after browsing through the entire question set. Good luck!

Name:

Student ID:

E-mail:

Signature:

Question 1: (15%) A six-faced die, with faces numbered as 1, · · · , 6, is tossed and the number of dots facing up is noted.

  1. (5%) Show that the event A = {X ≥ 4 } “implies” B = {(X+4) is not a prime number} “implies” C = {X ≥ 2 }.
  2. (5%) Construct the probability of the elementary events under the assumption that the face with a single dot is three times as likely to be facing up as any one of the rest 5 faces.
  3. (5%) Under the above probability assignment, find the probabilities of P (A), P (B), P (C).

Question 3: (7%) A random experiment has a sample space S = {x, y, z}. Suppose that P ({x, z}) = 1/3 and P ({y, z}) = 7/9. Use the axioms of probability to find the probabilities of the elementary events, namely, what are P ({x}), P ({y}), P ({z}).

Question 4: (12%) Two numbers X and Y are independently selected from the interval [0,1] uniformly randomly.

  1. (5%) Find the probability that they differ by more than 1/3.
  2. (7%) The two events A and B are defined as follows:

A = {X > 0. 5 }, B = {X > Y }.

Show that A and B are NOT independent.

Question 6: (15%) A salesperson travelled between cities A, B, and C for four consecutive nights, and each night he could only stay in one city. At day 1, the salesperson started from city A and stayed there for the first night. For the next three mornings, the salesperson uniformly randomly selected the next destination from the two cities excluding the city he stayed for the last night. For example, if he stayed in city B for the third night, the fourth night of his can only be in either city A or city C.

  1. (8%) What is the probability that the salesperson was able to visit all three cities?
  2. (7%) What is the probability that the salesperson visited city A twice, given that the salesperson had visited all three cities.

Question 7: (24%) The waiting time X of a customer in a queueing system is zero if he finds the system idle, and an exponentially distributed random length of time if he finds the system busy. The probabilities that he finds the system busy or idle are q and 1 − q, respectively.

  1. (2%) What is the sample space? Hint, the waiting time t takes values in real numbers.
  2. (7%) What is the corresponding cumulative distribution function (cdf)? Hint: con- sider two cases: x < 0 and x ≥ 0.
  3. (3%) Using the cdf obtained in 2., compute the probability P (X ∈ [0, 3])?
  4. (2%) What kind of random variables is X? A discrete random variable, a continuous random variable, or a mixed random variable? It is a multiple-choice question. No need to write down the justification.
  5. (10%) Construct the generalized probability density function (pdf) using delta func- tions, namely, using δ(x − x 0 ). For your reference, the pdf of an exponential distribution is f (t) = λe−λt, where λ > 0 is a parameter.