BIT 2201 BBIT 308 BSD 2106 BAC 2106BISF 2106 SIMULATION AND MODELLING – EDWIN.

UNIVERSITY EXAMINATIONS: 2021/ 2022
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY/ BUSINESS INFORMATION
TECHNOLOGY/ APPLIED COMPUTING/ SOFTWARE DEVELOPMENT/
INFORMATION SECURITY & FORENSCIS
BIT 2201\ BBIT 308\ BSD 2106\ BAC 2106\BISF 2106: SIMULATION AND
MODELLING
FULL TIME/PART TIME/DISTANCE LEARNING
DATE: DECEMBER, 2021 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One and any Other Two Questions

QUESTION ONE (20 Marks) Compulsory
a) Among the most compelling reasons for using simulation are the benefits gained by
managers. Explain any THREE benefits. (3 Marks)
b) Explain why animation is appropriate in explaining the behavior of a model when it is
completed. (3 Marks)
c) Explain clearly how one can build a valid and credible model. (6 Marks)
d) The randonm variables 𝑋, π‘Œ and 𝑍 are distributed as follows
𝑋~𝑁(πœ‡ = 100, 𝜎
2 = 100)
π‘Œ~𝑁(πœ‡ = 300, 𝜎
2 = 225)
𝑍~𝑁(πœ‡ = 40, 𝜎
2 = 64)
Simulate 50 values of the random variable

.Prepare a histogram of the resulting
values ,using class intervals of width equal to 3. (4 Marks)
e) Using the Linear Congruential Generator (LCG) with a=67, m=31, c=17 and seed Z0 =
117 to generate the first FOUR random variates on [0,1]. (4 Marks)
QUESTION TWO (15 Marks)
XYZ Ltd is considering launching a new product which will require an investment of Shs.5000.
The product has a life of 1years. There are uncertain variables namely; selling price, unity
variable cost and demand as shown in probability distribution below:

Carry out 25 trial numbers and find the average profit (15 Marks)
QESTION THREE (15 Marks)
Customers arrive at a milk booth for the required service. Assume that the inter-arrival and
service times are constant and are given by 1.2 and 3 time units, respectively. Simulate the
system by hand computations for 18 time units. Assume that the system starts at t=0.
i. What is the average waiting time per customer?
ii. What is the average waiting time per customer for those who must wait?
iii. What is the percentage idle time of the facility? (15 Marks)
QUESTION FOUR (15 Marks)
a) Use a mixed linear congruential random number generator with a=11, m=313, c=17 and
seed X0 = 117 to generate the first FIVE random variates on [0, 1] (5 Marks)
b) A tourist car operator finds that during the past few months the car’s use has varied so
much that the cost of maintaining the car has varied considerably. During the past 200
days the demand for the car fluctuated as given below:

Using random numbers simulate the demand for a 10- week period. (10 Marks)

(Visited 385 times, 1 visits today)
Share this:

Written by