Semester
Subject
Year
Tribhuwan University
2076
Bachelor Level / Third Year / Fifth Semester / Science
(Simulation and Modeling)
Full Marks: 60
Pass Marks: 24
Time: 3 Hours
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Long Answers Questions
A queuing system is a mathematical model used to study waiting lines where customers arrive, wait for service if it is not immediately available, and leave after being served.
A queuing system consists of customers arriving at a service facility, waiting in a queue (if necessary), getting served, and then departing. It is represented using Kendall's notation: , where A = arrival distribution, B = service distribution, c = number of servers, K = system capacity, N = population size, D = queue discipline.
Key components of a queuing system:
Queue discipline defines the rule by which customers are selected from the queue for service.
FCFS (First Come, First Served) – The customer who arrives first is served first. This is the most common discipline (e.g., bank queues, ticket counters).
LCFS (Last Come, First Served) – The customer who arrives last is served first. This works like a stack (e.g., elevator system, stack of plates).
SIRO (Service In Random Order) – Customers are selected randomly from the queue regardless of their arrival time (e.g., lottery-based token systems).
Priority Scheduling – Customers are served based on assigned priority levels rather than arrival order.
Round Robin – Each customer gets a fixed time slice of service in a cyclic manner (e.g., CPU scheduling in operating systems).
These are the metrics used to evaluate how efficiently a queuing system operates:
| Symbol | Performance Measure | Meaning |
|---|---|---|
| Average number of customers in the system | Total customers (in queue + being served) | |
| Average number of customers in the queue | Customers waiting only | |
| Average time a customer spends in the system | Total time (waiting + service) | |
| Average waiting time in the queue | Time spent waiting only | |
| Server utilization (traffic intensity) | Fraction of time server is busy | |
| Probability of system being empty | No customer in the system |
Key formulas (for M/M/1 queue):
Traffic intensity: , where = arrival rate, = service rate
Average number in system:
Average number in queue:
Average time in system:
Average waiting time in queue:
Little's Formula: and
Server utilization: (system is stable only when $\rho < 1$)
A queuing system provides a mathematical framework to analyze waiting lines. By understanding different queue disciplines and measuring performance parameters like , , and , we can optimize service systems to reduce waiting time and improve efficiency in real-world applications like hospitals, banks, and computer networks.
Short Answers Questions