Test Plan for course grading software Software to calculate and display grades f
ID: 639047 • Letter: T
Question
Test Plan for course grading software
Software to calculate and display grades for a high school course works as follows:
The software has a Student class with the following properties:
- student number (String)
- last name (String)
- first name (String)
- an array of scores on tests 1 through 10 (array of integers)
- final grade (double)
The Student class has constructors, get and set methods for each property, and the following:
- a method to let the teacher input a grade for a single test
- a method to calculate the final grade (an average of all 10 tests)
- a method to display a histogram (bar chart) of all 10 test scores grades for any student
The method that prints a histogram calls the histogram() method from the exisiting DataGraph Class which has been professionally validated.
All test score and the final grade are integers between 0 and 100 (0 <= n <= 100).
The main method for the software ties everything together. The class that contains the main method,
the Grading class, has an array of student objects and the following methods:
- a method with a menu for the teacher that calls other methods in the Grading class or Student class as needed. It also has an option to close the program
- a method that loads the array of Student objects from a data file
- a method to save the array of student objects to a data file
- a method to display results for any test or the final grade as a table, sorted by last name
- a method to display the grade distribution for any one test as a pie chart
The method that prints a pie chart calls the pieChart() method from the exisiting DataGraph Class which has been professionally validated.
Follow the outlined requirements. You should submit a word document with the testing plan.