Import the file into eclipse and work on all the tasks

Assignment Help JAVA Programming
Reference no: EM131587503

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

Reference no: EM131587503

Questions Cloud

Identify one of the theories as the most plausible : Identify one of the theories as the most plausible and provide at least two convincing reasons why the theory you have chosen.
Estimate the average cholesterol level of working adults : A proposed study for estimating the average cholesterol level of working adults calls for a sample size of 1000.
Determine initial public offering value of facebook stock : Evaluate the valuation and method used to determine the Initial Public Offering value of Facebook stock
Flotation cost percentage : What was the flotation cost as a percentage of funds raised?
Import the file into eclipse and work on all the tasks : Import the file into eclipse and work on all the tasks in that file and on eclipse - Download the latest version of CuttlefishDinner program
Discuss saudis expand regional power as others falter : The journal entries should include characters introduced, reactions, bias information, what connects characters and events, observation of the writing style
What is the expected return on this investment : A stock currently pays a dividend of $3.20 per share, which is expected to grow to $3.31 next year. What is the expected return on this investment?
Diminishing purchasing power of the dollar : The Washington Post illustrated diminishing purchasing power of the dollar in five different presidential administrations using 5 different $1 dollar bills.
Complete a risk assessment of all risks : Complete a risk assessment of all risks associated with implementing the project using an enterprise risk management (ERM) model.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd