Question: EXERCISE 1: (65 POINTS) This exercise is on the application of Unordered Lists. You will need the source codes for Node.java, LinkedList.java and List.java discussed
EXERCISE 1: (65 POINTS) This exercise is on the application of Unordered Lists. You will need the source codes for Node.java, LinkedList.java and List.java discussed in the lectures. You will also need the text file nhlstats.txt. Before you begin this assignment, it will be useful to study the Expense.java, ExpenseList.java and ExpenseListDemo.java programs that were discussed in the lectures. You may want to study Exercise 0 of Lab 4 for a quick review. The objective of this assignment is to perform analytics on NHL (National Hockey League) stats data and derive some interesting results. The nhlstats.txt file provided to you in the folder contains read a text file containing important statistics on each NHL player in the current 2018- 19 hockey season. The text file is arranged as shown below. The meaning (legend) of each row is given below (not in the text file): Williams, Justin Player name (last name, first name) CAR Team (CAR is Carolina Hurricanes) 3 GP (Games Played) 0 G (Goals scored) 3 A (Assists) 3 P (Points) 3 +/- Rating 0 PPG (Power Play Goals) 0 PPP (Power Play Points) 1.00 PTSG (Points Per Game) 0 SHG (Short handed goals) 0 SHP (Short handed points) 0 GWG (Game Winning Goals) 2 PIM (Penalty Minutes) 10 SOG (Shots on Goal) 0.0 SHP (Shooting Percentage) 16:39 ATOI (Average Time on Ice) The nhlstats.txt file contains the raw scores of 60 top NHL players arranged as shown above. Now, from these numbers, hockey statisticians calculate interesting information, and that is what you are required to do in this exercise. It essentially entails building an unordered list of the record of each player and searching for interesting data. Follow these steps. 1. First create a class called PlayerRecord.java that has all the 17 instance variables for one player (Name, Team, GP, G, A, , ATOI). public class PlayerRecord { . } 2. Next create a class PlayerStats holds an unordered list of PlayerRecord objects. public class PlayerStats { private List








EXERCISE 1: (65 POINTS) This exercise is on the application of Unordered Lists. You will need the source codes for Node.java, LinkedList.java and List.java discussed in the lectures. You will also need the text file nhlstats.txt. Before you begin this assignment, it will be useful to study the Expense.java, ExpenseList.java and ExpenseListDemo.java programs that were discussed in the lectures. You may want to studv Exercise 0 of Lab 4 for a quick review The objective of this assignment is to perform analytics on NHL (National Hockey League) stats data and derive some interesting results. The nhlstats.txt file provided to you in the folder contains read a text file containing important statistics on each NHL player in the current 2018- 19 hockey season. The text file is arranged as shown below. The meaning (legend) of each row is given below (not in the text file): Williams, Justin CAR >Player name (last name, first name) > Team (CAR is Carolina Hurricanes) > GP (Games Played) G (Goals scored) -> A (Assists) - P (Points) > /- Rating >PPG (Power Play Goals) > PPP (Power Play Points) 3 0 EXERCISE 1: (65 POINTS) This exercise is on the application of Unordered Lists. You will need the source codes for Node.java, LinkedList.java and List.java discussed in the lectures. You will also need the text file nhlstats.txt. Before you begin this assignment, it will be useful to study the Expense.java, ExpenseList.java and ExpenseListDemo.java programs that were discussed in the lectures. You may want to studv Exercise 0 of Lab 4 for a quick review The objective of this assignment is to perform analytics on NHL (National Hockey League) stats data and derive some interesting results. The nhlstats.txt file provided to you in the folder contains read a text file containing important statistics on each NHL player in the current 2018- 19 hockey season. The text file is arranged as shown below. The meaning (legend) of each row is given below (not in the text file): Williams, Justin CAR >Player name (last name, first name) > Team (CAR is Carolina Hurricanes) > GP (Games Played) G (Goals scored) -> A (Assists) - P (Points) > /- Rating >PPG (Power Play Goals) > PPP (Power Play Points) 3 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
