Calculate and report the statistics

Assignment Help JAVA Programming
Reference no: EM131587639

This assignment is to develop a simple grade book application. 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 assignments as illustrated below.

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:
Negative assignments input
Negative students input
3 students, 4 assignments, grades matching the test case values above

Reference no: EM131587639

Questions Cloud

Provide a brief background on your chosen disease : Provide a brief background on your chosen disease. Identify how this disease develops or how individuals contract the disease.
Network administrator assign to a network address : What subnet mask would a network administrator assign to a network address of 172.30.1.0 if it were possible to have up to 126 hosts?
Describe the cause and symptoms of the disease : Describe the cause and symptoms of the disease. Which populations are most susceptible to infection? How is the disease transmitted?
Find the total supplies from the plants : Suppose that a firm has three plants in three cities and two warehouses in three other cities. The firm wants to transport the good produced in these plants.
Calculate and report the statistics : Create a sub-method to display all grades in the grade book passed into the method as a parameter - calculate and report the statistics
Define visible sexually inappropriate messages : Imagine that the cell phone you have confiscated has readily visible sexually inappropriate messages on it
How strategic management and finance affect diversity : How Strategic Management and Finance Affect Diversity? Evaluate the impact of leadership and ethical decision making on organizational culture.
Why the team uses the tool with this specific configuration : Explain why the team uses the tool with this specific configuration.
Find the transportation plan that minimizes firm total cost : Suppose that a firm has three plants in three cities and three warehouses in three other cities. The firm wants to transport the good produced in these plants.

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