Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

University of Poonch Rawalakot

Department of Computer Sciences & IT


Session: Fall 2019
Assignment oblige To Terminal Exam

Subject: Introduction to Computing


Total Marks: 100
Assignment Marks: 60
Viva Marks: 40
Course Code: CS-4128
Submission date: 09/07/2020

Q 01: A grocery store has only one checkout counter. Customers arrive at this checkout counter
at random from 1 to 8 minutes apart. Each possible value of inter arrival time has the same
probability of assurance. The service time vary from 1 to 6 minute with the probability shown in
table 1. The problem is to analyze the system by simulating the arrival and service time of 6
customer. 20 Marks
Service Probability
time(min)
1 0.10
2 0.20
3 0.30
4 0.40
5 0.50
6 0.60
• Calculate average waiting time for a customer
• The probability that a customer has to wait in the queue.
• The fraction of idle time of a server.
• The average service time.
• The average time between arrivals.
• The average waiting time of those who wait.
• The average time a customer spend in the system
Assume the following sequence of random number.
Random digits for 913 727 15 948 309 922
arrival
Random digits for 84 10 74 53 17 79
service time

Q 02: AGV is used to carry components between two assembly stations, namely A and B. Three
types of components (CI, C2, and C3) from station A are assembled at station B. The inter arrival
time of C l, C2, and C 3 are: 10
Components Inter
arrival
time
C1 7 +-2
C2 3+-1
C3 8+-3

The AGV can take only three components at a time. It takes 90 seconds to travel (to and fro) and
30 seconds to unload at station B. The AGV waits at station A till it gets the full load of three
components.
Simulate the system for I hour and determine the average waiting times of the three components.
Q 03: Using Excel, generate 1000 random numbers in the range (0-1000) and form a frequency
table with 10 class intervals. (Add screen shots of excel file in assignment) 10
Q 04: Using Excel, generate 100 random numbers equally distributed between 23 and 87.
Note: (Add screen shots of excel file in assignment) 10
Q 05: Choose a simulation software of your choice and explain briefly about its working and
usage. 10

You might also like