Import the file into eclipse and work on all the tasks in


Do not create a new file. Import the file into eclipse and work on all the tasks in that file and on eclipse.

Okay please submit all the work in the file attached below named FInalExamPractical. Do not create a new file. Import the file into eclipse and work on all the tasks in that file and on eclipse.

The class examples the professor is talking about for Task 4 and Task 5, I have attached an example from class and you guys can look at the code and see how it was done and use to complete the final exam practical. The file is labeled RresnickE15.

Let me know and please complete all the tasks. I will ask for where each task was done in the assignment.

ASSIGNMENT BELOW:

Download the latest version of CuttlefishDinner program stored in FinalExamPractical.zip and import it into Eclipse. You must complete the following tasks based upon our examples in class and your homework.

1) Run the program and play the game. You will see it is complete and works but is very verbose.The Board class defines a print stream (currently System.out) You need to adjust the print stream code so it outputs to a file named "cuttlefish.log". Play the game and make sure to upload this cuttlefish.log file as an individual file to the practical.

2) Copy and paste the console log to a txt file or equivalent you need this information to see if you have improved the performance of the game and you need to upload it to canvas as console.txt

3) Change the ListClass defined in the Board.java file replacing LinkedList with LinkedListStudent.

4) The LinkedList class is very inefficient at keeping track of the list length and if it has data. You will note that it counts each item in the list to calculate the size and to determine if the list is empty. Using the LinkedListStudent class Update the Add, Remove, isEmty, and Size methods to make this more efficient. Hint: My example in class did this correctly so start there.
a) Improve the efficiency of the isEmpty method.
b) Improve the efficiency of the Size method. (Hint it shouldn't need to calculate the length on the fly!)

5) Run the program but don't move the cutttlefish. It should execute and stop with a score of 70 and print the run time. Compare LinkedList, LinkedListStudent, and ArrayList. In the comment of the submission record the three scores and state which was smaller.

6) add a button, and field to adjust the speed of the game (difficulty of the game). The speed of the game is controlled by the "delay" parameter in the Board class.

7) Export the project as a zip file and upload it to the practical assignment in Canvas. In the same submission but as an individual file upload the cuttlefish.log file and record which List class was fastest by providing the run time for each list class.

Attachment:- Practical.rar

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Import the file into eclipse and work on all the tasks in
Reference No:- TGS02383046

Now Priced at $15 (50% Discount)

Recommended (94%)

Rated (4.6/5)