Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

SUNDARAM CENTRAL

SCHOOL, PALGHAR

A Project on
“GRADE CALCULATOR
Using Python
For
AISSCE 2024 Examination
Submitted By
Ravi Godbole
[Roll no: 19]
Under the guidance of
Mrs. Mohini Verma
PGT(Computer Science)
1
CERTIFICATE
This is to certify that Mr. Ravi Godbole has
successfully completed the project work on
informatic practices for class IX practical
examination of Central Board of Secondary
Education in year 2023-2024. It is further
certified that this project is the individual
work of candidate.

Signature of student Signature of internal


examiner

Signature of Principal

Date: ______________

Place: ______________

2
ACKNOWLEDGMENT
I feel proud to present my project in
Informatics Practices on the topic "GRADE
CALCULATOR". This project wouldn't
have been feasible without the proper and
rigorous guidance of my IP teacher Mrs.
MOHINI VARMA who guided me
throughout this project in every possible
way.

I would like to express my gratitude towards


my friends for providing the necessary
information and knowledge about the work
during the period of my project.

Ravi Godbole
11th (Science)

3
INTRODUCTION
Python is a popular programming
language. It was created by Guido van
Rossum, and released in 1991.
It is used for:
Web development (server-side),
Software development,
Mathematics,
System Scripting.

Why Python ?
▪ Easy to Use and Learn
▪ Increased Productivity
▪ Flexibility
▪ Extensive Library
▪ Supportive Community

4
What can Python do?
#Python can be used on a server to
create web applications.
#Python can connect to database
systems.
#Python can be used to handle big data
and perform complex mathematics.
#Python can be used for rapid
prototyping, or for production-ready
software development.

5
Explanation of ‘Grade
Calculator’ Code

An empty list called `students` is


created to store information about each
student.

The user is prompted to enter the


number of students for whom they want
to record results. The input is converted
to an integer and stored in the variable
`n`.

If n is less than or equal to 0, the


program prints an error message and
6
does not proceed with the loop.
Otherwise, it enters a for loop that
iterates n times, prompting the user to
enter details for each student.

A `for` loop is used to iterate `n`


times, where the user is prompted to
enter details for each student.

Inside the loop, the program collects


information such as the student's name,
and marks in Mathematics (`mth`),
Science (`sc`), English (`eng`), and
Information Practices (`IP`).

7
The total marks and average marks for
each student are calculated.

Based on the average marks, a grade and


pass/fail status are determined for each
student.

8
The student's information, including
name, total marks, average marks, grade,
and pass/fail status, is stored in a
dictionary called `data`, and this
dictionary is added to the `students` list.

Finally, the program displays the results


for each student using a loop that repeat
through the `students` list and prints
out the relevant information. A message
is printed, indicating that the marks are
registered for the specified number of
students.

9
Summary Code:-

10
Explanation of Output
Output 1:-

In this case, the program takes input for


three students, calculates their results,
and displays the information for each
student.
11
Output 2:-

Program takes input of two students and


calculate the status pass and fail
respectively.
Output 3:-

12
If the user enters 0 as the number of
students, the program prints an error
message and does not proceed with the
loop.
Output 4:-

If the user enters a negative number as the


number of students, the program prints an
error message and does not proceed with
the loop.

13
CONCLUSION
The provided Python code is intended to
collect information about students, calculate
their total marks, average marks, determine
their grades, and display the results. The
program allows the user to input the
number of students, and for each student, it
prompts for details such as name, math
marks, science marks, English marks, and
IP marks.

14
BIBLOGRAPHY
$ https://www.w3schools.com/py
thon/python_intro.asp
$ Informatics Practices Class 11
Sumita Arora by SUMITA ARORA

15

You might also like