Starting from:

$29

CSCE 240 Homework 4 

CSCE 240 Homework 4 
You shall submit a zipped, and only zipped, archive of your homework directory,
hw3. The directory shall contain, at a minimum, the files src/gradebook.cc and
inc/gradebook.h. Name the archive submission file hw3.zip
I will use my own makefile to compile and link to your src/gradebook.cc and
inc/gradebook.h files. You must submit, at least, these two files.
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