subject

A Math teacher is teaching Math course to a set of classes (each class may have different number of students) and want to check the behavior of his students in a homework report. The teacher gave the classes the same exam and marked their answer and wants to know the class whose students got the highest average. Help the teacher in the required analysis of student�s marks by implementing a Java program ClassAverageMArks2DimmArray using 2-dimensional array to store the students marks and then compute the average of each class student�s marks. The program has the following specification: � A Method titled averageClassMarks for computing the average (as double) of a class students marks (given to the method as a single-dimensional array) � Another Method titled averageAllClassesMarks for computing the average (as single array of double) of all the classes class student�s marks (given to the method as a 2- dimensional array). This method has to repeatedly call the first method averageClassMarks to calculate the average of student�s marks in each class. � The program reads from the user the number of classes and then reads the classes student�s marks (as integer values) line by line. Each line has the number of students in the class then the student�s marks. � The program calls method averageAllClassesMarks to calculate all the average values of marks of all the classes. Again, method averageAllClassesMarks has to repeatedly call the first method averageClassMarks. � Finally, the program then prints all the average values (rounded to 2 decimal points) of all classes student�s marks and the highest average mark as well. � The program has to work EXACTLY as given in the following sample run.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
Write a function that draws a pool ball. this function should take as parameters, the color, the number that should go on the pool ball, and the location of the center of the pool ball. the radius of the pool balls should be pool_ball_radius, and the font of the number should be pool_ball_font. the text of the pool ball font should be white. drawpoolball(color.orange, 5, 100, 100); drawpoolball(color.green, 6, 50, 200); drawpoolball(color.red, 3, 150, 350); drawpoolball(color.blue, 2, 250, 140); to center the numbers on the pool ball, you should use the getwidth() and getheight() methods. you are allowed to call these methods on your text object, such as txt.
Answers: 3
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
You know the right answer?
A Math teacher is teaching Math course to a set of classes (each class may have different number of...
Questions
question
Mathematics, 24.06.2020 15:01
question
Mathematics, 24.06.2020 15:01
Questions on the website: 13722366