Math 2133 Exam 2013 Final
Math 2133 Exam 2013 Final
Math 2133 Exam 2013 Final
Security
Cohort: BCNS/10A/FT
Instructions to Candidates:
Page 1 of 6
Answer ALL Questions
Question 1: (25 Marks)
(a) Explain the following concepts in discrete-event simulation:
(i) Model.
(ii) System.
(iii) State.
(iv) Event.
(v) Event List.
(vi) Delay.
[2 + 1 + 1 + 1 + 1 + 1 = 7 marks]
(b) Consider the following inventory problem for the purchase and sales of news-
paper. The paper seller buys the papers for 30 cents each and sells them for
55 cents each. Newspapers not sold at the end of the day are sold as scrap
for 3 cents each. Newspapers can be purchased in bundles of 10. Thus, the
paper seller can buy 50, 60 and so on. Three types of newspapers are known:
good, fair and poor, with probabilities of 0.37, 0.33 and 0.30, respectively.
Tables 1 and 2 provide the distribution of the newspapers demanded and the
distribution for the type of newsday.
(i) Using the information provided in Tables 1 and 2, obtain the random-digit
assignments for both the Newspaper Demanded and the Type of Newsday.
(ii) Consider the following table, which gives the random digits for Type of
Newsday and Demand.
[4 + 11 + 3 = 18 marks]
[5 marks]
(b) The inter-arrival times as well as the service times at a Drivers License branch
office have been shown to be exponentially distributed. The values of and
are 2.4 and 7.6 per hour, respectively. Find
[3 + 2 + 3 + 3 + 2 = 13 marks]
(c) Arrivals are occurring at rate = 8 per hour, and management has a choice of
two servers, one who works at rate 1 = 10 customers per hour and the second
at rate 2 = 11 customers per hour.
Assuming that the M/M/1 queue is used, compute the time-average number of
customers in both server 1 and server 2 and discuss on your results.
[7 marks]
[4 marks]
[6 marks]
(c) The following data, relates to response times in a fire - emergency operation
(i) Explain how the response times can be generated using the table lookup
method. Assume the equal probabilities of 1/n for each interval, where n
is the number of data. Also, show all your workings clearly.
(ii) Sketch the empirical distribution with properly labeled axes using the
solution obtained in part (i).
(iii) Generate 4 values of response times using random numbers R for R
[0, 1].
[6 + 5 + 4 = 15 marks]
(i) Verification.
(ii) Validation.
[3 + 3 = 6 marks]
(i) Apply the Chi-Square test to these data to test the hypothesis that the
underlying distribution is Poisson. Use a level of significance of = 0.05.
(ii) Apply the Chi-Square test to these data to test the hypothesis that the
underlying distribution is Poisson with mean 1.0. Use a level of significance
of = 0.05.
(iii) Comment on your results in part (i) and (ii), above.
[8 + 8 + 3 = 19 marks]
Page 6 of 6
Discrete Event Simulation MATH2133C