You are on page 1of 20

Happy School/2023-24

HAPPY SCHOOL

Academic year:2023-24
Project report
ROLL NO: 40
Board roll no:
NAME: RITWIK SOOD
CLASS: XII-S
SUBJECT: COMPUTER SCIENCE
SUB CODE: 083
PROJECT GUIDE: Mrs ritu pandey

Kashvi Gupta XII-S 33


Happy School/2023-24

certificate
THIS IS TO CERTIFY THAT INVESTIGATORY
PROJECT SUCCESSFULLY COMPLETED BY
RITWIK SOOD OF CLASS XII-S. ROLL.NO: 40
FOR THE ACADEMIC YEAR 2020-2021 IN
THE SCH0OL COMPUTER LAB AND HAS
GIVEN SATISFACTORY RESULT IN MY
PROJECT REPORT.
EXTERNAL EXAMINER:

INTERNAL EXAMINER:

PRINCIPAL:

Kashvi Gupta XII-S 33


Happy School/2023-24

ACKNOWLEDGEME
NT
I RITWIK SOOD OF CLASS XII-S ROLL.NO-
40 WOULD LIKE TO EXPRESS MY SINCERE
GRATITUDE TO MY COMPUTER SCIENCE
TEACHER MRS. RITU PANDEY, FOR HER
VITAL SUPPORT, GUIDANCE AND
ENCOURAGEMENT- WITHOUT WHICH
THIS PROJECT WOULD NOT HAVE COME
FORTH, HER HELP AND ENCOURAGEMENT
MADE THIS PROJECT POSSIBLE. I WOULD
ALSO LIKE TO EXPRESS MY SINCERE
GRATITUE TO MY SCHOOL FOR LETTING
US TO USE THE COMPUTER LAB.

Kashvi Gupta XII-S 33


Happy School/2023-24

Kashvi Gupta XII-S 33


Happy School/2023-24

INDEX
1.BRIEF OVERVIEW OF PROJECT
2.NEED OF COMPUTERISATION
3.HARDWARE AND SOFTWARE
REQUIREMENTS
4.ADVANTAGES
5.FUTURE ENHACEMENT OF
PROJECT
6.SOURCE CODE
7.OUTPUT
8.BIBLIOGRAPHY

Kashvi Gupta XII-S 33


Happy School/2023-24

Brief oVerVieW of
proJect
The Student Management system is to generalize
and simplify the record keeping of students-like
student details of present students, students who
left the school, students who have passed out,and
finally to compute the marks etc. which has to be
performed repeatedly on regular basis. To provide
efficient, fast, reliable and user-friendly system is
the basic motto behind this exercise. The main
aim of the entire activity is to automate the
process of managing student record , their marks
and activities which help schools to move forward
to Digital INDIA.The user friendly interface helps
students as well as teachers. Students can access
their record via their name,while teachers can
add,delete,update and check any record of any
student via their name. Teachers are provided by
a special password by the school that helps to
distinguish between student and teacher.

Kashvi Gupta XII-S 33


Happy School/2023-24

NEED OF
COMPUTERISATIO
N
Computerization create avenue for random enquires to
be easily performed on stored data. It de-personalizes
some processes and services. Computerization would
equally give the staffs and the school administrators
the joy and satisfaction of being a part of the computer
age and technology.The manual approach used in the
regulation of the school activities by the management
board is very tedious and stressful. This project
observed the complications encountered due to the
debilitation of man-power admitted into the school
management with respect to how in depth it affects
other operational system that conduct in school with a
view of designing a computerized system to handle the
work with less difficulty for an effective decision-
making. In the course of the project, we observed an
existing system and we found out some problems, after
which we tried to solve the problems with the
computerized system that is reliable and more
interactive. The new system tried to terminate all the

Kashvi Gupta XII-S 33


Happy School/2023-24

problems experienced with the existing system and


those still present shall be terminated in next version.

HarDWare aND SoftWare


reQUireMeNtS
Hardware:
System requirements for Python Installation:
1.Operating system: Linux- Ubuntu 16.04 to
17.10, or Windows 7 to 11, with at least 4gb
RAM.
2.You have to install Python 3.10 and related
packages, please follow the installation
instructions given below as per your
operating system.
3.A HDD of 1TB or SSD of 512GB should
suffice.

Software:
1. Software is designed to run on Window 7
and above.
Kashvi Gupta XII-S 33
Happy School/2023-24

ADVaNtaGeS
1.It saves time and help school to maintain a
digital record.
2.Easily accessibility of records on the go.
3. Updation of roll_no,class,section,stream via
name of the student .
4.Deletion of student’s record via name of the
student.
5.Adding of multiple records at once.
6.Reduction of hard copies of records
easier ,faster,efficient and hassle free
record management.
7.Student can find their record via their
name.

Kashvi Gupta XII-S 33


Happy School/2023-24

FUTURE
ENHANCEMENTS OF
PROJECT
This project can be used in the schools after adding
some more useful modules in the project which will
make it more user friendly .This can not only to store
records of students but also help to group them
according to class and help reduce hard records
making the process faster,easier and efficient .Utmost
care and back-up procedures must be established to
ensure 100% successful implementation of the
computerized student record management system.

Future Updates:
In future updates this project can not only store basic
records but also will able to contain marks of all the
students and perform basic algebra and with help of it
calculate percentage scored by a student.Instead of
name students will be given student_Id,which will be
unique for every student and that’ll act as a password
to access their records by the students.

Kashvi Gupta XII-S 33


Happy School/2023-24

SOURCE CODE
def menu():
c='y'
while c=='y':
print('1.Add record of new student')
print('2.Update record of an existing student')
print('3.Delete record of an existing student')
print('4.Display records of all students')
print('5.Exit')
ch=int(input('ENTER YOUR CHOICE:'))
if ch==1:
adata()
elif ch==2:
udata()
elif ch==3:
deldata()
elif ch==4:
ddata()

Kashvi Gupta XII-S 33


Happy School/2023-24

elif ch==5:
print('EXITING')
break

else:
print('WRONG INPUT!!!')

def ddata():
import mysql.connector
try:

d=mysql.connector.connect(host='localhost',user='root
',password='ONe_pUNCH',database='student_manage
ment')
cursor=d.cursor()
cursor.execute("SELECT * FROM student")
results=cursor.fetchall()
for x in results:
print(x)
except:

Kashvi Gupta XII-S 33


Happy School/2023-24

print("ERROR:unable to fetch data")

def adata():
import mysql.connector

d=mysql.connector.connect(host='localhost',user='root
',password='ONe_pUNCH',database='student_manage
ment')
cursor=d.cursor()
a=int(input('ENTER NUMBER OF RECORDS YOU
WANT TO ENTER:'))
for i in range(0,a):
A=input("ENTER NAME OF THE STUDENT:")
B=input("ENTER SECTION OF THE STUDENT:")
C=input("ENTER STREAM OF THE STUDENT:")
D=(input("ENTER 5-DIGIT ROLL NUMBER OF THE
STUDENT:"))
E=(input("ENTER CLASS OF THE STUDENT:"))
cursor.execute("INSERT INNTO student
VALUES('@s','@s','@s','@s','@s');"%(A,B,C,D,E))
d.commit()

Kashvi Gupta XII-S 33


Happy School/2023-24

print("records added")

def udata():
import mysql.connector
G=input('ENTER NAME OF THE STUDENT WHOSE
RECORD IS TO BE UPDATED:')
try:

d=mysql.connector.connect(host='localhost',user='root
',pas,word='ONe_pUNCH',database='student_manage
ment')
cursor=d.cursor()

B=input("ENTER SECTION OF THE STUDENT:")


C=input("ENTER STREAM OF THE STUDENT:")
D=(input("ENTER 5-DIGIT ROLL NUMBER OF THE
STUDENT:"))
E=(input("ENTER CLASS OF THE STUDENT:"))
P=('UPDATE STUDENT SET section=@s,stream=
%s,roll_no=%s,class=%s WHERE name=%s")
S=(B,C,D,E,G)

Kashvi Gupta XII-S 33


Happy School/2023-24

cursor.execute(P,S)
d.commit()
print("record updated")
except Exception as e:
print(e)
def deldata()
import mysql.connector

d=mysql.connector.connect(host='localhost',user='root
',password='ONe_pUNCH',database='student_manage
ment')
cursor=d.cursor()
G=input('ENTER NAME OF THE STUDENT WHOSE
RECORD IS TO BE DELETED:')
T=("DELETE FROM student WHERE name=%s")
F=(G,)
cursor.execute(T,F)
d.commit()
print("record deleted")

def sdata():

Kashvi Gupta XII-S 33


Happy School/2023-24

import mysql.connector
try:

d=mysql.connector.connect(host='localhost',user='root
',password='ONe_pUNCH',database='student_manage
ment')
cursor=d.cursor()
Q=input('ENTER YOUR NAME TO VIEW YOUR
RECORD:')
O=(Q,)
Z=("SELECT * FROM student WHERE name=%s")
cursor.execute(Z,O)
results=cursor.fetchall()
print(results)

except:
print("ERROR:unable to fetch data")

K=input('ARE YOU A TEACHER(T) OR A STUDENT(S):')

Kashvi Gupta XII-S 33


Happy School/2023-24

if K.upper()=='T':
PASS=int(input("ENTER PASSWORD:"))
if PASS==12345:
menu()

else:
print("wrong password:")
if K.upper()=='S':
sdata()

OUTPUT
Kashvi Gupta XII-S 33
Happy School/2023-24

Kashvi Gupta XII-S 33


Happy School/2023-24

BIBLIOGRAPHY
 www.geeksforgeeks.com
 www.w3schools.com

Kashvi Gupta XII-S 33


Happy School/2023-24

 Computer science with python (XII-S)


 Under the guidance of our computer
teacher.

Kashvi Gupta XII-S 33

You might also like