Bit2201 Bbit308 Simulation and Modeling
Bit2201 Bbit308 Simulation and Modeling
b) Using the Linear Congruential Generator (LCG) with a=67, m=31, c=17 and seed Z0 = 117
generate the first FIVE random variates on [0,1]. (6 Marks)
f) With the help of well labeled diagrams illustrate and describe the four types of queues that
exist giving common place examples. (8 Marks)
The unloading rate per day follows the probability distribution given below. NB: unloading is
done on FCFS basis.
Suppose the following are the random numbers of arrivals and random numbers of unloading.
Arrival Random No. 53, 07, 51, 82, 50, 35, 12, 57, 99, 27, 56, 93, 35, 34, 00, 22, 31
Unload Random No. 35, 66, 38, 12, 54, 75, 34, 05, 19, 70, 64, 85 90, 73, 59 61, 43
b) Dynamic systems have a state that is ever changing as a result of changes in state variables.
In your own understanding describe the terms system, system state, and state variable giving
an example from Banking system. (6 Marks)
c) Not all simulation and modeling exercises are a success. Discuss five common pitfalls to
successful simulation. (5 Marks)
b) Using the mid- square method obtain the first five random variables using Z0= 7182.
(5 Marks)
c) Describe the simulation clock showing its importance in the simulation model
(5 Marks)