Starting from:

$30

CSCE 240 Homework 4 

CSCE 240 Homework 4 
You shall submit a zipped, and only zipped, archive of your homework directory,
hw4. The directory shall contain, at a minimum, the files src/grade.cc, inc/grade.h,
src/gradebook.cc and inc/gradebook.h. Name the archive submission file hw4.zip
I will use my own makefile to compile and link to your src/grade.cc, inc/grade.h,
src/gradebook.cc and inc/gradebook.h files. You must submit, at least, these four
files.
The GradeBook object will provide a means to manage grades. The Grade object represents the scored
outcome of a student submissions.
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 methods should work.
You will receive points as follows:
1. test-grade-constructor: 0.7 points
2. test-grade-toDouble: 0.7 points
3. test-grade-toString: 0.7 points
4. test-grade-toLetter: 0.7 points
5. test-grade-equals: 0.7 points
6. test-grade-dividedBy: 0.7 points
7. test-grade-plus: 0.7 points
8. test-gradebook-add-and-get: 0.7 points
9. test-gradebook-add: 0.7 points
10. test-gradebook-calcAverage: 0.7 points
Total: 7.0 Points Possible ˆcompilation of each test (ten tests above): 0.1 points ˆgrade.cc style: 0.5 points ˆgrade.h style: 0.5 points ˆgradebook.cc style: 0.5 points ˆgradebook.h style: 0.5 points
Total: 3.0 Points Possible
I have provided you basic test apps 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 5% per day late, with no assignment begin accepted after 4 days (at 20% reduction in points on March 29th 2022).

More products