Question: Question 1 ( 2 5 points ) . Please use the Problem - Solving Process. Write an application that uses an Array of 3 0

Question 1(25 points). Please use the Problem-Solving Process.
Write an application that uses an Array of 30 Numbers (random integers from 1-100) and returns the maximum number, minimum number, average of all numbers, and prints a Bar Chart to show the number distribution (1-9,10-19,20-29,...80-89,90-100).
Notes: Maximum number, minimum number, average number, and the Bar Chart must be implemented as separate methods in a separate class. Each method call requires an array as an argument. Please use the additional code given with this lesson to develop your application.
Question 2.(25 points). Please use the Problem-Solving Process.
Write a Java application that will initialize a two-dimensional array of any number of rows and with variable length columns.
Using a separate method, print out the values of the array in the defined rows and columns.
Determine the average value of all the elements in an array of numbers.
Example Declaration/Initialization:
int[][] array1={{1,2,3},{4,5,6}};
int[][] array2={{1,2},{3},{4,5,6}};
Example Output:
Values in array1 by row are:
123
456
The average value of array1 is: 3.5
Values in array2 by row are:
12
3
456
The average value of array1 is: 3.5
Question3(25 points). Please write the Java Code that will execute the Array Expansion in figure 2.5 below. Note: Please use of the complete problem-solving process. Your solution should output the values of the array after each step of the expansion process. Please generate a test plan and do not forget the screen captures and UML class diagram/s.
image.png
Example Output:
After (a) new array of ten integers
arr ==>2,3,4,5,6,9,8,7,1,8
After (b) step 1 of expansion
arr ==>2,3,4,5,6,9,8,7,1,8
original ==>2,3,4,5,6,9,8,7,1,8
After (c) step 2 of expansion
arr ==>0,0,0,0,0,0,0,0,0,0,0,0
original ==>2,3,4,5,6,9,8,7,1,8
After (c) step 3 of expansion (copy original integers)
arr ==>2,3,4,5,6,9,8,7,1,8,0,0
original ==>2,3,4,5,6,9,8,7,1,8
After (d)
arr ==>2,3,4,5,6,9,8,7,1,8,0,0
original ==> null
Question 4(25 points). Problem Solving Process Necessary. Please Include UML Class and Activity diagrams. Dont forget the screen captures.
Starting with the given GradeBook Class (below); add the methods: outputGrades, outputBarChart, getAverage, getMaximum, and getMinimum (Note: Students can use the methods provided with the additional code file). To test your Gradebook Class, use the GradeBookTest Class also provided. Please provide a screen capture of the output of your solution.
SAMPLE OUTPUT
Welcome to the grade book for
CSCI_1471 Computer Science II!
The grades are:
Test 1 Test 2 Test 3 Average
Student 187967084.33
Student 268879081.67
Student 3941009094.67
Student 4100818287.67
Student 583658577.67
Student 678876576.67
Student 785758381.00
Student 8919410095.00
Student 976728477.33
Student 1087937384.33
Lowest grade in the grade book is 65
Highest grade in the grade book is 100
Overall grade distribution:
00-09:
10-19:
20-29:
30-39:
40-49:
50-59:
60-69: ***
70-79: ******
80-89: ***********
90-99: *******
100: ***

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 Programming Questions!