Discuss CGPA and GPA in the Python Programming forum on Dev Shed. CGPA and GPA Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
Time spent in forums: 31 m 26 sec
Reputation Power: 0
Originally Posted by StevenJM
There are two things I'd need to know to even begin to help you.
1. What code have you created so far?
2. What's the formula for GPA and CGPA?
• A semester Grade Point Average will be computed for each semester. The SGPA will be calculated as follows:
Σ Ci x GPi
SGPA = -----------------
where Ci = Credit for the course. GPi = the Grade Point obtained for the course and the summation over all the courses taken in that semester and n is the number of subjects registered for the semester.
A Cumulative Grade Point Average (CGPA) will be computed for every student at the end of each semester. The CGPA would give the cumulative performance of a student from the first semester upto the end of the semester to which it refers and calculated as follows.