Create a sub-method to read the grades

Assignment Help JAVA Programming
Reference no: EM131587624

ProblemDescription

This assignment is to develop a simple grade bookapplication. A grade book has multiple rows and multiple columns. Each column represents an assignment and each row records the grades of a student from those assignmentsas illustrated below.

 

1

2

3

...

n

1

89.50

97.00

75.00

...

100.00

2

95.00

89.90

85.50

...

92.60

...

...

...

...

...

...

k

92.50

99.00

100.00

...

93.00


1 2 3 ... n
1 89.50 97.00 75.00 ... 100.00
2 95.00 89.90 85.50 ... 92.60
... ... ... ... ... ...
k 92.50 99.00 100.00 ... 93.00

When the application starts, it should prompt the user to enter the number of students and the number of assignments. After receiving those numbers, the application should prompt the user to enter grades.
After all grades are entered, the application should then display all the grades in the grade book. The grades of each student should be displayed in a single line. After all grades are displayed, the application should produce a report of the average grades of students. In addition, it should generate a report about the statistics of the assignments including the average score, the highest score, and the lowest score of each assignment.
Here is a sample run of three students, four assignments and 12 test case grades:

Assignment Requirements
The following specific requirements must be met:
- The grade book should be implemented as a two-dimensional array
- Create a sub-method to read the grades, store the grades in a two-dimensional array (grade book), and then return the grade book to the caller.
- Create a sub-method to display all grades in the grade book passed into the method as a parameter
- Create a sub-method to compute and display the average grades of the students in the grade book passed into the method as a parameter
- Create a sub-method to calculate and report the statistics of all assignments in the grade book passed into the method as a parameter
- The main method of the program must call those methods to read the grade book and produce those reports
- If either the number of students or the number of assignments or both is not positive, you program should report the error and terminate the execution as shown in the example below:

- Your program should pass the following test cases:
a. Negative assignments input
b. Negative students input
c. 3 students, 4 assignments, grades matching the test case values above
- Include a screenshot of the sample run (run through your program) along with the test cases in your screenshots.
Submission Requirements
Your assignment submission should include the following items:
- The Java source code file (i.e., *.java file)
- The screen captures of the test cases you run

Submit all those files above into the dropbox of this assignment.

Reference no: EM131587624

Questions Cloud

Find the company total and average revenues : Application exercise. Suppose that a company sold q1 = 50, q2 = 40, q3 = 30, and q4 = 20 units of goods numbered 1, 2, 3, and 4, respectively.
What counter measures are there for these attacks : Question: What type of attacks are banks (through their ATMs) exposed to and what counter measures are there for these attacks?
Review the relationship between the law and ethics : The laws are not always compatible with the ethical positions nurses sometimes take. This week's Discussion focuses on such a dilemma.
Towards an early warning system for network faults : An interesting idea (Gupta. and Prabhat, 2016) is to predict network faults so providing quick faults detection, thus providing network administrators.
Create a sub-method to read the grades : Create a sub-method to read the grades, store the grades in a two-dimensional array (grade book), and then return the grade book to the caller
Which element is not related with turnaround management : Which element is not related with turnaround management-? Certain changes in the external environments of business organizations demand.
Review case study of mr and mrs garcia : Mr. and Mrs. Garcia have a total of $100,000 to be invested in stocks, bonds, and a money market account. The stocks have a rate of return of9%/year.
Technology and devices impact the pillars of triple aim : In reference to ACOs. How can the use of technology and devices impact the three pillars of the Triple Aim methodology
Construct a mind map for gastritis : Explain how the factor you selected might impact the pathophysiology of GERD, PUD, and gastritis.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd