Question: ava source code should be in the following format: type your name, course number, section number, and assignment number on the top of ALL files

ava source code should be in the following format: type your name, course number, section
number, and assignment number on the top of ALL files in comments.
Place complete java files into a folder, named FirstInitialLastName_Pra#, compress the
folder as a zip file, and then submit.
Upon submission, check solutions to the practice problems in the discussion board.
Practice Problems:
Please download the zip file, Module 4 Student File, and unzip it.
1. Open the incomplete program, DataStat.java and DataStatDriver.java.
The DataStat class will rearrange the data in DESCENDING order and calculate the
mean for the data set. The data member is data[], which will references to a list of
scores (any number of elements).
You need to complete the constructor, and other methods listed in the class diagram
(All algorithms are in Module 4 Lecture Notes, but you may need to modify code, like
array name, operators and so on). Then complete method calls in DataStatDriver.java
to test the DataStat.java.
+DataStat
-data[] : int
+DataStat()
+DataStat(newArr[] : int)
+setData(newArr[] : int): void
+getData(): int[]
+sortData() : void
+calculateMean(): int
+searchData(num : int) : int
+outputData() : void //(optional)
+DataStatDriver
+main(

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!