Question: Please help write code for following C++ question Analyse and develop C++ code to implement ALL the methods found in the above class specification (i)

Please help write code for following C++ question

Please help write code for following C++ question Analyse and develop C++

Analyse and develop C++ code to implement ALL the methods found in the above class specification

(i) Module Class

(ii) CCA Class

(iii) StudentProgress Class

Write a test driver to test ALL the methods in the Module, CCA and StudentProgress classes. The test driver should at least include the following: (i) Instantiates arrays of Module and CCA class objects. Initialises them with arbirary values. (ii) Instantiates an instance of StudentProgress and calls calculateAchievement() and displayProgress() to compute and display the students modules, CCAs and achievement class. Please Include a screen output in your submission.

Note:The table has wrong info.

In Module getGrade will compute grade and return data member grade.

marks are not computed.

Method Remarks Class: Module Module(string "" string = "", int = 0); Constructor with default values for module code, name and marks. grade is computed as per the infomation givein in Table 2.1 Uses cout to display all data members Accessor. Retum the data member void displayModule) char getGrade); Class: CCA CCA(string = "", string-"" , char = ' '); void displayCCA); char getGrade); Constructor with default values Uses cout to display all data members Accessor. Return the data member grade Class: StudentProgress StudentProgress(ModuleD, CCAD) Constructor with array of 6 Module and array of 4 CCA objects. Assigns "In progress" as defauly value for achievement Computes grade-point-average (gpa) for 6 modules. Grade points each module is assigned as given below Grade A-45, grade B = 4, grade C = 3.5, grade D-3, grade F = 0; If there are 3 or more 'A' gardes in CCAs, 0.5 ponits is added to the average grade point of 6 modules Computes and assignes the class to the data member achievement as per the information given in Table 2.2 Use cout to display all data members. Invoke respective display method in each class oid calculateAchivement); void displayProgress); Table 2.1: Grade Computation Marks marks >= 80 marks >= 70 and-30 | B marks >= 60 and 70 | C marks >= 50 and-60 | D marks 50 Table 2.2: Class Computation GPA Grade 4.5 4 and = 80 marks >= 70 and-30 | B marks >= 60 and 70 | C marks >= 50 and-60 | D marks 50 Table 2.2: Class Computation GPA Grade 4.5 4 and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!