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

  Validation and event handling in javascrip

To complete this project you will write and submit one HTML file containing embedded CSS and JavaScript. The file will be called lab2.html. This file contains a registration form, which can be styled any way you like subject to the requirements be..

  Implement a game called bunko-poker

Implement a game called Bunko-Poker. The gameplay is an easily programmed version of the popular game Yahtzee. Your program will make use of the supplied static functions Dice.roll() and, in cases where you might need the string ordered, Dice.ordered..

  Create a class named integerset.

"The fourth array set is named fourthArrayName and was created by calling Method intersectionOfSets on the first two sets. It represents this set of numbers: { value1, value2, value3, valuen }." (Again note: that each number of the array is follow..

  What fields and methods are inherited by which class

What java keyword is used in a class header when a class is defined as inheriting from an interface?

  Structure named dog with a string field

Create a Structure named dog with a string field for the Dog's name. Create a Structure named Cat with a string field for the Cat's name. Write a program that declares one Dog and one Cat, and assign names to them. Write two overloaded functions n..

  Create a gui front end for your bubble sort program

Design and implement a Java program which sorts a 10 element integer array using the bubble sort process. The elements of the array to be sorted should be supplied by the user (assume the user will not input duplicates).

  Write a program to convert kilograms into pounds

Write a program that prompts the user to enter the mass of a person in kilograms and outputs the equivalent weight in pounds. Output both the mass and the weight rounded to two decimal places.

  What is an illustration of a javascriptr framework in the

what is an example of a javascriptr framework? in the framework you have described what is an example of an application

  Draw the result of taking the tree in the diagram

Draw the result of taking the tree in the diagram and deleting the root three times using the deletion algorithm from lecture and the web

  Create dict letter frequencies that reads the file

createDictLetterFrequencies that reads the file and also takes a parameter n. This method should return a dictionary of dictionaries. The outer dictionary associates the previous n letters of a word with an inner dictionary, which indicates the frequ..

  Balancing binary search trees

Balancing Binary Search Trees,  Consider the file BST.java (a link to this file is provided below for downloading purposes) which defines a generic Binary Search Tree class.

  How many numbers do you want to enter

Write a program that asks the user "How many numbers do you want to enter?" With that value, create an array that is big enough to hold that amount of numbers (integers).

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