Question 1: Implement a Queue Here is the class Queue. Every bus stop has a queue. The Source (code above) calls the method enter of the queue to add people to it. When the bus stops at a given stop, the people in the queue need to climb on, if there is space for them in the bus. We leave it up to you to implement the queue. Feel free to add any methods and properties you need. Question 2: Implement a Bus The bus is the centerpiece of our simulation. The bus behaves as follows. When the bus arrives to a stop: first people for whom the stop is the destination get off, one by one, then people waiting get on, one by one, up to when the queue is empty or the max capacity of the bus is reached, and finally, it drives to the next station. A person climbing on or off the bus takes time given by np.random.gamma(2, geton_time / 2). You are advised to model as events the climbing up/down of every person. The bus takes time given by np.random.gamma(10, nextstop_time / 10) to drive to the next stop. The initializer of the bus takes as parameters the ring of queues (one queue for each stop), so that it has access to the people climbing on/off the bus. It also takes as parameters the bus max capacity, and the times for people to get on and off. We leave it up to you to write all the interesting bits of the bus implementation.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme