Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EXERCISE 1: (60 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

image text in transcribedimage text in transcribedimage text in transcribed

EXERCISE 1: (60 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 (these files are available to download along with the link to this assignment) 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 will also need knowledge of File Processing and String Tokenizer from CSCI 1101. You are given the raw scores of various NHL players' regular hockey games in the file nhlstats.txt. The file has data organized in the following manner: Name Marchand Eberle Pos Team GP BOS 45 EDM 48 18 16 18 21 PIM SOG GWG 27 16 91 133 3 LW Note: The first row is not there in the actual nhlstats.txt file. It just tells you what each column stands for. The columns are as follows: The first column is the name of the player. Pos stands for Position. In this column, C means Center, LW means Left Wing, RW means Right Wing, LD means Left Defense, RD means Right Defense, and G means Goalie. GP stands for Games Played. G stands for Goals scored. A stands for Assists PIM stands for Penalties In Minutes SOG stands for Shots on Goal GWG stands for Game Winning Goals. So, for example, in the above file, Marchand plays Left Wing, belongs to team BOS (Boston Bruins), played 45 games during the season, scored 18 goals, had 18 assists, spent 27 penalty minutes, had 91 shots on goal and 5 game winning goals Now, from these numbers, hockey statisticians calculate interesting information, such as the following. 1. Player with the highest points. Points Goals Assists. For example, Marchand has 36 2. 3. 4. points and Eberle has 37 points Player with the maximum penalty points Player with the most game winning goals Etc. Here is what your program should do. Follow these steps

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a money purchase plan?

Answered: 1 week ago