Data Structures

Needs to be done by TOMMOROW NIGHT.

Implement the two classes using the descriptions given by me.

○ The two collections that you build will store data of type int.

○ You need to include pre and post conditions comments above each method. They are provided with the

class descriptions below but you should write them in your own words.

○ You must store the values that are added to these collections in private arrays called, “store”.

Each class will have one.

○ You must automatically resize the array if it gets full.

■ When resizing, simply create a new array of double the previous size.

■ Write a separate private method for resizing.

■ Resizing should only happen when adding an int and only when the array is full.

○ The stack and queue will require exception classes called, “EmptyStackException” and

“EmptyQueueException” respectively. These classes are provided with this assignment.

● Create two UML Class diagrams, one for ArrayStack and the other called ArrayQueue.

○ You will need to use a program that enables you to do such modeling.

○ There are free programs available, Microsoft Visio (available through school), or you can use a

desktop publisher.

○ Whatever program you decide to use, You should submit two PDF files, one called

[login to view URL] which contains the diagram of the ArrayStack class, and the other called

[login to view URL] for the diagram of the ArrayQueue.

○ Do not copy these diagrams from the internet.

● Implement a class called Main in which you will create the main method to test your two collections.

○ The main method will consist of only method calls.

○ You will write a test method for each test and call it from main.

○ Each test method should test only one method of a collection

○ Test every method of each collection.

○ Feel free to write as many helper-methods as you wish.

○ There will not be any need for a user interface in this program.

● Each test method will test the functionality of only one feature (method) of a collection and report whether it

works or not.

○ The output of each test should include:

■ The name of the class under test

■ An explanation of what was tested. This output string should be stored in a variable and be the

first statement in the method.

■ Whether the test passed or failed

○ Please organize this class in an orderly way.

Taidot: Java, Koodaus, englanti (Yhdysvallat), Ohjelmointi

Näytä lisää: data structures algorithms, data entry needs company, algorithms data structures report traffic signal, data structures in c, data structures tutorial, data structures and algorithms, data structures types, data structures pdf, data structures in python, data structures examples, data structures in java, project data structures using, data structures programming experience, projects based data structures, easy data structures projects, morse code data structures tree, unique projects data structures using, project data structures, write data structures file, java data structures

Tietoa työnantajasta:
( 1 arvostelu ) Corona, United States

Projektin tunnus: #27961964

Myönnetty käyttäjälle:


*** I can start now to help in your Data Structure Java Project to get it done in next few hours *** Hi there, I can see you need help related to Java work/task/assignment, I can deliver the optimal code in next few h Lisää

$30 USD 1 päivässä
(64 Arvostelua)

5 freelanceria on tarjonnut keskimäärin $70 tähän työhön


Hello. I'm pretty happy to bid on this interesting project. I read your description carefully and I think that I am the developer you are looking for and are suitable for this task. I have rich experience in Java, Data Lisää

$50 USD 1 päivässä
(8 arvostelua)

Hello , I read your description and I think that I can help you in this assignement, I am experianced software engineer,  java developer i developed many java programs for seven years, I am good at Data structure, jav Lisää

$133 USD 2 päivässä
(5 arvostelua)

###### Having Teaching Experience in C, Python, Data structure, Algorithm Design and Analysis ######## ###### I can start now and complete by tomorrow ##################### Hi, Greetings. I am a computer engineer ha Lisää

$100 USD 2 päivässä
(4 arvostelua)

As a Software Engineer I have good skill set to design and develop application.I read your description and I know how to acomplish this [login to view URL] discuss it I can deliver you the product that meet your requirement and Lisää

$35 USD 1 päivässä
(2 arvostelua)