Art + Math + Science + English
  1. Mathematics
  2. Class 11
  3. Project 22
Mathematics Through Innovation and Problem Solving

22Beat the Canteen Queue: Simulation and Queueing Maths

Long queues at the canteen or the school office waste break time. Teams observe a real queue, then build a simulation with dice, coins or a spreadsheet to test ideas such as opening a second counter, pre-packed snacks or staggered breaks. They learn the key idea of queueing theory, the traffic intensity, and present an evidence-based recommendation to the school.

Class and age
Class 11 · 16–17
Activity type
Group
Time needed
3 sessions of 60 minutes
Difficulty
Challenging
Estimated budget
৳0–৳30

Mathematical concepts

  • Arrival rate and service rate
  • Traffic intensity (utilisation)
  • Random simulation with dice and spreadsheets
  • Averages from many trials
  • Testing design changes with a model

Learning objectives

  • Measure arrival and service times in a real queue.
  • Build and run a simple queue simulation.
  • Explain why a queue grows when utilisation is above 1.
  • Compare options and make a recommendation with evidence.

Real-life connection

Banks, hospitals, ticket counters, call centres and websites all use queueing models to decide how many counters, staff or servers they need. Small changes in staffing can make huge differences to waiting time.

Materials required

  • Stopwatches (phones), clipboards and record sheets
  • Dice and coins for the hand simulation
  • A spreadsheet with a random number function (optional)
  • Permission from the canteen or office staff

Step-by-step instructions

  1. With permission, observe the queue for 15 minutes. Record the time each person joins and the time each person is served.
  2. Calculate the average arrivals per minute and the average service time per person from your own data.
  3. Practice model: suppose 1 student arrives per minute on average and serving takes 1.5 minutes. Work out the utilisation for one counter (1 × 1.5) and for two counters (1 × 1.5 ÷ 2).
  4. Hand simulation: each minute roll a die to decide arrivals (for example 1–2 means none, 3–4 one, 5–6 two). Use a coin for service length (heads 1 minute, tails 2 minutes). Track the queue for 30 minutes.
  5. Repeat the simulation several times for one counter and for two counters. Record the average queue length and waiting time.
  6. Move the simulation into a spreadsheet so you can run 100 trials quickly.
  7. Test one more idea of your own, such as pre-packed snacks (shorter service) or staggered breaks (fewer arrivals per minute).
  8. Present your findings to the canteen staff or a teacher with graphs and a clear recommendation.

Mathematical explanation

Traffic intensity is the arrival rate times the service time, divided by the number of counters. In the practice model one counter has intensity 1 × 1.5 = 1.5. Because this is more than 1, students arrive faster than they can be served, so the queue keeps growing for the whole break, on average by about one person every three minutes (1 arrives per minute but only 1 ÷ 1.5 ≈ 0.67 can be served). With two counters the intensity is 1.5 ÷ 2 = 0.75: the counters can cope, but queues still form now and then because arrivals are random. The dice model matches the practice numbers: the die gives an average of 1 arrival per minute and the coin an average service of 1.5 minutes. The simulation shows what averages alone hide: how long the longest waits are, and how sharply waiting rises as intensity gets close to 1.

Expected project output

Observation data, simulation tables and spreadsheet results for each option, graphs of queue length, and a short presentation with a recommendation.

Skills developed

  • Data collection by observation
  • Probability simulation
  • Spreadsheet modelling
  • Communicating with decision makers

Assessment criteria

  • Observation data is recorded carefully.
  • Utilisation is calculated correctly for both cases (1.5 and 0.75).
  • The simulation is run enough times to trust the averages.
  • The recommendation is realistic and supported by the results.

Extension challenge

Compare one queue feeding two counters with two separate queues, one per counter. Which gives shorter waits in your simulation, and why do many banks use a single queue?

Safety and inclusion

Observe quietly without blocking the queue or the staff. Record times only, never names or photos of people waiting.