Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

What you need to do:

by | Nov 9, 2022 | Computer Science | 0 comments

GET HELP WITH YOUR ESSAY

If you need assistance with writing your essay, our professional Essay Writing Service is here to help!

DISCOUNT CODE FIRST25

ORDER THIS OR A SIMILAR PAPER NOW

Purpose:
The purpose of this assignment is to understand how to make your own LinkedList and understand the algorithms a LinkedList uses in its implementation.
Material to Review
Posted readings and Materials on LinkedLists.
Posted examples on writing a Comparator.
Program Requirements
Project Setup:
Create a new project in eclipse called Homework05.
Download this zip file: VideoGameLinkedListProject.zipDownload VideoGameLinkedListProject.zip
This file contains the project setup and all the code that you need for this assignment. Be sure to add your files to YOUR Eclipse project so the structure is the same. Your project should look like the following under your src folder if everything is placed correctly:
src
dont_change_this_code
VideoGame.java
VideoGameNode.java
VideoGameReader.java
game_data_files
video_game_data.csv
your_code
VideoGameLinkedList.java
VideoGameLinkedListMain.java
VideoGamePeakPlayersComparator.java
VideoGamePriceComparator.java
VideoGameTitleComparator.java
RESTRICTIONS:
You may not change any of the prewritten code, especially the code in the dont_change_this_code package.
You are only allowed to add code to the methods that have the “TODO: Implement this code” comment.
Do not change any of the method headers.
What You Need to Do:
After the project is all set-up, make sure to read through the prewritten code very carefully. I have added comments where necessary explaining various parts of the code and what you need to do.
Your job is to finish the following classes in the your_code package:
VideoGameLinkedList
VideoGameLinkedListMain.java
VideoGamePeakPlayersComparator.java
VideoGamePriceComparator.java
VideoGameTitleComparator.java
I have included a .csv file with some video game data you can test with. You should figure out how to use the parseData() method from the VideoGameReader class to create a VideoGameLinkedList with the given video game data. You will need to implement the addLastVideoGame() method of your VideoGameLinkedList before the VideoGameReader will work correctly.
Pay careful attention to when you need to use a VideoGameNode vs the VideoGame stored in that node.
We will discuss how to use a Comparator to sort data this week in class.
Documentation:
Since I have already documented the code, all you need to do is add your Name, CIN, Course, and Section numbers to the files in the your_code package.
Grading:
For this assignment I will use the following Rubric:
If the program fails to compile, crashes with an Exception, produces no or incorrect output, or gets stuck in an infinite loop:
(-10 points) The program does not compile. No credit will be given for programs which do not compile.
(0 to 5 points) The program crashes with an Exception, produces no or incorrect output, or gets stuck in an infinite loop, you can receive up to half credit depending on how much I feel you completed.
If the program compiles and executes without crashing:
VideoGameLinkedListMain (2 points):
(1 points) The output that you produce is correct, well-labeled, organized, easy to read, and easy to understand.
(1 point) VideoGameLinkedListMain class is complete, and fully tests / demonstrates that your list is working.
All methods that you are responsible for implementing must be shown in the main class, or you will receive no credit for that method.
VideoGameLinkedList (6.5 points):
(1 point) The addLastVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
NOTE: If this method is not correct, I cannot grade your submission and you will receive a 0 on the assignment. Start with this method first.
(0.5 points) The addFirstVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
(0.5 points) The insertVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Method uses exception handling correctly.
(0.5 points) The removeFirstVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Method uses exception handling correctly.
(0.5 points) The removeLastVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Method uses exception handling correctly.
(0.5 points) The removeVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Method uses exception handling correctly.
(0.5 points) The getVideoGame() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Method uses exception handling correctly.
(0.5 points) The size() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
(0.5 points) The isEmpty() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
(1.5 points) The sort() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
NOTE: You must show that your sort() method works with all three Comparators in the VideoGameLinkedListMain class.
VideoGamePeakPlayersComparator (0.5 points)
(0.5 points) The compare() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
VideoGamePriceComparator (0.5 points)
(0.5 points) The compare() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
VideoGameTitleComparator (0.5 points)
(0.5 points) The compare() method is implemented correctly, produces the correct result, and is fully demonstrated to be working in the VideoGameLinkedListMain class.
Submission of Deliverables:
You will need to turn in all .java files related to this assignment.
Please zip your src folder from your Eclipse project and turn in the entire .zip file to Canvas by the due date and time.

GET HELP WITH YOUR ESSAY

If you need assistance with writing your essay, our professional Essay Writing Service is here to help!

DISCOUNT CODE FIRST25

ORDER THIS OR A SIMILAR PAPER NOW

How It Works

b

Tell us about your homework assignment.

~

Securely pay for your academic paper

j

Paper gets assigned to an expert tutor

Receive the complete paper via email

Team up With Your Own Writing Expert Now

Stuck with overwhelming assignments? We will take care of all your writing tasks.