# BIT 2201 SIMULATION AND MODELING KCA Past Paper UNIVERSITY EXAMINATIONS: 2013/2014
ORDINARY EXAMINATION FOR THE BACHELOR OF SCIENCE
IN INFORMATION TECHNOLOGY
BIT 2201 SIMULATION AND MODELING
DATE: AUGUST, 2014 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO

QUESTION ONE: 30 MARKS (COMPULSORY)
a) Discuss five applications of simulation and modeling in real life. (5 Marks)
b) Using the mid- square method obtain the random variables using Z0= 1009 until the
cycle degenerates to zero. (10 Marks)
c) Discuss any five desirable features of a good simulation software (5 Marks)
d) Using the banking systems as an example, describe the components of a discreteevent system. ( 10 Marks)
QUESTION TWO: 20 MARKS
a) Every system exists with an environment. Activities in the systems environment
cause changes in the state of the system. These activities are classified into categories:
Endogenous and Exogenous. Differentiate between the two. (2 Marks)
b) Discuss five reasons why it is necessary to use animation during the process of
modeling and simulation. (5 Marks )
c) Discuss three reasons why it is not possible to perform experiment with a real system.
(3 Marks)
c) Describe five common statistics included in the output report of a simulation
programming system. (10 Marks)
QUESTION THREE: 20 MARKS
a) There are two fundamental types of animation; concurrent and post-processed
Differentiate between the two types of animation. (4 Marks)
b) Describe the following terms giving examples from the traffic control systems.
(5 Marks)
i) State of a System
ii) State Variables
iii) Entity
iv) Attribute
v) Activity
c) Discuss four drawbacks simulation and modeling. (6 Marks)
d) Using the Linear Congruential Generator (LCG) with a=5, m=16, c=3 and seed Z0 = 7
to generate the first FIVE random variates on [0,1]. (5 Marks)
QUESTION FOUR: 20 MARKS
a) Define the terms verification and validation in the context of modeling. (4 Marks)
b) Not all simulation and modeling exercises are a success. Discuss five common pitfalls
to successful simulation. (5 Marks)
c) Consider a single server queuing system in the bank. The system starts at time t=0.
The arrival time of customers is: 0.4, 1.6, 2.1, 3.8, 4.0, 5.6, 5.8, and 7.2. The
departure times are: 2.4, 3.1, 3.3, 4.9, and 8.6. Time is in minutes. The first in first out
queuing discipline is followed. Simulate this system for six clients and estimate:
i) The expected average delay in the queue (3 Marks)
ii) The expected average number of clients in the queue at any time t (6 Marks)
iii) The expected utilization of server. (2 Marks)
QUESTION FIVE: 20 MARKS
a) Differentiate between the following types of models (6 Marks)
i) Deterministic Vs Stochastic Models
ii) Discrete Models Vs Continuous Models
b) Discuss any five advantages of simulation (5 Marks)
c) The table below shows the probability distribution of container arrival per day at
Mombasa port. The offloading rate per day follows the probability distribution given below. NB: Suppose the following are the random numbers of arrivals and random numbers 