Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M92396338
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Java

Assignment - java program using array of objectsobjectives

Assignment - JAVA Program using array of objects Objectives - This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details - For this assignment, you are required to develop a Menu ...

Answer the following question whats the difference public

Answer the following Question : What's the difference public inheritance and private inheritance? What can derived classes inherit from base classes? What cannot be inherited from base classes?

Simple order processing systemquestion given the classes

Simple Order Processing System Question: Given the classes Ship (with getter and setter), Speedboat, and SpeedboatTest. Answer the following questions: Refine the whole application (all classes) and create Abstract class ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Solving 2nd degree equationsbull write the following java

Solving 2nd degree equations • Write the following Java methods • boolean real-sols(double a, double b, double c): it returns true if the 2nd degree equation ax2 + bx + c has real solutions • double solution1(double a, d ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Can someone please help me with the following java

can someone please help me with the following java question The input is an N by N matrix of nonnegative integers. Each individual row is a decreasing sequence from left to right. Each individual column is a decreasing s ...

In ruby the hash class inherits from enumerable suggesting

In Ruby, the Hash class inherits from Enumerable, suggesting to a programmer that Hashes are collections. In Java, however, the Map classes are not part of the JCF (Java Collections Framework). For each language, provide ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As