Starting from:
$35

$29

HOMEWORK 4 Solution

The GradeBook object will provide a means to manage grades.

Be mindful. Sometimes the data gets corrupted and may result in empty GradeBooks. These cases are well-defined in the method descriptions.

Read the provided header file documentation for instructions on how the functions should work.

You will receive one points as follows:

    • test-add-and-get-grade: 0.5 point

    • test-get-gpa: 0.75 point

    • test-get-max: 0.75 point

    • test-add-gradebook: 1.5 point

    • test-equals: 1.75 point

    • test-less-than: 1.75 point

There will be an additional point for compiling against all the tests and up to two points for style.

I have provided you a basic test app which you can use to ensure that your code is, at least partially, correct. I would suggest a more rigorous testing scheme to ensure that your methods handle missing data.

Late assignments will lose 10% per day late, with no assignment begin accepted after 3 days (at 40% reduction in points).

More products