Tribhuvan University

Institute of Science and Technology

2079

Bachelor Level / fifth-semester / Science

Computer Science and Information Technology( CSC317 )

Simulation and Modeling

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Time: 3 Hours

Candidates are required to give their answers in their own words as far as practicable.

The figures in the margin indicate full marks.

**Group A**

**Answer any Two Questions**

1

What is transaction in GPSS? Explain about facility in GPSS. Customers arrive at Joey Barbershop one every 15±3 minutes and it takes Joey 18±2 minutes to cut hair of a customer. Create a GPSS model with block diagram for the Barbershop using the concept of facility and run the simulation for 9 hours.

2

Why accuracy of analog computer is low? Explain analog computer with suitable example. Differentiate between analog and digital computer.

3

Define and develop a Poker test for four-digit random numbers. A sequence of 1,000 random numbers,each of four digits has been generated. The analysis of the numbers reveals that in 525 numbers all four digits are different, 419 contain exactly one pair of like digits, 47 contain two pairs, 9 have three digits of a kind and 7 contain all like digits. Use Poker test to determine whether these numbers are independent.(Critical value of chi-square for a = 0.05 and N = 4 is 9.49).

**Group B**

**Answer any Eight Questions**

4

Why Confidence interval is needed in the analysis of simulation output. How can we establish a confidence interval?

5

Explain the Monte Carlo simulation method. with example.

6

Generate ten 3 digit random integers and corresponding randomn variables using Multiplicative Congruential method where a =7, and X0= 22.

7

“Building a model right” and “Building a right model”. Are both statements same?Discuss the importance of V&V

8

Differentiate between discrete and continuous system.

9

What is markov chain? Explain with example.

10

Explain basic characteristics of Queueing System

11

Describe dynamic physical model in detail with the help of suitable example.

12

Write short notes:

a.Hypothesis testing

b.Stationary poission process

HAMROCSIT.COM