Practice Problems for Exam 1
Problem 1.
A random number of bulbs from a certain factory is taken for a test. The
lifetime in thousands of hours is given by
1
,
20
,
7
,
16
,
22
,
30
,
11
,
2
,
3
,
15
,
12
,
8
,
11
,
20
,
30
,
1
,
5
,
15
.
1. Find the mean and the median.
2. Draw a histogram of the sample.
3. Based on the intervals
[0
,
5)
,
[5
,
10)
,
[10
,
17)
,
[17
,
25)
,
[25
,
35)
, draw the density of the
sample.
Solution.
1.
Mean = 229
/
18 = 22
.
7222
,
Median = 23
/
2 = 11
.
5
.
0
5
10
15
20
25
30
0.5
1.0
1.5
2.0
2.
5
10
15
20
25
30
35
0.01
0.02
0.03
0.04
0.05
3.
Problem 2.
In choosing a lunch a person is faced with three options, salad, meat plate or
pasta. Assume that the person is twice likely to choose pasta than meat or salad. Write the
sample space of the experiment and ﬁnd the probability that the person chooses meat.
Solution.
The sample space is given by
S
=
{
s,m,p
}
. We know that
P
(
p
) = 2
P
(
m
) =
2
P
(
s
) and on the other hand
P
(
p
) +
P
(
m
) +
P
(
s
) = 1, therefore
P
(
m
) =
P
(
s
) = 1
/
4 and
P
(
p
) = 1
/
2.
Problem 3.
A password consists of a combination of seven digits and letters. How many
diﬀerent passwords are possible if
1. the ﬁrst 3 are digits and the other 4 are letters;
1