0% found this document useful (0 votes)
35 views34 pages

CSC 216 - Introduction To Simulation and Modelling Test Questions PDF

The document is a test for a course on simulation and modeling, covering topics such as random number generation, queuing systems, and Monte Carlo simulations. It includes multiple-choice questions regarding programming functions, statistical tests, and system characteristics. The test is scheduled to take place from 5:00 PM to 5:30 PM.

Uploaded by

rachael12645
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views34 pages

CSC 216 - Introduction To Simulation and Modelling Test Questions PDF

The document is a test for a course on simulation and modeling, covering topics such as random number generation, queuing systems, and Monte Carlo simulations. It includes multiple-choice questions regarding programming functions, statistical tests, and system characteristics. The test is scheduled to take place from 5:00 PM to 5:30 PM.

Uploaded by

rachael12645
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

CSC 216-

INTRODUCTION TO
SIMULATION AND
MODELLING
The test starts at 5:00pm and ends at
5:30pm.

1. Java function for generating *


random numbers between 0 and 1
is__________

Math.java ( )

Math.random ( )

Math.subroutine ( )

Math.ran ( )
Other:

Untitled Section
2. The Fortran intrinsic subroutine for*
generating random number
is__________

RANDOM_NUMBER (R)

SUBROUTINE Function (R)

Math.random

None Of the Above

Untitled Section

3. To enable the generator in *


Fortran to produce different sequence
of random numbers, it must be seed
with_______

RANDOM_NUMBER

MATH.Tan

SYSTEM_CLOCK

All of the above

Untitled Section
4. What is the run, r of the sequence
of random numbers:
69 56 48 06 73
91 70 10 38 64
67 69 29 39 87
38 71 24 79 20
61 54 08 31 72
46 24 52 21 80

18

19

20

17

Untitled Section
5. What is the expected value E(r) *
of the run of random numbers:
69 56 48 06 73
91 70 10 38 64
67 69 29 39 87
38 71 24 79 20
61 54 08 31 72
46 24 52 21 80

19.67

18.52

15.82

17.96
6. What is the V(r) of the run of the *
sequence of random numbers:
69 56 48 06 73
91 70 10 38 64
67 69 29 39 87
38 71 24 79 20
61 54 08 31 72
46 24 52 21 80

3.68

10.51

5.01

7.01

Untitled Section

7. To test the assumption *


regarding the distribution of the
numbers regardless of their
sequences, we use:

Kolmogorov-Smirnov Test

The Chi-square test

The run test

A and B above
Untitled Section

8. To test the hypothesis that the *


numbers appears in Q random
sequence, we use:

Kolmogorov-Smirnov Test

The Chi-square test

The run test

A and B above

Untitled Section

9. A system in which the state *


changes continuously with time is
called:

Analogue System

Hybrid System

Continuous System

Discrete System

Untitled Section
10. A system in which the state *
changes abruptly at discrete points in
time is called

Analogue System

Hybrid System

Continuous System

Discrete System

Untitled Section

11. An occurrence that changes the*


state of the system is
called___________

Event

Model

Entity

System state variable

Untitled Section
12. In a queuing system, the *
beginning of service for a customer is
an:

Endogenous event

Exogenous event

Resources

System state variable

Untitled Section

13. In a queuing system, the arrival *


of a customer for service is an:

Endogenous event

Exogenous event

Resources

System state variable

Untitled Section
14. The ways of generating random*
numbers include:

table of random numbers

spin of roulette wheel

computer-generated random numbers

all of the above

Untitled Section

15. Monte Carlo gets its name from*

Von Neumann midsquare method

Random-number assignment

Chi-square method

Kolmogorov-sminorov method

Untitled Section
16. The production of random *
numbers using the arithmetic
properties of a computer is
called___________

Real numbers

Natural numbers

Pseudorandom number

Even numbers

Untitled Section

17. The following are ways of *


generating random numbers except:

Computer-generated random
numbers
Quadratic methods

Table of random numbers

Spin of roulette wheel

Untitled Section
18. The model which entails the use
of random numbers to introduce into the
model the variability of the real world is
called?

Continuous model

Discrete model

Analogue model

All of the above

Untitled Section

19. The system experiencing *


smooth characteristics over time can
be represented by:

Discrete model

Analogue model

All of the above

Continuous model

Untitled Section
20. An entity is said to be dynamic *
if it:

Operates through the system

Servers other entities

All of the above

None of the above

Untitled Section

21. If an entity has attributes that *


pertain to that entity alone, the
attributes are considered as:

None of the above

Global values

Dynamic system

Local values

Untitled Section
22. An activity is the _________ of *
time which is known prior to
commencement of the activity.

Depend

Delay

Scheduled

Duration

Untitled Section

23. A ___________is an indefinite *


duration that is caused by some
combination of system conditions:

Depend

Delay

Scheduled

Duration

Untitled Section
24. Lists are usually processed *
according to:

All of the above

Service in random order

Last-in, First-out First-in,

First-out

Untitled Section

25. The following are advantage of *


simulation except:

Flexibility

Time compression or expansion

Tool of practical value

It is slow and costly

Untitled Section
26. Given 7777 as the seed in the *
middle square method of random
number generation, the next two seeds
are:

4817, 2034

2034, 4817

4178, 2304

2432, 4178

Untitled Section

27. Given 7777 as the seed in the *


middle square method of random
number generation, the next two digit
random numbers to be generated are:

81, 30

03, 81

18, 03

81, 03

Untitled Section
28. Given that the following set of *
random numbers have been generated
using congruence method.
4 5 2 3 0
1 6 7.
What is the length of the random
numbers?

Untitled Section
29. Using the congruence method *
the following random numbers were
generated:
22 16 20 2 14
6 19 18
11 8 10

1 7 3 21 9
17 4 5 12 15 13
What is the modulo value, M?

22

17

13

23

Untitled Section
30. Given the random numbers: *

70 10 38 64 67
69.
How many days of the year can you
generate

Untitled Section

31. Given the random numbers: *


70 10 38
64 67 69. The earliest date to
be generated in year 2022.

Impossible

December 2, 2022

October 8, 2022

February 7, 2022

Untitled Section
32. In java, the basic mathematical
function for generating pseudorandom
value drawn from a standard uniform
distribution in the interval (0, 1) is:

Math.random ( )

Math.ran ( )

Math.rand ( )

Math.rnd ( )

Untitled Section

33. simulation can be used to study*


_______________ to a problem and
prescribe what to do about the
problem.

none of the above

alternative solution

all of the above

actual solution

Untitled Section
34. A valid reason for using *
simulation is that relationship between
the variables is:

non-linear

all of the above

accurate

linear

Untitled Section

35. The first step in simulation is *


to:

verification

data collection

define the problem

construct the model

Untitled Section
36. The intrinsic subroutine that *
may be used in Fortran to simulate
random events is:

RANDOM_NUMBER (R)

RANDOM_SEED

SYSTEM_CLOCK

None

Untitled Section

37. Which of the keyword that *


enables the random number generator
to be seeded in Fortran by the user is:

RANDOM_NUMBER (R)

None

RANDOM_SEED

SYSTEM_CLOCK

Untitled Section
38. RANDOM.ORG offers true *
random numbers to anyone on the
internet because the randomness
comes from

vibration from generators

atmospheric mouse

automobile sound

all of the above

Untitled Section

39. Is the function below a *


probability density function?

None of the above

All of the above

Yes

No

Untitled Section
40. What is the value of C that will *
make the random variable specified by
the distribution below a probability
mass function.

Untitled Section

41. The process generator of 0 fair *


coin is a. What is the value of K?

0.5

0.4

0.2

0.3

Untitled Section
42. If X is a continuous random *
variable with probability density
function. What is the value of a?

Untitled Section

43. What is the cumulative *


distribution function of the probability
density function f(x) of a random
variable X given by

A
B

D
Untitled Section

44. A function of the purpose of *


investigation is the determination of

System model and events

Entities and attributes

Resource

System State variable

Untitled Section

45. The collection of all information*


needed to define what is happening
within the system to a sufficient level
in order to attain the desired output at
a given point in time is:

Resource

System model and events

Entities and attributes

System State variable

Untitled Section
46. When an entity operates *
through the system it is said to be

None of the above

dynamic

static

All of the above

Untitled Section

47. In a queuing system, customer *


and server are respectively what type
of entity.

Static and dynamic

Diary and files

dynamic and static

Option all of the above4

Untitled Section
48. The time of arrival in a queuing*
system could be an ____________ of a
customer who is an _______________

system state variable

system model, event

entity, attribute

attribute, entity

Untitled Section

49. An entity that provide service to*


dynamic entities is called

event

List processing

static entity

Resources

Untitled Section
50. When an entity has attributes *
that are peculiar to it alone, the
attributes are referred to as:

Local

global

all of the above

none of the above

Untitled Section

51. When a resource serves one or *


more dynamic entities at the same
time, it is said to operate as:

Single server

None of the above

Parallel server

Idle server

Untitled Section
52. If a dynamic entity requests for *
some units of a resource and is
denied, the requesting entity can:

join a queue

divert to another resource

eject from the system

all of the above

Untitled Section

53. Lists that are processed *


according to the value of an attribute
is:

FIFO

LIFO

SIRO

All of the above

Untitled Section
54. List can be processed *
according to:

FIFO

LIFO

SIRO

All of the above

Untitled Section

55. The duration of time, which *


duration is known prior to
commencement of the activity is
called:

A delay

An activity

An attribute

An entity

Untitled Section
56. A customer arrive at a single *
server queuing system according to
Poisson distribution with arrival rate of
6 customers per hour and service rate
of 12 customers per hour. Determine
the traffic intensity.

10

12

0.5

Untitled Section

57. A customer arrive at a single *


server queuing system according to
Poisson distribution with arrival rate of
6 customers per hour and service rate
of 12 customers per hour. Determine
the expected number of customers in
the system.

0.5

12

10
Untitled Section

58. A customer arrive at a single *


server queuing system according to
Poisson distribution with arrival rate of
6 customers per hour and service rate
of 12 customers per hour. What is the
expected waiting time in the system.

8 minutes

5 minutes

10 minutes

6 minutes

Untitled Section

59. An advantage of simulation *


where the actual time span of the
systems simulation can be
compressed to perform in minutes is
called.

Flexibility

Speed phenomenon

Time compression or expansion

Tool of practical value


Untitled Section

60. The first step in Monte Carlo *


simulation is to set up the.

mean

modal class

cumulative probability distribution

process generators

Untitled Section

This content is neither created nor endorsed by Google. -


Terms of Service - Privacy Policy
Does this form look suspicious? Report

Forms

You might also like