Professional Documents
Culture Documents
in
DEPARTMENT OF MATHEMATICS
QUESTION BANK
PROBABILITY AND QUEUEING THEORY
Subject Code: MA6453 (II CSE & II I T)
Semester : IV
UNIT - I
RANDOM VARIABLES
PART A
:
:
0
0.1
1
0.4
2
3
0.9 1.0
0 , x < -3
F (x)
1 , -3 < x < 6
6
1 , 6 < x < 10
3
1,
(i)
(ii)
x > 10
1
1+x
, - < x <
2
www.cseitquestions.in
www.cseitquestions.in
xe
-x
, x > 0.
,x>0
F (x) = 1 - ( 1 + x ) e - x
13. Define r
th
15. Define binomial B(n,p) distribution. Obtain its m.g.f , mean and variance.
16. The mean of the binomial distribution is 20 and standard deviation is 4.
Find the Parameters of the distribution.
17. Obtain m.g.f of a Poisson distribution.
18. The number of monthly breakdowns of a computer is a r.v having a Poisson
distribution with mean equal to 1.8. Find the probability that this computer will
function for a month with only one breakdown.
19. If X is a Poisson variate such that P[X=2] = 9 P[X=4] + 90 P[X=6],
find the Variance.
20. Define geometric distribution and give its m.g.f, mean and variance.
1
21. Show that for the uniform distribution f ( x) =
, - a < x < a the m.g.f about
2a
the origin is
sinh at
a t
2
23 . If X is a uniform random variable in [ - 2 , 2 ], find the p.d.f of X and Var[X].
24. The time( in hours) required to repair a machine is exponentially distributed
1
with parameter = . What is the probability that the repair time exceeds 3
3
hours?.
25. The life time of a component measure in hours is Weibull distribution with
parameters = 0.2 , = 0.5 . Find the mean and variance of the component.
www.cseitquestions.in
www.cseitquestions.in
PART B
1. A random variable X has the following distribution.
x
P(x)
Find
:
:
-2
0.1
-2
k
0
0.2
1
2k
2
0.3
3
3k
www.cseitquestions.in
www.cseitquestions.in
1) Show that
E[X
2 ( 1 - x ) , 0 < x <1
f ( x) =
0 , otherwise
] = (r 1)(r 2)
E[ (2X+1) ]
7. A man draws 3 balls from an urn containing 5 white and 7 black balls. He gets Rs.10
for each white ball and Rs.5 for each black ball. Find his expectation.
8. A random variable X has the p.d.f f (x)
1
k
, 0<x<k.
Find 1) m.g.f
th
2) r
moment
3) mean
4) variance
9. The diameter of an electric cable X is a continuous random variable with p.d.f
f(x) = k x (1 - x) , 0 < x < 1 .
Find 1) the value of k.
2) the c.d.f of X.
3)
Px
1
2
1
3
<x<
2
3
10. Find the moment generating function of the random variable with the probability law
P X x = q
p , x = 1 , 2 , 3 ..... .
Also find the mean and variance.
x-1
x
11. For the triangular distribution
f ( x) = 2-x
0
, 0<x<1
, 1<x<2
, otherwise
1) MX (t ) = e
2) M X (t ) =
www.cseitquestions.in
www.cseitquestions.in
1
13. Let X be a random variable with p.d.f
f (x) =
e
0
Find
-- x
2
x>0
otherwise
1. m.g.f of X.
2. P[X > 3]
3. E[X]
4. Var[X]
14. Ten coins are simultaneously tossed. Find the probability of at least 7 heads.
15.
16.
17.
Let the random variable X follows binomial distribution with the parameters n, p.
Find
1) the p.m.f of X
2) m.g.f of X.
3) mean and variance.
20.
Find the m.g.f of a Poisson variable and hence deduce that the sum of two
independent Poisson variables is a Poison variate, while the difference is not a
Poisson variate.
21.
22.
23.
Define Geometric distribution. Find the m.g.f of Geometric distribution and hence find
its mean and variance.
www.cseitquestions.in
www.cseitquestions.in
24.
Suppose that the trainee soldiers shots independently. If the probability that the target
shot an any one shot is 0.7
1)
2)
3)
4)
25.
th
X1
27.
Starting at 5.00 A.M every half an hour there is a flight from San Francisco Airport to
Los Angels International Airport. Suppose that none of these planes is completely sold
out and then they always have room for passengers. A person who wants to fly to Los
Angels arrives at the airport at a random time between 8.45 A.M and 9.45 A.M. Find
the probability that she waits i) at most 10 mins ii) at least 15 mins.
28.
29. The number of personal computers (PC) sold at a computer world is uniformly
distributed with minimum of 2000 PC and a maximum of 5000 PC.
Find
30.
1) the probability that daily sales will fall between 2,500 and 3000 PC.
2) what is the probability that the computer world will sell at least 4000 Pc?
3) what is the probability that the compute world will sell at most 2500 PC?
Find the m.g.f of exponential distribution and hence find its mean and variance.
www.cseitquestions.in
www.cseitquestions.in
34.
If the life time (in hrs) X of a certain type of car has a weibull distribution with the
parameter = 2 . Find the parameter , given that the probability that the life time of
- 0.25
the car exceeds 5 years is e
. For both parameters find mean and variance of X.
35.
Each of the six tubes of a radio set has a life length(in years) follows a WEIBULL
distribution with parameters = 25 , = 2 . If these tubes function independently of
one another, what is the probability that no tube will have to be replaced during the
first two months of operation?
36.
If X is uniformly distributed in
37.
2x
********************
END
********************
www.cseitquestions.in
X2
, 0 x
, otherwise
and Y
= e - X , find
www.cseitquestions.in
Unit-1
RANDOM VARIABLES
1. Define a Random Variable
Solution:
A random variable is a function that assigns a real number X(s)
to every element s S
Where S is a sample space corresponding to a random experiment E.
q = 1-p
= 1-5/100 =95/100
n=5
P(X=3) = e
0.25
(0.25)3
2!
0.002
1
www.cseitquestions.in
www.cseitquestions.in
0
0.1
1
0.4
2
0.9
3
1
0
0.1
1
0.3
2
0.5
3
0.1
Solution:
X
p(x)
1 ,6 x 10
3
1,x 10
1 1
=
6
-0=
66
WKT f(x) =
d[F(X )]
dx
=0
2
www.cseitquestions.in
www.cseitquestions.in
Solution:
'
'
'
'
'2
Variance = 2 2 1 4 1 3
'
'
'
3 3 3 2 1 21
'3
10 3(4)(1) 2(1) 0
'
'
'
'
'
4 4 4 3 1 6 2 1 31
2
'4
k k
k
35
=1 2
61k =1
30
30
K=
61
3
www.cseitquestions.in
www.cseitquestions.in
P(x=1)=k/2 =15/61
P(X=2)=k/3 =10/61
P(X=3)=k = 30/61
P(X=4)=k/5 = 6/61
X
p(x)
1
15/61
2
10/61
3
30/61
4
6/61
f(x)= (
), x
1 x2
Solution:
WKT
f(X)=P(X x)
= f(x)dx
1
1
2
= ( 1 x )dx
1
1
x
[ tan x ]
[tan x tan ( )]
F(x) =
[tan
x2
4
www.cseitquestions.in
www.cseitquestions.in
11. A random variable X has p d f f(X)=Cxe , x>0. fine the value of C and C d f
of X
x
Solution:
f(x)dx 1
0
Cxe dx 1
x
C[x( e ) (1)(e )] 1
C[(0 0) (0 1)] 1
C1
F(x) P(X x)
x
Cxe dx
x
0x
xe
dx Cxe dx
x
0 [ x( e
x
x
) 1(e )]0
[( xe e ) (0 1)]
xe e 1
x
F(x) 1 e ( x 1)
x
12. The C.d.f of a random variable X is F(X) =1-(1+x) e , x>0. Find the
density Function of X
x
Solution:
WKT
f(x) d(F(x))
dx
[1 (1 x)e ]
dx
((1 x)e
dx
[ e xe e ]
x
xe ,x 0
x
5
www.cseitquestions.in
www.cseitquestions.in
13. Define r
th
Solution:
r
e(X x)
(x x) p(x),ifxisdiscrete
r
(x x) f(x)dx,ifxiscontinuous
2
14. If a random variable X has the m.g.f Mx (t) 2 t , determine the variance
of X
Solution:
' d [ M ( t )]
dx x t0
[ (2 t ).0 2( 1) ]
2
(2 t)
t 0
2 1
2
(2 0)
2
1
'
d2 [ M ( t )]
2
2
dt
t 0
[
]
dt (2 t)2 t0
2
[ (2 t ) .0 2(2 t ).2)( 1) ]
4
(2 t)
t 0
4
8
2
var 2 2 ( 1 )
'
' 2
12
( )
22
111
2 4 4
15. Define Binomial distribution. Write Mean and variance and its m g f.
Solution:
x
B ( n, p ) nCr p q
nx
, x 0,1,2...n
t n
mgf ( q pe )
mean np
6
www.cseitquestions.in
www.cseitquestions.in
16 4
20 5
p 1 q 1
5
n.
4 1
20
n 100
x
P ( X x ) nC x p q
nx
4 100
, x 0,1,2,....n
100C x ( ) ( )
,x
0,1,.......100 5 5
Mx (t) e p(x)
tx
x0
etx e
x!
x0
( e t )x
x!
x0
[1 e ( e ) .....]
2
e ( e 1)
t
P(X=x) =
1.8
(1.8)
1!
0.297
7
www.cseitquestions.in
www.cseitquestions.in
90
2 24
720
2
90 e
6!
1 3
2
8 8
2
1 3
4
4
3 4
2
3 4 0
2i,isnotpossible
1
var iance 1
4
20. Define geometric distribution and give its mgf , mean and variance.
Solution:
A distribution r.v X is said to follow geometric distribution if its p m f is
P(X=x)=
q
x1
p,x
mgf
1,2,...
1
t
qe
var iance
q
2
sinhat
wheref(x)
, a x a at
2a
Solution:
8
www.cseitquestions.in
www.cseitquestions.in
Mx (t) E[e ]
a
e .f (x)dx
tx
a
a
1 dx
2a
etx
a
1
2a
M.g.f
a
tx
e dx
1 etx a
] a
[
2a t
1
at
at
[e e ]
2at
1 eat eat
sinhat
at [
]
2
at
P d f of X is f(X) =1 ,
2
Y
= sin
)2
-1<X<1
2
x = sin1 Y X 2 sin1 Y
2
dx 2 .
1
2
1Y
dy
1
1
f ( y ) f ( x )| dx | 1 . 2
, -1<Y<1
1
2
2
1Y
dy
2 1Y
To find range of Y:
1
sin1 Y
1 2 sin Y 1
-1<X<1
2
2
sin(
) Y sin( )
2
1 Y 1
9
www.cseitquestions.in
www.cseitquestions.in
f(x)
f(X) = e x , 0
Here =1/3
1
f(X)=
P(X>3) f (x)dx
0
1 x
e3
1x
e 3 dx ,
1
1
1
(0
e
)
=3 ( e 3
e
1x
10
www.cseitquestions.in
www.cseitquestions.in
25. The life time of a component measure in hours is weibull distribution with
Parameter 0.2, 0.5 . Fine the mean and variance of the component.
Solution:
Here 0.2, 0.5
Mean 11 1 1
1
1
0.5
( 1 1)
0.5
(0.2)
1 2 0.50
0.04
2
Variance 1 [ ( 2 1) ( ( 2 1)) ]
2
1
2
0.4
2
[ ( 2 1) ( ( 2 1)) ]
0.5
0.5
(0.2)
1
(24 4)
(0.2) 4
20
4
(0.2)
11
www.cseitquestions.in
www.cseitquestions.in
UNIT II
TWO DIMENSIONAL RANDOM VARIABLES
PART A
1.
The joint p.d.f of the two dimensional random variable (X,Y) is given by
f (x , y) = K x y e
2. If f X
3.
6-x-y
13.
14.
15.
16.
17.
18.
19.
20.
11.
12.
1
(x , y ) x ( x - y ) , 0 <x < 2 , - x < y < x , find f Y \ X ( y \ x) .
8
P[ X = m , Y = n ] = q p
9.
10.
+y
4.
5.
6.
7.
8.
-- ( x
m+n-2
, m = 1 , 2 ... , n = 1 , 2 .. and p + q = 1 .
www.cseitquestions.in
www.cseitquestions.in
PART B
1) Find the correlation co efficient for the following data:
X
Y
:
:
10
18
14
12
18
24
22
06
26
30
30
36
f(x,y) = e
-(x+y)
X
1
0.08
0.20
0.12
0
0.02
0.05
0.03
0
1
2
2
0.10
0.25
0.15
f(x,y) =
6 e-(3x+2y)
, x>0,y>0
, otherwise
www.cseitquestions.in
, x>0,y>0.
www.cseitquestions.in
f(x,y) = 5
,
0
, otherwise
find the correlation co efficient of ( X , Y ).
8) The joint probability mass function of ( X , Y ) is given by
X Y -1
1
1/8
3/8
0
2/8
2/8
1
Find the correlation co efficient of ( X , Y ).
9)
2
0.02
0.06
0.30
10)
11)
www.cseitquestions.in
www.cseitquestions.in
12)
13)
f (x , y) =
xy
, 0<x<1,0<y<2
14)
, otherwise
Find 1) P[ Y < X ]
2) P [ X > 1/2 ]
3) P [ Y < 1/2 / X < 1/2)]
4) P [ X < / Y < ]
Two dimensional random variable ( X , Y ) has the j.p.d.f
f (x , y) =
Find
15)
, otherwise
16)
25
43
28
46
35
49
32
41
31
36
36
32
29
31
www.cseitquestions.in
38
30
34
33
32
39
www.cseitquestions.in
y = 2 x - 3 and y = 5 x + 7
17)
If
two regression lines, find the mean
are the
values of X and Y. Find the Correlation co efficient between them. Find an estimate
of x when y = 1.
18)
2
f ( x , y) x y + x , 0 < x < 2 , 0 < y < 1
8
Find 1) P[X > 1]
1
2) P Y<
2
1
3) P X>1 / Y<
4) P Y>1 / X<
5) P [ X Y ]
6) P [ X Y 1]
19)
F (x , y) =
1e
-x
1 e
-y
, x>0,y>0
, otherwise
The life time of a certain brand of an electric bulb may be considered a r.v
with mean 1200 hrs and s.d 250 hrs. Find the probability using Central Limit
Theorem, that the average life time of 60 bulbs exceeds 1250.
21)
22)
A random sample of size 100 is taken from a population whose mean is 60 and
variance is 400. Using Central Limit Theorem, with what probability can we
assert that the mean of the sample will not differ from = 60 by more than 4?.
www.cseitquestions.in
www.cseitquestions.in
23)
f(x,y)
-(x
4xye
+y
25)
,x>0,y>0
, otherwise
Find the co efficient of correlation and also obtain the lines of regression from the
data given below.
X :
62
64
65
69
70
71
72
74
Y :
126 125 139 145 165 152 180 208
The joint p.d.f of the two dimensional random variable (X,Y) is given by
f (x , y) = K x y e
-(x
+y
Determine the correlation co efficient between the random variables X and Y whose
j.p.d.f is
27)
30)
f ( x , y) x + y , 0 < x , y < 1 ,
A distribution with unknown mean has variance equal to 1.5 . Use CLT to find how
large a sample should be taken from the distribution in order that the probability will
be at least 0.95 that the sample will be with in 0.5 of the population mean.
The j.p.d.f of a bivariate random variable (X,Y) is
f (x , y)
1)
2)
3)
4)
K(x + y)
, otherwise
Find K.
find the marginal densities of X and Y.
Are X and Y independent?
find f X \Y ( x \ y) and f Y \ X ( y \ x)
6
www.cseitquestions.in
www.cseitquestions.in
UNIT-2
( x 2 y2)
f ( x , y ) kxye
Solution:
We know that
f ( x , y ) dxdy 1
kxye ( x 2 y2 )dxdy 1
00
k xe
0
dx ye y
dy 1
0
2
uy
du=2ydy
y dy=du/2
Put t x
dt = 2xdx
x dx = dt / 2
2
ke
dt
2
k e
e
0
du 1
2
eu
0
4
0
K=4.
f XY ( x , y ) 1 x ( x y ),0 x 2, x y x. Find f Y ( y / x )
X
8
Solution:
f(y/x)
f(x,y)
f(x)
www.cseitquestions.in
www.cseitquestions.in
f ( x ) f ( x , y ) dy
x
( x 2 xy ) dy
1
8
xy
x y
x
4
1
f ( y / x ) f ( x , y ) 8 x ( 3x y) x 2y ,0 x 2, x y x
2x
f(x)
x
4
3. If X and Y are independent random variables having the jointp.d.f
f XY ( x , y ) 6 x y ,0 x 2,2 y 4.
8
Find P
XY3.
Solution:
Given f
XY
( x , y ) 6 x y ,0 x 2,2 y 4.
8
(0,3)
( 1, 2 )
y=2
x + y =3
www.cseitquestions.in
www.cseitquestions.in
3 3 y
P X Y 3
(6 x y ) dxdy
20
13
82
6x
3 y
xy dy 24
tan
1 r
X
Y
Solution:
X X b XY Y Y
Regression equation of X on Y is
y
Where
b
XY
x x y
x x 2
Regression equation of Y on X is
Y Y
x x
Where b
YX
YX
y y 2
www.cseitquestions.in
www.cseitquestions.in
7. If X and Y are un correlated, what is the angle between the regression lines.
Solution:
Since X and Y are uncorrelated r=0
tan
1 r
tan
P Xx ,Yy P
P
ij
Pi * P * j
Xx
i
PYy
P X 1, Y 2 q p
122
q p
P X 2, Y 1 q p
212
q p
2
2
2
2
Pij Pi * P* j
Therefore X and y are independent.
9. Distinguish between Correlation and Regression
Solution:
Correlation
1.Correlation means relation
between two variables
2.Correlation coefficient is
symmetric
r r
xy
yx
Regression
1. Regression means
measure of average
relationship between
the two variables
2. Regression coefficient
is not symmetric
www.cseitquestions.in
www.cseitquestions.in
b b
xy
yx
10. Can the joint distribution of two random variables X and Y be got of their
marginal distributions are known?
Solution:
We can find joint distribution of X and Y provided X and Yare
independent.
11. State central limit theorem in Liapounoffs form
Solution:
If X 1 , X 2 , ...............Xn is a sequence of independent random variables with
E Xi i andVar X i i , i 1,2,...... and if S n X 1 X 2 ............ Xn then
2
iand variance i2
n
i1
as n tends to infinity.
i1
Solution:
23
k (2 x y ) dydx 1
0 0
2 xy
y2 3
dx 1
6 x
dx 1
2
0
k[12 9] 1
k
1
21
13.Define joint distribution of two random variables X and Y and state its properties.
Solution:
If(X,Y) is a two dimensional random variables the function
F ( x , y ) P ( X x , Y y ) P ( X x , Y y) is called the joint c.d.f of (X,Y)
www.cseitquestions.in
www.cseitquestions.in
(i)
For discrete, F ( x , y )
Pij
i
x y
(ii)
For continuous, F ( x , y )
f ( x , y ) dxdy
Properties:
i)
(ii)
At points of continuity, f ( x , y )
F(x,y)
xy
F ( , y ) 0 F ( x , ) and F( , ) 1
14. The two equations of the variables X and Y are X= 19.13 0.87y and
Y=11.64 0.5x.Find the correlation coefficient between X and Y.
Solution:
Given X 19.13 0.87 y , Y 11.64 0.5x
byx
1
( xi x )( yi y)
n
1x
i x
n
2 yi y 2
ab
a 2 b2
i
xx
,a
i
bi yi y
Squaring on both sides,
ab
r2 ( X , Y )
ai 2 bi 2
ii
By Schwartz inequality,
ai bi2
2
www.cseitquestions.in
www.cseitquestions.in
X,Y1
| r | 1
1r1
x y 22
64 x 45 y 24
5
E a
XX
2
X X
aE XX
Y Y
2a XX
2 aE
Y Y Y Y
X
Y Y 2 0
18. If X and Y are linearly related, find the angle between the two regression lines.
Solution:
Let Y a b yx X and X d bxyY be the two regression lines.
L et be the angle between the above equations.
1 b yx bxy whereb
b b
yx
xy
xy
www.cseitquestions.in
www.cseitquestions.in
Solution:
X
0
1
2
1
3k
5k
7k
Y
2
6k
8k
10k
3
9k
11k
13k
p ( xi , y j ) 1
j 1 i 0
3k+6k+9k+5k+8k+11k+7k+10k+13k =1
K=
1
72
X
0
1
2
Y
1
3
72
5
72
7
72
2
6
72
8
72
10
72
Pi * P ( X xi )
3
9
72
11
72
13
72
P(X=0)= 18
72
P(X=1)= 24
72
P(X=2)= 30
72
18
72
p ( X 1)
24
72
p ( X 2)
30
72
20. Show that the correlation coefficient r bxy b yx where bxy and byx
are regression coefficients.
www.cseitquestions.in
www.cseitquestions.in
Solution:
Regression coefficient of y on x is
r y b yx......................... (1)
Regression co efficient of x on y is
rx b
.............................(2)
xy
r bxy byx
2
r bxy byx
www.cseitquestions.in
www.cseitquestions.in
UNIT III
MARKOV PROCESSES AND MAROKOV CHAINS
PART A
1)
2)
P[X(t) = n ] =
e - t ( t) n
n!
3)
Let X be the random variable which gives the inter arrival time
(time between successive arrivals), where the arrival process is a Poisson
process. What will be the distribution of X? How?
4)
5)
6)
Let X (t) be a Poisson process with rate . Find the correlation co efficient of X (t).
0
7)
1
1
9)
Show that the sum of two independent Poisson processes is a Poisson process.
www.cseitquestions.in
www.cseitquestions.in
10)
The transition probability matrix of a Markov chain {X n}, n=1,2,3 with three
states 1, 2, 3. is
P=
4
1
4
1
0
1
P(1)
4
Find P[ X 3 1, X 2 2, X1 1] .
1
11) Draw the transition diagram for the Markov chain whose TPM is
P =
0
1
1 .
2
12)
What is a Markov chain? When can you say that a Markov chain
is Homogeneous?
13)
14)
15)
16)
17)
18)
If {X(s, t)} is a random process, what is the nature of X(s, t) when s is fixed and
t is fixed?
19)
20)
A man tosses a fair coin until three heads occur in a row. Let {X n} denotes the
th
longest string of heads ending at the n trial. i.e. X n = k, if at the nth trial the last
th
tail occurred at the (n-k) trial. Find the TPM.
www.cseitquestions.in
www.cseitquestions.in
PART B
1)
at
1+at
P[X (t) = n] =
3)
a t
1+at
n-1
, n = 1 , 2 ....
n+1
0.6
0.4
0.2
0.8
. Find the
probability that it will rain for three days from today assuming that it is raining
today. Find also the unconditional probability that it will rain after three days with
the initial probabilities of state 0 and state 1 as 0.4 and 0.6 respectively.
4)
A machine goes out of order, whenever a component fails. The failure of this part
follows a Poisson process with a mean rate of 1 per week. Find the probability that
2 weeks have elapsed since last failure. If there are 5 spare parts of this component
in an inventory and that the next supply is not due in 10 weeks, find the probability
that the machine will not be out of order in the next weeks.
5)
0 .6
0 .2 0 .2
0 .3
0 .4 0 .3
Find P[ X 2 3, X 1 3, X 0 2] .
www.cseitquestions.in
(0)
= 0 .7 0 .2 0 .1 .
www.cseitquestions.in
6)
Assume that a computer system is in any one of the three states: busy, idle, and
under repair respectively denoted by 0, 1, 2. Observing its state at 2 P.M each
0.6
7)
0.2
0.2
0.1 0.8
0.1
0.6
0.4
rd
0 .4
0 .3
0 .3
0 .2
0 .5
0 .3
0.25
0 .25
0 .5
9)
, obtain
11)
Derive the probability law of the Poisson process and find its mean and variance
12)
A man either drives a car of catches a train to go to office each day. He never
goes 2 days in a row by train but if he drives one day, then the next day he is just
as likely to drive again he is to travel by train. Now suppose that the first day of
the week the man tossed a fair die and drove to work if and only if a 6 appeared
Find 1) the probability that he takes a train on the third day.
2) the probability that he drives to work in long run.
www.cseitquestions.in
www.cseitquestions.in
13) Consider the random process X (t) = cos ( t + )where a random variable
with density function is f ( ) = 1
stationary or not.
,-
14)
15)
Show that when events occur as a Poisson process, the time interval
between successive events follow exponential distribution.
16)
17)
18)
Two random processes X (t) and Y (t) are defined by X(t) = A cos t + B sin t
and Y(t) = B cos t - A sin t . Show that X (t) and Y (t) are jointly WSS if A
and B are uncorrelated random variables with zero means and the
same variances and is constant.
19)
20)
P=
0.9
0.2
1)
2)
3)
0.1
0.8
Is chain irreducible?
Find the mean recurrence time of states 1 and 2
Find the invariant probabilities.
www.cseitquestions.in
www.cseitquestions.in
UNIT - III
P X (t n ) an / X (t n 1 ) an 1 , X (t n 2 ) an 2 ... X (t 1 ) a1
t t
2 3
X (t n ) an / X (t n 1 ) an 1 , X (t n 2 ) an 2 ... X (t 1 ) a1
=P
t .... t
X (t n ) an / X (t n 1 ) an1
Example:
Let X ( t ) N of birth up to time t so that the sequence X(t) forms a
pure birth process since the future is independent of the past given current state.
e t tn
P X (t ) N
n!
Solution:
Var X t t
www.cseitquestions.in
www.cseitquestions.in
3. Let X be the random variable which gives the inter arrival time , where the arrival process
is a Poisson process .What will be the distribution of X ? How?
Solution:
The interval between two successive occurrences of a Poisson process with
and E . Let
i1
time instant
take place at
and
. Then
i1
P Tt PE
t, t
i1
et t 0
P0 (t) et
0!
1
Which is an exponential distribution with mean .
www.cseitquestions.in
www.cseitquestions.in
6. Let X(t) be a Poisson process with rate . Find the correlation co efficient of X(t).
Solution:
The correlation co efficient is given by
XX t1 , t2
CXX t1 , t2
VarX (t1 ) VarX (t2 )
t1
if t2 t1
t1t2
t1
t 1t 2
t
1
t2
0
7. If the transition probability matrix of a Markov chain is
1
2
1 2
0
1
2
1
1 1
www.cseitquestions.in
1
1 , find the limiting
2
www.cseitquestions.in
1 2
2 1 2 1 2
2
1 2 2
2
Since 1 2 1, 1 21 1
,2
3
3
8.
9.
Show that the sum two independent Poisson processes is a Poisson process.
Solution:
Let X
t X 1 t X 2 t
n
P X ( t ) n P X
t r P X
r0
www.cseitquestions.in
nr
www.cseitquestions.in
1 t e 2t
n e
n r !
r!
r0
t
1t 2t
r ! n r!
r0
nr
e 1
n r
e1 2 t
nc
1t r 2tn r
n!
r0
e 1
t
2
1
n! 1
X t X t X t
Hence
1 2 is a Poisson process.
distribution is
P1 1
3
1
4
1
0
1
P X 1, X 2, X
1
Find
3
4
1
1
.
Solution:
P X 3 1, X 2 2, X 1 1 P X 3 1/ X 2 2, P X 2 2/ X 1 1 P X1 1
P
21
1 1
P
12
11 1
.
1
=
4 4 4 48
www.cseitquestions.in
www.cseitquestions.in
11.
What is Markov Chain ? When can you say that a Markov chain is homogeneous?
Solution:
If for all n,
P X (t n ) an / X (t n 1 ) an 1 , X (t n 2 ) an 2 ... X (t 1 ) a1 =
P X (t n ) an / X (t n 1 ) an1 then
the process
P X (t ) a / X (t ) a
n
n
n 1
n1 is called the one step transition
n
probability . If the one step probability does not depend on the step
P ( n 1, n ) P ( m 1, m )
ij
i.e)
ij
Solution:
Since is uniformly distributed in the interval
t E Cos
EX
t
0
f ( )
Cos 0 t
, ,
1
2 d
1 sin t sin t
0
0
2
2sin0t
2
www.cseitquestions.in
www.cseitquestions.in
13.
X
If
n represents the temperature at the end of the nth hour of a day then
Define irreducible Markov chain and state the chapman Kolmogorov theorem.
Solution:
A Markov chain is said to be irreducible if every state can be reached from every
other states, where
Pn0
ij
Pn
i.e)
15.
ij
ij
1 2 1 and 1 2
16.
www.cseitquestions.in
www.cseitquestions.in
17.
18.
A matrix A is stochastic if
a 1
i1
all entries are positive and sum of the entries in all the rows of
19.
is 1.
A man tosses a fair coin until 3 heads occur in a row. Let Xn denotes the longest string
of heads ending at the nth trial
th
(n-k)
Solution:
The state space = { 0,1,2,3 } since the coin is tossed until 3 heads occur in a row.
1
2
1
P 2
1
2
1
2
1
1
20. Draw the transition diagram for the Markov chain whose t.p.m is P
0
1
1
2
Solution:
0
1/2
1
0
www.cseitquestions.in
www.cseitquestions.in
www.cseitquestions.in
www.cseitquestions.in
1
UNIT IV
QUEUEING THEORY
1.
2.
3.
4.
5.
6.
7.
(M / M /1) : ( /FIFO) .
8.
9.
2
p 0 1
c 3 and
9
10. In a given M/M/1 queue, the arrival rate 7 customers per hour
and service rate 10 customers per hour. Find P[ X 5] , where X
is the number of customers in the system.
www.cseitquestions.in
www.cseitquestions.in
2
www.cseitquestions.in
www.cseitquestions.in
3
PART B
1.
2.
Derive the formula for average number of customers in the queue and
the probability that an arrival has to wait for M/M/c with infinite
capacity. Also derive the same model the average waiting time of a
customer in the queue as well as in the system.
www.cseitquestions.in
www.cseitquestions.in
4
4.
Define Kendalls notation. What are the assumptions that are made for
simplest queueing model?
5.
6.
A petrol pump station has 2 pumps. The service times follow the
exponential distribution with mean of 4 minutes and cars arrive for
service is a Poisson process at the rate of 10 cars per hour. Find the
probability that a customer has to wait for service. What is the
probability that the pump s remain idle?
7.
www.cseitquestions.in
www.cseitquestions.in
5
8.
9.
M / M /1 : ( /FIFO) model.
www.cseitquestions.in
www.cseitquestions.in
UNIT-4
QUEUEING THEORY
1. what are the basic characteristics of a queueing system.
Solution:
The basic the basic characteristics of a queueing system are
1) arrival pattern of customers.
2) Service pattern of servers
3) Queue discipline.
4) System capacity.
2. what are basic characteristics of a queueing process
Solution:
The basic queueing process describes how customers arrive at and
proceed through the queueing system. This means that the basic
queueing process describes the operation of a queueing system
a) the calling process
b) the arrival process
c) the queue configuration
d) the queue discipline
e) the service mechanism.
3. state littles formula.
Solution:
Littles formula
Ls = Ws
Lq = W q
L s = L q + /
www.cseitquestions.in
www.cseitquestions.in
5. what do you mean by transient state and steady state queueing system.
Solution:
If the system has been in operation for a sufficiently long time then it is
called steady state behavior of the queueing situation and the early operation
of the system is said to be transient behavior of the queueing situation.
6. In the usual notation of an M/M/1 queueing system, if - 12 per hour and
- 24 Per hour, find the average number of customers in the system.
Solution:
Ls = / -
= 12/24-12
= 1.
7. Derive the average number of customers in the system for (M/M/1) : ( /F/FO).
Soultion:
Let Ls denotes number of customers in the system and N denotes
numbers of customers in the queueing system.
W.K.T
P0 =1- /
Pn = ( / )n (1- / )
Ls = E(N)
N
=nPn
n0
N
=n ( / )n (1- / )
n0
= ( / )(1- / ) n ( / )n1
n1
= ( / )(1- / ) (1 / )2
= ( / ) /(1- / )
= ( / )
8. What is the probability that an arrival of an infinite capacity 3 server poisson
queue with /c =2/3 and P0 = 1/9 enters the service without waiting.
Solution:
P(without waiting) = 1-P(w>0)
www.cseitquestions.in
www.cseitquestions.in
/,
C=3, P0 = 1/9
N 1
( )
P0 = 1
,if
,if
N 1
Pn = /
1
1 ( ) N 1
if
N 1
if .
10. In a given M/M/1 queue, the arrival rate =7 customers/hour and service
rate = 10 customers/hour. Find P(X>=5), where x is the number of
customers in the system.
Solution:
=7, =10
P(X k) =( / )k
P(X 5)= (7/10)5
11. A duplicating machine mainfained for office use is operated by an office
assistant. If the jobs arrive at a rate of 5 per varies according to an
exponential distribution with mean 6 minutes, find the percentage of idle time
of machine in a day. Assume that jobs arrive according to a poisson process
Solution:
60
10
hr 6 hr
www.cseitquestions.in
www.cseitquestions.in
P(N k) = ()k
P(N 5)= (0.6)5
= 0.0467
13. For (MM//C): (N/F/FO) model, write down the formula for average number
of customers in the queue.
Solution:
L=
q
2
( )
1
Ws= ( ) +
=
=
( )
( )
1
=
( )
15.What is the probability that a customer has to wait more than 15 minutes
to get his service completed in (M/M//1): ( /F/FO) queue system if =6
per hour and =10 per hour
Solution:
P(w>t) = e
( )( t )
(10 6)(15)
P(w>15)= e
4(15)
=e
= e60
www.cseitquestions.in
www.cseitquestions.in
1
UNIT - 5
Non-Markovian queues and queue networks
PART - A
1. Write Pollaczek-Khintchine formula and explain the notations.
2. What is the effective arrival rate for M/M/1/N queueing system
3. What is the effective arrival rate for M/M/1/4/FCFS queueing model when = 2
and = 5.
4. In M/G/1 queueing model write the formula for the average number
of customers in the queue.
5. In M/G/1 queueing model write the formula for the average number
of customers in the system.
6. Write the formula for average waiting time of a customer in the queue of
M/G/1 model?
7. What is the average waiting time in the system in the M/G/1 model?
8. Maruti cars arrive according to Poisson distribution with mean of 4 cars per
hour and may wait in the facilitys parking lot. If the bug is busy if the
service time for all the cars is K and equal to 10 minutes .Find Ls and Lq.
9. In a hospital patients arrive according to Poisson distribution with mean of 6
patients per hour and may wait if the clinic is busy. If the consulting time for
all the patients is K and equal to 20 minutes. Find Ws and Wq.
10. What is the probability that an arrival to an infinite capacity 3 server
Poisson distribution with _ / = 2 and P0 =1/9 enters the service without
Waiting?
www.cseitquestions.in
www.cseitquestions.in
2
PART - B
1. In a heavy machine job the overhead crane is 75% utilized. Time study
observations gave the average service time as 10 - 5 minutes with a standard
deviation of 8 8 minutes. What is the average calling rate for the services of the
crane and what is the average delay in getting service? If the average service time
is cut to 8 minutes with standard deviation of 6 minutes. How much reduction will
occur an average in the delay of getting served?
2. Derive the Pollaczek-Khintchine formula for M/G/1 queueing model
3. Automatic car Wash facility operates with only one bay. Cars arrive according
to a poisson distribution with a mean of 4 cars per hour and may wit in the facilitys
parking lot if the bay is busy.If the service time for all cars is constant and equal to
10 minutes determine Ls,Lq,Ws,Wq.
4. Derive the formula for the average waiting time in the system from
Pollaczek-Khintchine formula.
5. Maruti cars arrive according to Poisson distribution with mean of 4 cars per hour
and may wait in the facilitys parking lot if the bug is busy. If the service time for
all cars is K and equal to 10 minutes. Find Ls, Lq, Ws, Wq.
6. Discuss about open and closed networks.
7. Explain in detail about series queues.
8. Customers arrive at a watch repair shop according to a Poisson process at a
rate of one per every 10 minutes and the service time is an exponential random
variable with mean 8 minutes. Find the average number of customers Ls, the
average waiting time of a customer spends in the shop Ws and the average time
a customer spends in the waiting for service Wq
www.cseitquestions.in
www.cseitquestions.in
UNIT-V
NON-MORKOVIAN QUEUES AND QUEUE NETWORKS
1. Write Pollaczek- Khintchine formula and explain the notations.
Soln:
V ( s ) (1 * )(1 s ) B
Where
B ( s ) s
( s)
s Number of servers
B ( s ) e d B ( t )
*
st
B (t )
= p.d.f of service time .
2. What is the effective arrival rate for M/M/1/N Queuing system
Soln:
Effective arrival rate
(1 P )
'
0 Where
P0
N1
3. What is the effective arrival rate for M/M/1/4/FCFS Queuing model when
2 and 5
Soln:
Effective arrival rate (1 P0 )
Here 2 , 5 , N 4
'
P0 1 N1
1 2
5
2 41
1
www.cseitquestions.in
www.cseitquestions.in
3
3
5
5
5
5
3125 2
1 2
55
55
4
3x5
1875 0.6062
3125 32 3093
'
5(1 0.6062) 1.96
4. In M / G / 1queuing model write the formula for the average number
of customers in the queue.
Soln:
The average number of customers in the queue
2
L ,
Variance of service
q
2(1 )
2
L
s
2(1 )
2
6. Write the formula for average waiting time of a customer in the queue of M /
G / 1 model.
Soln;
Average waiting time of a customer in the queue
2 (1 )
2
wq
ws 1
2 (1 )
2
www.cseitquestions.in
www.cseitquestions.in
8. Maruti cars arrive according Poisson distribution with mean of 4 cars per
hour and may wait in the facilitys parking lot. If the bug is busy, if the
service time for all the cars is K and equal to 10 minutes. Find
s and
q.
Soln:
4 Cars / hours
1 10
Mins, 6 Cars /
hours Var=0. 0
4 2
6 3
2
2
Lq
2(1 )
2
4 2 (0) 2
3
2 1
0.667 cars.
2
3
L
s
2(1 )
2
2
2
0
2
1.333 1
21
3
9. In a hospital, patients arrive according to Poisson distribution with mean of 2
patients per hour and may wait if the clinic is busy. If the consulting time
2
1
20
www.cseitquestions.in
s and
q .
www.cseitquestions.in
Var=0,
2
3
ws 1
2 (1 )
2
1 4
3
2
2 (1 )
2
2x6 1
wq
2
3
2x6 1
1
2 9
3
9
0
waiting.
Soln:
P(without waiting time) P(N 3)
P0 P1 P 2
Pn
. P0 when n c 3
n!
2
1
P(N 3)
2 1 x2 x 1 5
9 9 2
9 9
www.cseitquestions.in