Professional Documents
Culture Documents
Q6. The time spend by 5th customer in the system will be (in minutes)
(a) 5
(b) 7
(c) 16
(d) 23
For Q 11-13:
For a particular shop, the daily demand of an item with associated probabilities is given below:
Daily demand 0 10 20 30 40 50
Probability 0.01 0.20 0.15 0.50 0.12 0.02
If random number stream (X1, X2 ….. X10 ) is generated using linear congruential generator (Xi = a*Xi-1
+ c)mod m with X0 = 27, a = 17, c = 4, and m = 100,
For Q 14-15:
For a particular shop, the daily demand of an item with associated probabilities is given below:
Daily demand 0 10 20 30 40 50
Probability 0.01 0.20 0.15 0.50 0.12 0.02
Q14.For the sequence of random numbers (out of 100 random numbers generated between 00-99)
used are as 25, 39, 65, 76, 12, 05, 73, 89, 19, 49 the average daily demand will be
(a) 25
(b) 30
(c) 35
(d) 24
Q15.For the sequence of random numbers (out of 100 random numbers generated between 00-99)
used are as 40,19, 87,83,73,84,29,09,02,20,the average daily demand will be
(a) 25
(b) 30
(c) 22
(d) 27
Solutions
For Q3-6
For Q11-13
Daily Demand Probability Cumulative Random number
probability interval
0 0.01 0.01 00
10 0.20 0.21 01-20
20 0.15 0.36 21-35
30 0.50 0.86 36-85
40 0.12 0.98 86-97
50 0.02 1.00 98-99
Rand no LC generator
LCG(a=17,c=4, X0=27,
m=100)
S. No. Xi-1 Xi
1 27 63
2 63 75
3 75 79
4 79 47
5 47 3
6 3 55
7 55 39
8 39 67
9 67 43
10 43 35
Days Random numbers Demand
1 63 30
2 75 30
3 79 30
4 47 30
5 3 10
6 55 30
7 39 30
8 67 30
9 43 30
10 35 20
Avg demand for first four days= 30
Avg. daily demand for first 10 days= 270/10=27
Demand on 5th day= 10
Q14
Daily Demand Probability Cumulative Random number
probability interval
0 0.01 0.01 00
10 0.20 0.21 01-20
20 0.15 0.36 21-35
30 0.50 0.86 36-85
40 0.12 0.98 86-97
50 0.02 1.00 98-99