Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the qu.py file is not available.. i need the code in PYTHON according to instructions.. A small grocery grocery store as it checks out customers.
the qu.py file is not available.. i need the code in PYTHON according to instructions..
A small grocery grocery store as it checks out customers. YOU ARE REQURED TO USE A QUEUE TO SOLVE THE PROBLEM. The queue program (qu.py) is located on the Instructor drive. Here are some guidelines: 1. A customer gets to the checkout every 1-5 minutes 2. The checker can process one customer every 5-15 3. store has one checkout. You have been asked to write a program to simulate the The program should find the average wait time for customers and the number of customers left in the queue 4. Use the random number generator to get values for when customers get to the checkout and 5. You are nat required to use classes, but it might make things easier Add the following comments to the beginning of the program. how long the checker will take. Name: Class and Section: Your Name CS 222 02 Program Assignment 05 See above Due Date: Date Turned in: Program Description: You write a short description of what the program will do When you complete the program, do the following. 1. Create a folder with the following nane: ProgramAssignmento5 2. Copy your program to this folder 3. Copy the folder to your folder in the AkoppinboxNCS 222 02 folder Extra Credit: 10 points Add another checkout. This one should be an express lane in use it. Modify the original program so that it now has 2 queues, one for the regular checkout and one for the express checkout. Express custorners arrive at the checkout every 1-2 minutes. The express checker can process a customer every 2-5 minutes. which customers with10 or less items can You will need to figure out how to determine if the customer is express or not. program should print out the same number of express customers still in the queue. The as above plus average wait time for express customers and You must turn in both programs separately if you do the extra creditStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started