In order to calculate GPA, we would first need the following 3 components:
- Total Credits: Total Credits earned over all the modules taken
- Module Grade: Individual grade of all the modules you have taken
- Module Credit: Individual credit of all the module you have taken