Queueing Theory Assignments
Queueing Theory Assignments
Assignments
__________________________________________
TASK# 1:
Q.1 What is Queueing theory and its importance?
Answer: Queueing theory was developed to predict the behavior of systems that attempt to provide
service for randomly arising demands. It is important to help with creating an efficient and cost- efficient
workflow, allowing the user to improve traffic flow.
Q.3 What is waiting time or waiting delay? Is it the time a customer spends in the queue?
Answer: Waiting time or waiting delay is the time that the job in the queue, not being served. It is also
called the “time in queue”.
E[T] = E[Tq] + E[S]
Q.5 Is it true that the goal of queueing analyst is to design an “optimal” system according to some
criterion?
Answer: Yes, it is true that the goal of queueing analysis is to design an optimal system.
Traffic Flow: Traffic flow is define as the total time a vehicle spends in the system, which equals the
sum of waiting time and service time.
Scheduling: Scheduling is the policy in which define the arrival sequence of the customer some
scheduling policy is FCFS, LCFS, SIRO.
Queueing Theory
Assignments
__________________________________________
Facility design: There are many possible facility designs that can be used for dispatching jobs to hosts.
Random
Round-Robin
Shortest-Queue
Size-Interval-Task-Assignment (SITA)
Least-Work-Left (LWL)
Central Queue
TASK# 2:
Q.1 Differeniate between Preemptive and Non-Preemptive FCFS?
Answer:
Preemptive Non-Preemptive
Interrupted or means the server hold the current Non Interrupted or means the server not wait the
customer. current customer.
It has overheads scheduling the processes. It does not overheads scheduling the processes.
Flexible Rigid
In preemptive scheduling, CPU utilization is high. In non-preemptive scheduling, CPU utilization is
low.
Q. 2 In each of the following situations, identify the customer and the server.
A fire Station
Answer: Arriving Customer: Fire, Server: Station
A shipping dock
Answer: Arriving Customer:Shipping, Server: Dock
A plumbing shop
Answer: Arriving Customer: Plumbing, Server: Shop
Q.3 Explain your understanding of the relationship between the arrival rate and the average
interarrival time. What are the units describing each variable?
Answer: Arrival rate at which the jobs arrive to the server, and interarrival time at which average time
between successive job arrivals. Relationship between arrival rate and average interarrival time is arrival
rate inversely proportional to average interarrival time. Average interval time unit is hour and average
arrival rate unit is arrival per hour.
Queueing Theory
Assignments
__________________________________________
Q.4 In each of the following cases, determine the average arrival rate per hour, and the average
interarrival time in hours.