Java Queue Data Structure Program

In Progress Posted 5 years ago Paid on delivery
In Progress Paid on delivery

Simple product should take less than 20-30min.

You have been asked to create a customer service program for a new phone store that will be opening soon. Since this company anticipates being the agent for a rising new product that will be able to host the most popular video games–always released at midnight on the eve of the anticipated announcement date–they want a customer service module that will help them manage the customers as they arrive. Customers will be added to the queue as they arrive, removed once they have been served. Sometimes the queue will be search to determine who is there. As a prototype for this system, you are to use the linked list created in Assignment 3.1 to create a queue class and a test program that can handle this new system. The queue class must include a method to insert elements into the queue, remove elements from the queue, look at the first and last element of the queue without removing the elements from the queue, and search for an element in the queue. Use the following algorithm to simulate a simple version of the new system.

1. Choose a random integer between 1 and 5 to determine the minutes at which a customer arrives.

2. When a customer arrives, choose a random integer between 1 and 5 to determine the number of minutes that the customer must remain in the checkout line.

3. Repeat the two steps for a 12 hour (720 minute) simulation.

4. Run the simulation again with a random integer of 1 and 3 to compare the number of customers in the checkout line against the original 12 hour simulation.

Be sure to test the solution using a set of input data that demonstrates that your solution is correct. Take a screen shot showing the output from your Java program.

C Programming C++ Programming Java JavaScript Software Architecture

Project ID: #17170928

About the project

10 proposals Remote project Active 5 years ago

10 freelancers are bidding on average $31 for this job

kcbStar

Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C, Java, and Data Structure. I will provide you quality work according to your instrument. Thank you.

$25 USD in 1 day
(124 Reviews)
6.3
jigneshlakhani0

I, Jignesh Lakhani completed my masters from IIT Roorkee in Computer Engineering. I am having very good knowledge of C, C++, Java, JavaFX, Algorithm and Data Structure. I am having strong analytical power. I will comp More

$30 USD in 1 day
(40 Reviews)
5.9
p4logics

Hello Sir! I think I'm a great fit for this project because I have an interest in your project and can deliver on time, according to your specifications we are expert in the same. Will complete with few hours. Please p More

$30 USD in 1 day
(33 Reviews)
5.3
paulprabhakarand

Hi, I read your requirement, I am a tech savvy person, more than a decade I am developing and delivering applications on Java based technologies. I am a certified Java professional. My logical thinking and problem so More

$23 USD in 1 day
(30 Reviews)
5.3
GhadaGamalShebl

Hi, I'm a computer science graduate so I've solved so many similar assignments, also I'm a java expert, I can do this job for you.

$25 USD in 1 day
(15 Reviews)
4.6
danielmccarthy95

I have been a software developer for eleven years and can complete this project with you getting the highest marks possible. I have graduated with a Bsc Computer Science degree 1st class. The highest bachelors degree a More

$30 USD in 1 day
(2 Reviews)
0.4