Infsci 2500 data structures java assignment


INFSCI 2500 Data Structures Java Assignment

The assignment is to implement the methods "insert" and "delete" for our custom collection class Sequence which we built.

The insert method will take as input int index and EnewElement. The method will insert the element into the data array at the specified index. It will then print the elements in the array.

The delete method will take as input int index. The method will delete the element at the specified index. It will then print the elements in the array.

The array should always have just as many spaces as there are elements. Remember to increase or decrease the size field when inserting or deleting.

I have already implemented a print() method for you to use to print the Sequence object out. Call it at the end of each method you write to do the printing.

In the main method, create an instance of the Sequence class and add some integer values with append(). Then write a loop which asks if the user wants to insert or delete or quit from the keyboard. If the user wants to insert or delete, then the loop should ask for the necessary parameters from the keyboard. Below is an example of the functionality expected.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Attachment:- Sequence.rar

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Infsci 2500 data structures java assignment
Reference No:- TGS03013503

Now Priced at $30 (50% Discount)

Recommended (91%)

Rated (4.3/5)