For this quiz, you will write the following files: As you can expect, AbstractDataCalc is an abstract class, that Averag

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

For this quiz, you will write the following files: As you can expect, AbstractDataCalc is an abstract class, that Averag

Post by answerhappygod »

For this quiz, you will write the following files:
As you can expect, AbstractDataCalc is an abstract class, thatAverageDataCalc, MaximumDataCalc and MinimumDataCalc allinherit.
We will provide the following files to you:
Sample Input / Output
Given the following CSV file
The output of the provided main is:
Note: the extra line between Set results is optional and notgraded. All other spacing must be exact!
Specifications
You will need to implement the following methods at a minimum.You are free to add additional methods.
AbstractDataCalc
AverageDataCalc - TO DO
Extends AbstractDataCalc. Will implement the requiredconstructor and abstract methods only.
MaximumDataCalc - TO DO
Extends AbstractDataCalc. Will implement the requiredconstructor and abstract methods only.
MinimumDataCalc - TO DO
Extends AbstractDataCalc. Will implement the requiredconstructor and abstract methods only.
As with all coding exams, youget ONE submission attempt. Make sureyou have run multiple tests (hint: try building your own samplefiles, run calculations by hand to make sure it is workingright).
CSVReader.java
DataSet.java
Main.java
For This Quiz You Will Write The Following Files As You Can Expect Abstractdatacalc Is An Abstract Class That Averag 1
For This Quiz You Will Write The Following Files As You Can Expect Abstractdatacalc Is An Abstract Class That Averag 1 (26.14 KiB) Viewed 8 times
Sample Input/Output Given the following CSV file 1,2,3,4,5,6,7 10,20,30,40,50,60 10.1, 12.2,13.3, 11.1, 14.4, 15.5 The output of the provided main is: Dataset Results (Method: AVERAGE) Row 1: 4.0 Row 2: 35.0 Row 3: 12.8 Dataset Results (Method: MIN) Row 1: 1.0 Row 2: 10.0 Row 3: 10.1 Dataset Results (Method: MAX) Row 1: 7.0 Row 2: 60.0 Row 3: 15.5 Note: the extra line between Set results is optional and not graded. All other spacing must be exact!
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply