December 27th, 2012, 07:23 AM
CGPA and GPA
Design and implement a python program that will compute the CGPA and GPA for the courses a student has taken throughout all semesters.
Can you help me?
This program for Python.
December 27th, 2012, 08:52 AM
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?
Comments on this post
December 29th, 2012, 02:04 PM
Originally Posted by StevenJM
• 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.
Σ Si X Ci
CGPA = -----------------
December 29th, 2012, 02:31 PM
Σ Si X Ci
is a dot product. numpy is good for dot products. Hope this helps!
[/code] are essential for python code and Makefiles!