Browse papers
A

Section A: Long Answer Questions

Attempt all / any as specified.

4 questions
1long14 marks

(a) Define a system and explain the difference between the system environment and the system entities, illustrating your answer with a suitable example such as a bank or a manufacturing shop. (6)

(b) Models used in a simulation study can be classified as physical vs. mathematical, static vs. dynamic, deterministic vs. stochastic and discrete vs. continuous. With one concrete example for each pair, explain these classifications and state which class of model a discrete-event simulation belongs to. (8)

system-and-model-conceptssimulation-types
2long14 marks

A single-server queuing system (M/M/1) is to be analysed by hand simulation. The following inter-arrival times and service times (in minutes) are given for the first 8 customers:

Customer12345678
Inter-arrival time-3251426
Service time42513242

(a) Construct a simulation table showing arrival time, service-begin time, waiting time, service-end time and time the customer spends in the system for each customer. (8)

(b) From your table, compute the average waiting time per customer, the probability that a customer has to wait, the average service time, and the server utilization. (6)

discrete-event-simulationqueuing-models
3long12 marks

(a) Describe the linear congruential method for generating pseudo-random numbers and state the conditions (Hull–Dobell theorem) under which a mixed congruential generator achieves the maximum (full) period. (6)

(b) Using the multiplicative congruential generator Xi+1=(5Xi)mod16X_{i+1} = (5 X_i)\bmod 16 with seed X0=3X_0 = 3, generate the first six random integers and the corresponding uniform (0,1)(0,1) random numbers. Comment on the period obtained and why it is not full. (6)

random-number-generationverification-and-validation
4long10 marks

(a) State and prove the inverse-transform technique for generating a random variate from a continuous distribution with cumulative distribution function F(x)F(x). (5)

(b) Using the inverse-transform method, derive the formula for generating an exponential random variate with rate λ\lambda. Given λ=0.5\lambda = 0.5 and a random number R=0.35R = 0.35, compute the corresponding variate. (5)

random-variate-generation
B

Section B: Short Answer Questions

Attempt all / any as specified.

8 questions
5short7 marks

Explain the steps in a sound simulation study, from problem formulation to documentation and implementation, using a flow diagram. At which step are verification and validation carried out?

simulation-types
6short7 marks

Describe the Monte Carlo method. Using it, set up the procedure to estimate the value of π\pi by simulating random points in a unit square, and state how the accuracy of the estimate depends on the number of samples.

random-variate-generationrandom-number-generation
7short6 marks

For an M/M/1 queue with arrival rate λ=8\lambda = 8 customers/hour and service rate μ=10\mu = 10 customers/hour, compute: (a) the server utilization ρ\rho, (b) the expected number of customers in the system LL, and (c) the expected waiting time in the queue WqW_q.

queuing-models
8short6 marks

Distinguish between verification and validation of a simulation model. List any four techniques that can be used to increase the validity and credibility of a model.

verification-and-validation
9short6 marks

Explain why generated random numbers must be tested. Describe the Kolmogorov–Smirnov test for uniformity and state how the test statistic is compared with the critical value to accept or reject the hypothesis.

random-number-generation
10short6 marks

Differentiate between terminating (transient) and steady-state (non-terminating) simulations with an example of each. Explain why the replication–deletion approach and a warm-up period are needed when analysing steady-state output.

output-analysis
11short6 marks

Define the following terms used in discrete-event simulation: (a) event, (b) event notice, (c) future event list (FEL), (d) system state, and (e) activity. Briefly explain how the simulation clock advances in the event-scheduling approach.

discrete-event-simulationsystem-and-model-concepts
12short6 marks

The average customer delay obtained from 5 independent replications of a queuing simulation is 4.2, 5.1, 3.8, 4.6 and 4.9 minutes. Construct a 95% confidence interval for the mean delay (use t0.025,4=2.776t_{0.025,4} = 2.776).

output-analysis