This document summarizes a Python project to build a CGPA calculator. The project was created by 3 students for their third semester B.Tech program. It uses a graphical user interface to allow users to easily calculate their term and cumulative grade point averages based on inputs like course credits and grades. The calculator also stores data in a database and allows viewing existing records and grade points. It provides a simple way for students to track their grades and predict scores needed to achieve target CPGA levels.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
1K views16 pages
Project 25 CGPA Calculator
This document summarizes a Python project to build a CGPA calculator. The project was created by 3 students for their third semester B.Tech program. It uses a graphical user interface to allow users to easily calculate their term and cumulative grade point averages based on inputs like course credits and grades. The calculator also stores data in a database and allows viewing existing records and grade points. It provides a simple way for students to track their grades and predict scores needed to achieve target CPGA levels.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16
PYTHON PROJECT REPORT
ON CGPA CALCULATOR
Submitted by Name : Sathi Dithin Vijay Kumar Reddy(15) Registration Number : 12112099
Name : Jaggina Nitin Kumar(36)
Registration Number : 12111740
Name : Kilaparthi Kartheek Sasi
Kumar(26) Registration Number : 12112491
Program : B.Tech (CSE)
Semester : Third Section : K21KP School : School Of Computer Science And Engineering. Name of the University : Lovely Professional University. ALLOTTED PROJECT PHOTO : Introduction : Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
Objectives of the project :
For college students keeping track of their cgpa is pretty important so that they can keep a balance between their academics and co curricular acivities along with good marks thus its much difficult to keep on calculating again and again the tgpas and cgpa and hence this CGPA calculator helps to instantly calculate the tgpa and cgpa of a student based on certain inputs. We have created a very user friendly graphical user interface so that user can easily run through it without any difficulty. The project also stores all the data in a database for permanent storage. If a user wants to check already entered data we have also provided an option for that and he/she can also see the grade points related to each grade if they wish to.
The major purpose of the project is to help students keep track
of their grades and markings. Also they can predict how much they have to score to keep the desired cgpa for the year. Content : The Cumulative Grade Point Average (CGPA) is the overall GPA of the entire academic year at the university. The CGPA is considered as the final performance report for a student. There are four input areas where the end-user or the student requires to enter the data.
For calculating the TGPA, Grade points and credits go hand
in hand. Credit is the weightage assigned to each subject depending upon the number of lectures, tutorials, and practicals assigned to it. They are reflected in the timetable. While the grade points, as the name suggests, are the points assigned to the grade you receive in that subject.
Formula for calculating TGPA :
𝑻𝑮𝑷𝑨 = 𝜮(𝑪𝑶𝑼𝑹𝑺𝑬 𝑪𝑹𝑬𝑫𝑰𝑻𝑺 × 𝑮𝑹𝑨𝑫𝑬 𝑷𝑶𝑰𝑵𝑻) ÷
𝜮(𝑪𝑹𝑬𝑫𝑰𝑻𝑺 𝑨𝑻𝑻𝑬𝑴𝑷𝑻𝑬𝑫)
TGPA is calculated like this:
For example there are 3 subjects in a particular term: x, y, and z. x has 4 credits, y has 3 credits, z has 4 credits Now, say you got an A+ in subject x , A in y, and B in z. So, accoding to the structure Your TGPA becomes (10*4 + 9*3 + 8*4)/4+3+4 = 9. The CGPA is the average of the all TGPA .
Methodology and Implementation:
In this section, we present the algorithm and explain some lines of the code. We assume that the various entries been entered into their various columns as shown in Table 1. The problem is simple and formulated as given the following known quantities: names, matriculation number, Mode of Entry (ME), Maximum Number of Semester Spent (MNSS), the Number of Semesters Spent (NSS), course codes, course GP, each students course mark and corresponding course grade point; for each student, find/solve/compute for the unknown quantities:TGPA, CGPA, remarks and outputting the results in excel format. Each row of the table represents all the knowns for each student and each empty cell means that the student did not register the course. To do this, the lecturer supplies the file containing the known quantities in .txt format by just copying the content of an excel format file and saving it into .txt format. The main part of the program is function display which does not have any parameters and inside the function we firstly initialise the total of 1st and 2nd sem as zero. Later use the conditions as shown in the screen shots below .
Here are the ‘SCREENSHOTS OF THE CODE’ of
methodology and Implementation: Output images : Conclusion : In this work, we have presented an efficient algorithm for computing the CGPA of students .The present algorithm is self starting, reliable, does not require the user to supply any information except those already in the pre-compiled senate format file, and can fill in the gaps with the required unknowns or information in the desired format with great speed and accuracy. The algorithm will enhance early turnover rate of departmental senate formats and safe level. By this we can calculate the TGPA and CGPA . References :
1. Lehmann, M. and Zeitz, P. (1997), Statistical Explorations
with Microsoft Excel, Duxbury Press.
2. Taylor, M. (2009), Learn Microsoft Excel at Advanced
Level: Spreadsheet Fundamentals from Linking Workbooks to Recording Macros, Paragon Publishing.
3. Williams, R. (2005), Real-Time System Development,