Student Management System
Student Management System
COMPUTER SCIENCE
INVESTIGATORY PROJECT
2024 – 2025
NAME: THIRUVASSAN.GV
STD: XII SEC: A
REGISTER NO:
A PROJECT REPORT ON
STUDENT MANAGEMENT
SYSYTEM
COMPUTER SCIENCE
INVESTIGATORY PROJECT
2024 – 2025
SUBMITTED BY
NAME: THIRUVASSAN.GV
STD: XII SEC: A
BONAFIDE CERTIFICATE
This is to certify that THIRUVASSAN.GV,
student of class XII – A has successfully
completed the project report on the topic
“student management system ” under the
guidance of Mr. Aniel ronald raj (Subject
Teacher) during the year 2024 – 2025 in
partial fulfillment of COMPUTER SCIENCE
practical examination conducted by AISSCE,
New Delhi.
Staff-In-Charge Principal
External
ACKNOWLEDGEMENT
At the outset, I express my gratitude to the
almighty lord for the divine guidance and wisdom
showered on me to undertake this project.
I am immensely grateful to my beloved principal
Smt. Santhanalakshmi for her involvement in this
project by providing useful inputs and timely
suggestions.
I am also thankful to my computer science teacher
Mr. Aniel Ronald raj for his guidance and help to make
this project a success.
My parents also played a key role in shaping up this
project nicely and I convey special thanks to them as
well.
TABLE OF CONTENTS (TOC)
S.NO DESCRIPTION
01 INTRODUCTION
02 OBJECTIVES OF THE PROJECT
03 FLOW CHART
04 SOURCE CODE
05 OUTPUT
06 TESTING
07 HARDWARE AND SOFTWARE REQUIREMENTS
08 BIBILIOGRAPHY
STUDENT MANAGEMENT SYSTEM
INTRODUCTION
The real meaning of educational administration hasundergone a
radical transformation in recent years, with an increasing reliance
on technology to streamline student management processes. The
provided Python script embodies a Student Management System
that leverages the capabilities of MySQL as the backend database.
This system caters to the diverse needs of administrators and
users, offering functionalities ranging from student details search
to updates, views, additions, and deletions.
.
Python Overview:-
Python is a general-purpose high-level programming language. It is an
open source language, released under a GPL-Compatible license.
Python Software Foundation (PSF), a non-profit organization, holds
the copy- right of python. Guido Van Rossum conceived python in the
late 1980s. It was released in 1991 at Centrum Wiskunde &
Informatica (CWI) in the Netherlands as a successor to the ABC
language. He named this language after a popular comedy show called
„Monty Python's Flying Circus" (and not after python the snake). In
the last few years, it's popularity has increased immensely. According
to stackoverflow.com's recent survey, python is in the top ten most
popular technologies in 2018. It is also dynamically-typed because it
carries out type-checking at run time. It does so to make sure that the
type of construct matches what we except it to be. The distinctive
feature of python is that it is an interpreted language. The Python
IDLE (Integrated Development & Learning Environment) executes
instruction one line at a time. The python programming language is
one of the richest languages.
Features of Python :-
1. Easy :-
Python is a very easy to learn and understand; using this python
tutorial, any beginner can understand the basics of python.
2. Interpreted :-
It is interpreted (executed) line by line. This makes it easy to test and
debug.
3. Object Oriented :-
The python programming language supports classes and objects.
5. Portable:-
Since it is open source, we can run python on windows, mac, linux, or
any other platforms. Our programs will work without needing to the
changed for every machine.
7. Large Library :-
Python provides us with a large standard library. We can use it to
implement a variety of functions without needing to reinvent the
wheel every time. Just pick the code we need and continue. This lets us
to focus on other important tasks.
Advantages of Python :-
1. Extensible :-
2. Portable
3. Free & Open-Source
4. Readable
5. Embeddable
6. Improved Productivity
7. Simple and Easy
8. Object Oriented
About MySql :-
MySql is a fast, easy to use RDBMS (Relational Database Management
System) being used for many small and big businesses. MySql is
developed, marketed and supported by MySQL AB, which is a Swedish
Company.
MySql is becoming is so popular because of many good reasons :-
1. MySql is released under an open-source language. So we have
nothing to pay to use it.
2. MySql is a very powerful program in it's own right. It handles a large
subset of the functionality of the most expensive and powerful
database packages.
3. MySql uses a standard form of the well-known SQL data language.
4. MySql works on many operating system and with many languages
including PHP, PERL, C, C++, JAVA, etc.
5. MySql works very quickly and works well even with large data sets.
6. MySql is very friendly to PHP, the most appreciated language for
web development.
7. MySql supports large databases, up to 50 million rows or more in a
table. The default file size limit for a table is 4 GB, but we can increase
this (if our operating system can handle) to a theoretical limit of 8
million Tera-Bytes (TB).
8. MySql is customizable. The open-source GPL license allows
programmers to modify the MySql software to fit their own specific
environments.
D=con.connect(host=”localhost”,user=”root”,password=
”admin”,database=”STUDENT_MANAGEMENT_SYST EM”)
C=d.cursor()
c.execute(“select*from STUDENT_DETAILS where
NAME like ‘%{}%’”.format(k))
a=c.fetchall()
if len(a)>=1:
for i in a:
print(“Addmission no:”,i[0])
print(“Name is:”,i[1])
print(“Sex:”,i[2])
print(“Class=”,i[3])
print(“Sec:”,i[4])
print(“Phone number is=”,i[5])
print(“Email_id:”,i[6])
print(“Stream is:”,i[7])
print(“-------------------------------------------------------“)
else:
print(“Student Details Not Found”) d.commit()
Def update_details():
D=con.connect(host=”localhost”,user=”root”,password)
d=”admin”,database=”STUDENT_MANAGEMENT_SYST
EM”)
C=d.cursor()
If opt==1:
Print(“------------------------------------------------------“)
Print(“You are inside updating name.”)
Q=input(“Enter ADDMISSION_NUMBER whose data
you want to update: “)
L=input(“Enter your updated name: “)
c.execute(“update STUDENT_DETAILS set
NAME=’{}’ where
ADDMISSION_NUMBER={}”.format(l,q))
d.commit()
elif opt==2:
print(“------------------------------------------------------“)
print(“You are inside updating Gender.”)
p=input(“Enter name whose data you want to
update: “)
l=input(“Enter your updated Gender: “)
c.execute(“update STUDENT_DETAILS set
SEX=’{}’ where name=’{}’”.format(l,p))
d.commit()
elif opt==3:
print(“------------------------------------------------------“)
print(“You are inside updating class.”)
m=input(“Enter name whose data you want to
update: “)
n=input(“Enter your updated class: “)
c.execute(“update STUDENT_DETAILS set
CLASS={} where name=’{}’”.format(n,m))
d.commit()
elif opt==4:
print(“------------------------------------------------------“)
print(“You are inside updating section.”)
y=input(“Enter name whose data you want to
update: “)
e=input(“Enter your updated section: “)
c.execute(“update STUDENT_DETAILS set SEC=’{}’
where name=’{}’”.format(e,y))
d.commit()
elif opt==5:
print(“------------------------------------------------------“)
print(“You are inside updating phonenumber.”)
h=input(“Enter name whose data you want to
update: “)
r=input(“Enter your updated phonenumber: “)
c.execute(“update STUDENT_DETAILS set
PHONE_NUMBER={} where name=’{}’”.format(r,h))
d.commit()
elif opt==6:
print(“------------------------------------------------------“)
print(“You are inside updating email_id.”)
j=input(“Enter name whose data you want to
update: “)
k=input(“Enter your updated email_id : “)
c.execute(“update STUDENT_DETAILS set
EMAIL_ID=’{}’ where name=’{}’”.format(k,j))
d.commit()
elif opt==7:
print(“------------------------------------------------------“)
print(“You are inside updating stream.”)
f=input(“Enter name whose data you want to
update: “)
z=input(“Enter your updated stream : “)
c.execute(“update STUDENT_DETAILS set
STREAM=’{}’ where NAME=’{}’”.format(z,f))
d.commit()
else:
update_details()
Def view_Marks():
Print(“******************* VIEW STUDENT
DETAILS******************”)
K=input(“Enter name to view student details : “)
D=con.connect(host=”localhost”,user=”root”,passwor
d=”admin”,database=”student_management_system”
)
C=d.cursor()
c.execute(“select*from STUDENT_DETAILS where
NAME like ‘%{}%’”.format(k))
s=c.fetchall(
) for i in s:
print(“MARKS:”,i[8])
print(“--------------------------------------------------------“)
d.commit()
Def add_student():
Print(“.................. ADD STUDENT DETAILS ”)
D=con.connect(host=”localhost”,user=”root”,passwor
d=”admin”,database=”STUDENT_MANAGEMENT_SYST
EM”)
C=d.cursor()
Sq=”insert into STUDENT_DETAILS
values({},’{}’,’{}’,{},’{}’,{},’{}’,’{}’,
{})”.format(a,n,r,i,p,t,u,
w,m)
c.execute(sq)
d.commit()
print(“student data added successfully”)
#To delete items from student details table
Def delete_student():
Print(“******************** DELETE STUDENT
DETAILS*******************”)
K=input(“Enter name to DELETE student details : “)
D=con.connect(host=”localhost”,user=”root”,passwor
d=”admin”,database=”STUDENT_MANAGEMENT_SYST
EM”)
C=d.cursor()
c.execute(“delete from STUDENT_DETAILS where
name=’{}’”.format(k))
print(“.........Data deleted successfully...........”)
d.commit()
def admin():
while True:
print(“***************WELCOME TO STUDENT MANAGEMENT
*****************”)
print(“----------------------------------------------------------
----“)
while True:
print(“***************WELCOME TO STUDENT MANAGEMENT
**************”)
print(“1.search your Details”)
print(“2.view Details”)
print(“3.exit”)
ch=int(input(“what is your choice: “))
if ch==1:
search()
elif ch==2:
view_Marks()
elif ch==3:
break
else:
print(“invalid input”)
D=con.connect(host=”localhost”,user=”root”,passwor
d=”admin”,database=”STUDENT_MANAGEMENT_SYST
EM”)
C=d.cursor()
c.execute(“select*from STUDENT_DETAILS where
NAME like ‘%{}%’”.format(k))
a=c.fetchall()
if len(a)>=1:
for i in a:
print(“Addmission no:”,i[0])
print(“Name is:”,i[1])
print(“Sex:”,i[2])
print(“Class=”,i[3])
print(“Sec:”,i[4])
print(“Phone number is=”,i[5])
print(“Email_id:”,i[6])
print(“Stream is:”,i[7])
print(“-------------------------------------------------------“)
else:
print(“Student Details Not Found”) d.commit()
Def view_Marks():
Print(“******************* VIEW STUDENT
DETAILS******************”)
K=input(“Enter name to view student details : “)
D=con.connect(host=”localhost”,user=”root”,passwor
d=”admin”,database=”student_management_system”
)
C=d.cursor()
c.execute(“select*from STUDENT_DETAILS where
NAME like ‘%{}%’”.format(k))
s=c.fetchall(
) for i in s:
print(“MARKS:”,i[8])
print(“--------------------------------------------------------“)
d.commit()
while True:
print(“**************WELCOME TO STUDENT
MANAGEMENT*****************”)
print(“1.admin”)
print(“2.user”)
print(“3.exit”)
ch=int(input(“login through: “))
if ch==1:
admin()
elif ch==2:
user()
elif
ch==3:
break
else:
print(“invalid input”)
OUTPUTS
MYSQL
PYTHON
##Gender:
##Class:
##Section:
##Stream:
SOFTWARE REQUIREMENTS:
Windows OS
Python
MySQL connector module
BIBLIOGRAPHY
1. Computer science With Python Class XI By: Sumita Aurora
3. Website: https://www.w3resource.com
*************