1. Engineering
  2. Computer Science
  3. question 4 queuesstacks in a simulation of a waiting line...

Question: question 4 queuesstacks in a simulation of a waiting line...

Question details

Question 4 (Queues-Stacks) In a simulation of a waiting line, customers arrive at certain point of time, wait in the line if needed then get served based on the transaction time. Consider the following simulation: Customer 1 enters the line at time 2 with a transaction time of 3 Customer 2 enters the line at time 8 with a transaction time of 3. Customer 3 enters the line at time 10 with a transaction time of 1. Customer 4 enters the line at time 11 with a transaction time of S. Customer 5 enters the line at time 12 with a transaction time of 9. During the simulation, what is their average waiting time?
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution