Python IDLE, programming assignment help

Please fined the attachment.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Thank you

Recently I had to go to the DMV in order to get new plates for my car. As I was waiting, holding my
number, three people came in who had been there earlier in the day. When a clerk was available, they
called these people first. This is an example of a priority queue. Certain tasks or people have priority
over the others.
Write a DMV program using a queue. Modify the queue so that when someone comes in with the right
code, they get moved to the front of the line.
Now, write a test program for the new queue. Use random numbers to simulate when people come into
the DMV. There should be a way to determine if the person is a new arrival or someone returning who
needs to be moved to the front of the line.
You also need to set up three clerks. When a clerk is free and there is someone in the queue, that clerk
will help the next person.
Here are some suggestions:
1) A person enters the building every 1 – 5 minutes.
2) A clerk takes 10 – 15 minutes to help someone.
3) Run the program for at least 480 minutes (480 times through the loop).
The program should display how many people were helped and how many people were still in line when
the program ends.

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER