Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
EEE 25: Probability and Statistics for Electrical and Electronics Engineers
Long Quiz 01
September 14, 2015, 8:00 AM 10:00 AM
------------------------------------------------------------------------------------------------------------------------------------------------------INSTRUCTIONS: This is a closed-notes-closed-books exam. Use only black or blue pen. Write your name,
student number, and section, on the upper portion of each page. Copy the HONOR CODE on the
second page of this document and place your signature and printed name after.
This document includes the questionnaire and has space for your solutions and answers. For the
multiple-choice part, write the letter of the correct answer on the space provided. No need to provide
the solution.
For the problem solving part, write your complete solution and/or proof. Label your graphs completely.
You may attach additional sheets if the spaces are not enough. Be sure to box your final answers. The
checker reserves the right to disregard solutions that are incomprehensible and/or illegible.
You are only allowed to consult with the instructor. Cheating will not be tolerated. Good luck!
------------------------------------------------------------------------------------------------------------------------------------------------------HONOR CODE
I do hereby affirm, on my honor as a student at the end of this exercise, that I had no unlawful
knowledge of the questions or answers prior to this exercise and that I have neither given nor received
assistance in answering any of the questions during this exercise.
_________________________________________________
Name, Student Number and Signature
-------------------------------------------------------------------------------------------------------------------------------------------------------
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
HONOR CODE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------___________________________________________
NAME, STUDENT NUMBER, and SIGNATURE
------------------------------------------------------------------------------------------------------------------------------------------------------MULTIPLE-CHOICE QUESTIONS (2 POINTS EACH): Write the letter of the correct answer on the space
provided. No need to provide the solution.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
BONUS
18.
19.
20.
FOR QUESTIONS 1 TO 5: Three similar keypads were obtained from cell phone manufacturers: K1, K2, and
K3. The keypads differ from one another by their assigned alphanumeric and symbolic characters as
shown in the table.
1
2
3
4
5
6
7
8
9
*
0
#
K1
<space>1
ABC2
DEF3
GHI4
JKL5
MNO6
PQRS7
TUV8
WXYZ9
*
.,?!0
#
K2
1.,?!
ABC2
DEF3
GHI4
JKL5
MNO6
PQRS7
TUV8
WXYZ9
*
0
<space>#
K3
1.,?!
ABC2
DEF3
GHI4
JKL5
MNO6
PQRS7
TUV8
WXYZ9
*
<space>0
#
C. 5
D. 4
( K1 = 2) (( K 2 = 0) ( K3 = 1)) ?
C. {ABC201.,?!}
D. null space
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
3. Given the table. What is the mean number of presses to get an alphabet character from keys 2-9?
A. 1.5
B. 2
C. 1.75
D. 3
~ ( K1 K 2 K3) ?
A. {.,?!0#<space>1}
B. {.,?!#<space>}
C. {.,?!<space>}
D. null space
5. What are the chances of getting a ? character after pressing 0 at least once in a randomly selected
keypad?
A. 1/3
B. 1/15
C. 1/12
D. 0
A. 210
B. 102
7. Given the same 10-items true-false test, what is the probability of getting exactly 5 correct answers?
A. (12)5(12)5(10!/2!)
B. (12)5(12)5
C. (12)5(12)5(10!/5!)
D. (12)5(12)5(10C5)
A.
P ( Bi A)
C.
i=1
k
B.
i=1
k
P ( B ) P ( B A)
i
i=1
P ( B ) P ( B A)
D.
P ( B A)
i
i=1
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
10. If the probability that a commuter will make a mistake on what bus route to take along EDSA is 0.05,
find the probability that both Juan and John will both make mistakes given that Juana and Joanne
will NOT make mistakes. The four are unrelated.
C. (0.052)(0.052)
D. 0.052 + 0.052
A. 0.05 + 0.05
B. 0.052
11. The number of days that a student is considered as absent throughout one semester is an example
of:
A. Discrete random variable only
B. Continuous random variable only
12. If
A.
X is a valid discrete random variable, then the following holds true except:
X x is an event.
B.
x
20
30
40
P ( X = x ) 0.21 0.65 0.14
How many labourers are expected to work in a certain day?
A. 29.0
B. 29.3
C. 29.5
D. 30.0
14. From #13, if the number of items produced in a certain day is described by
many items are expected to be produced in a certain day?
A. 610
B. 616
C. 626
D. 630
C. Variance
D. Standard deviation
16. Which of the following correctly computes for P ( a < X b) for a continuous random variable
For the choices below, the term f X ( x ) refers to the PDF of
X?
variables CDF.
A.
f X ( b) f X ( a )
C. FX ( b) FX ( a ) + f X ( b)
B.
FX ( b) FX ( a )
D. FX ( b) FX ( a ) + f X ( b) f X ( a )
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
17. What should be the value for b so that the probability density function below will be valid for a
continuous random variable X ? BONUS
"$ 2x + b, 0 x < 3
fX ( x ) = #
0,
otherwise
%$
A. 3/2
B. 3
C. 8/3
D. 2/3
18. Which of the following is a valid CDF of a purely continuous random variable?
A.
C.
B.
D.
C. 19
D. 25
FY ( y = a ) is equivalent to
a
0
fY ( y ) dy .
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
PROBLEM SOLVING: Write your complete solution and/or proof. Label your graphs completely. You may
attach additional sheets of ruled paper if the spaces are not enough. A specific color of ruled paper is
assigned to each problem for this case. Be sure to box your final answers.
PROBLEM 01 (15 POINTS, YELLOW): An EEE bar tender was asked to make a recipe chart of his three best
cocktails. His cocktails are as follows:
Cocktail
Bloody Bayes
Laplace on the beach
Faraday Island
Symbol
B
L
F
Ingredients
rum, coke, strawberry syrup, sugar
beer, coke, hot sauce, sugar
tequila, strawberry syrup, hot sauce, sugar
0.625
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
PROBLEM 02 (15 POINTS, BLUE): In Metro Manila, it's rainy one third (1/3) of the days. Given that it is rainy,
there will be heavy traffic with probability 0.50, and given that it is not rainy, there will be heavy traffic
with probability 0.25.
If it's rainy and there is heavy traffic, Juan arrives late for work with probability 0.50. On the other hand,
the probability of Juan being late is reduced to 0.125 if it is not rainy and there is no heavy traffic. In
other situations (rainy and no traffic, not rainy and traffic) the probability of being late is 0.25. Picking a
random day, find the probability that Juan is late.
Use the following representation for the different events involved:
Random Variable
R
T
L
Description
Rainy day
Heavy traffic
Juan is late for work
For quick reference, the information given in the problem is summarized below:
Probability Statement
P(R)
P(T | R)
P(T | ~R)
P(L|(R T))
A.
B.
C.
D.
HINT:
Value
1/3
0.50
0.25
0.50
Probability Statement
P(L|(~R ~T))
P(L|(~R T))
P(L|(R ~T))
Value
0.125
0.25
0.25
SOLUTION:
A.
P(T) = P(T | R) P(R) + P(T | R') P(R')
= (12)(1/3) + (14) (2/3)
P(T) = 1/3
B.
P(T'|R) = 1 - P(T|R)
=1 12
P(T'|R) = 12
C.
P(T'|R') = 1 - P(T|R')
=1 14
P(T'|R') = 3/4
D.
P(L) = P(LRT) + P(LR'T ') + P(LRT ') + P(LR'T)
= P(L|RT)P(RT) + P(L|R'T ')P(R'T ') + P(L|RT ')P(RT ') + P(L|R'T)P(R'T) = (12)P(T|R)P(R) +
(1/8)P(T '|R')P(R') + (14)P(T '|R)P(R) + (14) P(T |R')P(R')
= (1/2)(1/2)(1/3) + (1/8)(3/4)(2/3) + (1/4)(1/2)(1/3) + (1/4)(1/4)(2/3)
= 11/48
P(L) = 11/48
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
PROBLEM 03 (15 POINTS, PINK): Suppose a randomly selected family has 3 children. Let
boys in the family. Assume that having a boy and girl is equally likely (i.e., P G = P B
( )
B the number of
) = 0.50 ). Assume
( )
4. (2 POINTS) What is the probability that a randomly-selected family has at least one boy?
5. (2 POINTS) What is the expected number of boys in a randomly-selected, three-children family?
SOLUTION AND ANSWERS
NO PARTIAL POINTS
1. Outcomes:
2 2 2 = 23 = 8
( )
4.
P ( B 1) = 1 P ( B = 0 ) = 0.875
5.
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
PROBLEM 04 (15 POINTS, GREEN): A computer program can generate a series of pseudo-random
numbers, which we can treat as a random variable X that follows a uniform distribution. For example, a
set of pseudo-random numbers coming from the range [0,1] will have the probability density function
below:
" 1, 0 x < 1
$
fX ( x ) = #
$
% 0, otherwise
A. (5 POINTS) Determine the mean and variance of X .
B. (3 POINTS) What is the probability that X will have a value that is one standard deviation away
from its mean?
C. (7 POINTS) A set of random numbers from a different interval a, b can be generated by using
Correct mean
E [ X ] is given two (2) points, and correct variance X2 is given three (3) points. All
E [X] =
1
0
xf X ( x ) dx
x dx
= 0.50x
2 x=1
x=0
= 0.50
F.
Solving for
2
2
X2 = E "#( X E [ X ]) $% = E "# X 2 $% ( E [ X ])
2
= E "# X 2 $% ( 0.50 )
1
0
x3
=
3
x 2 dx 0.25
x=1
0.25 =
x=0
1
or 0.0833
12
points.
Since we are looking for the probability that a continuous RV can have an exact value, the answer
must be ZERO.
G. Correct mean
E [Y ] is given three (3) points, and correct variance Y2 is given four (4) points. All
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015
NAME:
____________________________________
STUDENT NUMBER:
____________________________________
SECTION:
_______________
2
2
Y2 = E "#(Y E [Y ]) $% = E "#Y 2 $% ( E [Y ])
2
2
= E "&{a + ( b a ) X } $' {0.50 ( a + b)}
#
%
2
2
= E "&a 2 + 2a ( b a ) X + {( b a ) X } $' 0.25 ( a + b)
#
%
E [Y ] = E "#a + ( b a ) X $%
= E [ a] + (b a) E [ X ]
= a + ( b a ) ( 0.50 )
= 0.50 ( a + b)
2
2
= a 2 + 2a ( b a ) E [ X ] + ( b a ) E "# X 2 $% 0.25 ( a + b)
2
= a 2 + 2a ( b a ) E [ X ] + ( b a ) X2 + ( E [ X ]) 0.25 ( a + b)
+
2( 1
2
= a 2 + 2a ( b a ) ( 0.50 ) + ( b a ) * + 0.50 2 - 0.25 ( a + b)
) 12
,
1
= a 2 + ab a 2 + ( b 2 2ab + a 2 ) 0.25 ( b 2 + 2ab + a 2 )
3
(1 1 + 2 ( 2 1 +
(1 1 +
= * - a + *1 - ab + * - b 2
)3 4,
) 3 2,
)3 4,
1
2
1
1
2
= a 2 ab + b 2 = ( a b)
12
12
12
12
Long Quiz 01
EEE 25: Probability and Statistics for Electrical and Electronics Engineers 2015