Reference no: EM132222570
Programming Languages Assignment - Project 2: Implementing the GradeUtil API
In project 1 you did the hard work of developing test cases against a set of Grade Analysis utility functions. In this assignment you get to reap the benefit of that hard work and use those test cases to help you implement those functions. If you didn't finish project 1, you should make sure you have read the project 1 handout so you understand the API you are going to implement. To help you get started, we'll provide a few unit tests (but you'll have to write more).
Assignment Details -
The details are simple: implement the 11 functions defined in the "gradeutil.h file". A corresponding C++ file, "gradeutil.cpp", is being made available to help you get started --- this is a C++ file of header comments and empty function stubs.
There are no changes in the API from project 1, however the header comments for the FindCourses(...) functions have been updated in both the .h and .cpp files to be more accurate.
Assignment Requirements -
The goal is to program in modern C++, not C. So no pointers --- references yes, pointers no. When it comes time to sort in the FindCourses(...) functions, you *must* use the built-in std::sort; do not write your own. Whenever possible, use range-based for loops (aka "foreach"), and consider using std::find_if when searching.
Programming environment: Codio *or* the IDE of your choice
In this assignment you are free to use whatever programming environment you want. Submissions will be collected using Gradescope, but you are not required to use Codio. We encourage the use of Codio since it will be familiar from project #01, and Codio allows the staff to access your work if you need help. But Codio is not required in this assignment.
Note - Attached the handout of project 1 to the folder because it will help you as a reference since the test cases for project 2 will be in a similar way.
Attachment:- Assignment Files.rar