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

  How to create link buttons on the android app

How to create Link buttons on the Android app? Link the buttons that you created in Unit 2 to the corresponding recipe category in a local database. Test the application in the Android Phone Emulator.

  Write a program cmsc401 java

Write a program cmsc401.java that receives a sequence of commands (from 1 up to 10000 commands)

  Define the kernel mode in operating system

Define the kernel mode in operating system

  The babylonian algorithm for square root approximation

The Babylonian Algorithm for Square Root Approximation. Delete the auto-generated CPS150_Lab19.java source file in the new project.

  Classes using set and get methods

Create a java program that contains two classes using set and get methods. I need the program to return the area and perimeter of a rectangle. I wrote a program and he returned to me saying I used the wrong constructors and didn't create a the sec..

  Write a java tcp socket program to do tcpsocket server

Write a Java TCP socket program to do TCPSocket server. When starts the server, IP address of the machine must be displayed so the client can use to connect.

  Write a simulation of the memory management

CO2017 - Exercise 2 - Java Threads. You will write a simulation of the memory management component of an operating system. The system will use simple direct memory management

  Write a class house that correctly compiles and runs

Write a class House that correctly compiles and runs with the following TestHouse code. You cannot change a single thing in the TestHouse class,

  Write an application that displays all even numbers

Write an application that displays all even numbers from 2 to 100 inclusive, and that starts a new line after every multiple of 20 ( 20, 40, 60, and 80). Save the file as EvenNums. java

  List all of the rooms which must be traversed

List all of the "rooms" which must be traversed, in the form of a path of room coordinates, from the start to finish. The input file will consist of 100 rows of 100 digits, 00-99.

  Instantiate a non-default orderprocessor object

Assignment you will need to instantiate (creat*) object(s) and invoke their instance methods to perform different tasks. The program is to keep track

  Modify the book class to accommodate multiple authors

modify the Book class to accommodate multiple authors using one of the components from the Java Collection Framework.

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