Docsity

Midterm Exam for ECE 302 - Prof. Chih-Chun Wang, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 302, Midterm #2
7:00-8:00pm Thursday, Feb. 22, EE 170,
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 5 questions. You have one hour to complete it. I will suggest
not spending too much time on a single question, and work on those you know how
to solve.
4. The sub-questions of a given question are listed from the easiest to the hardest.
The best strategy may be to finish only the sub-questions you know exactly how to
solve.
5. There are a total of 11 pages in the exam booklet. Use the back of each page for
rough work.
6. Neither calculators nor help sheets are allowed.
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
pfa

Partial preview of the text

Download Midterm Exam for ECE 302 - Prof. Chih-Chun Wang and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 302, Midterm # 7:00-8:00pm Thursday, Feb. 22, EE 170,

  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 5 questions. You have one hour to complete it. I will suggest not spending too much time on a single question, and work on those you know how to solve.
  4. The sub-questions of a given question are listed from the easiest to the hardest. The best strategy may be to finish only the sub-questions you know exactly how to solve.
  5. There are a total of 11 pages in the exam booklet. Use the back of each page for rough work.

6. Neither calculators nor help sheets are allowed.

  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: [20%] A salesperson travelled between cities A, B, and C for four consecutive nights, and each night he could only stay in one city. Suppose the populations of cities A, B, and C are 2, 1, and 0.5 millions respectively. At day 1, the salesperson started from city A and stayed there for the first night. For the next three mornings, the salesperson randomly selected the next destination from the two cities excluding the city he stayed for the last night, and the probability he chose a certain city was proportional to the population of that city. For example, if he stayed in city B for the third night, then he could only spend the fourth night in either city A or city C. And the probabilities that he chose cities A and C are P (A|B) = c × 2 and P (C|B) = c × 0 .5 for a common c.

  1. [5%] What is the sample space?
  2. [5%] Use the tree method to specify the weight assignment for the sample space.
  3. [5%] What is the probability that the salesperson was able to visit all three cities?
  4. [5%] What is the probability that the salesperson visited city B twice, given that the salesperson had visited all three cities?

Question 2: [20%] Consider a continuous random variable X with its pdf fX (x) as follows.

fX (x) =

c(x + 1) if x ∈ [− 1 , 0] c(1 − x) if x ∈ (0, 1] 0 otherwise.

  1. [5%] Find the value of c.
  2. [5%] What is the definition of the cumulative distribution function (usually denoted by FX (x))?
  3. [5%] Find the cdf FX (x).
  4. [5%] Consider two events: A = {X ≤ 0 } and B =

X^2 > √^12

. Are A and B independent?

Question 4: [20%] A factory is producing GPS chips. From the historic data, there are in average 20 defective chips per 24 hours being produced.

  1. [10%] A consumer electronics company wants to place a big order of GPS chips and will pay this factory a visit. During the 3-hour visit, if there are more than 2 defective chips being produced, the company will cancel the order. What is the probability that the order will be cancel? You can assume the number of defective chips is Poisson distributed.
  2. [10%] Find out the conditional probability that P (there are precisely 2 defective chips|the order is cancelled). But this time, we assume the number of defective chips is geometrically distributed with parameter p = 0.9.

Question 5: [25%] Consider X being the snow precipitation of February (with unit: “inch”). From the historical data (or we may assume that), X is a Gaussian distribution with m = 20, σ = 10. Your answers have to be computed/converted to numbers or ratio- nal numbers “a/b” instead of only writing down the integrals. You may want to use the included table of Φ(x), the cumulative distribution of a standard Gaussian distribution.

  1. [5%] What is the definition of the standard Gaussian distribution?
  2. [5%] Find the probability that P (X ≤ 20).
  3. [5%] Find the probability that P (20 ≤ X < 40).
  4. [5%] Find the probability that P (5 ≤ X < 10).
  5. [5%] Conditioning that there have already been 25 inches of snow between 2/1–2/21, what is the probability that there will be an additional 10 inches of snow in the next week (between 2/22–2/28).

Φ(0.5) = 0.691, Φ(1) = 0.841, Φ(1.5) = 0.9332, Φ(2) = 0.9662, Φ(2.5) = 0.99379, Φ(3) = 0.99865.