TicTacToe Icon
August 15, 2018
Java Icon
Java Section 1 Project 1
July 23, 2018

Priority Queue

Data Structure Project 4


Your company has been hired by the management of a convention center in your city that is going to host a computing convention. The task your company is to address is the staffing of the registration desk. There is great anticipation for a good turnout because the convention sponsor has announced it will give out the latest smart phones and other gadgets for each person who registers on-site. Registration will be done from 8 am until 6 pm on the day before the convention begins. The convention center is planning for an expected 1,000 (random number from the Poisson distribution) on-site registrants who will arrive approximately uniformly throughout the registration period. Experience in other cities has suggests that each person takes an average of 4 minutes and 30 seconds to complete the registration process, pay the registration fees, pick up the materials, and move on. No one will be able to complete the process in less than one minute and 30 seconds. The amount of time each registrant takes should be generated from a negative exponential probability distribution. Your company is to write a C# program to simulate the registration area of the convention center to determine how many registration windows must be staffed to assure that lines do not exceed 5 people in length including the person at the head of the line who is currently registering.

Would you like to look closer at this project?
Click a button