0% found this document useful (0 votes)
27 views35 pages

Student Management System

The document is a project report on a Student Management System developed by Thiruvassan.GV as part of a Computer Science investigatory project for the academic year 2024-2025. It outlines the project's objectives, the use of Python and MySQL for implementation, and includes sections on installation, features, and source code for various functionalities such as searching, updating, adding, and deleting student details. The report also includes acknowledgments and a bonafide certificate confirming the project's completion under the guidance of a teacher.

Uploaded by

geresshvaran1104
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views35 pages

Student Management System

The document is a project report on a Student Management System developed by Thiruvassan.GV as part of a Computer Science investigatory project for the academic year 2024-2025. It outlines the project's objectives, the use of Python and MySQL for implementation, and includes sections on installation, features, and source code for various functionalities such as searching, updating, adding, and deleting student details. The report also includes acknowledgments and a bonafide certificate confirming the project's completion under the guidance of a teacher.

Uploaded by

geresshvaran1104
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 35

SRI BALA VIDYALAYA

(Affiliated To CBSE, New Delhi)


Shanthi Nagar, Perambur,
Ch – 600011

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.

4. Free and Open-Source :-


The language and it's source code are available to the public for free;
there is no need to buy a costly license.

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.

6. GUI (Graphical User Interface) programming :-


We can use it to develop a GUI (Graphical User Interface). One way to
do this is through,,Tkinter".

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

 How to install Python :-


1. Point your web browser to the download page on the Python
website (www.python.org).
2. Select the latest Windows x86 MSI Installer and click on the link
to download the .msi installer.
3. Run the installer.
4. Select Install for all users and click the Next > button.
5. Keep the default option (C:\Python32) as the destination directory
and click Next > again.
6. Don't make any changes in the Customize Python 3.2.3" dialog, just
click Next > again.
7. Click Yes if asked if this program should be allowed to install
software on your system.
8. Click the Finish button when installation completes.

 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.

 For installing MySql :-


1. For Python 2.7 or lower, install using pip as :
pip install mysql.connector
2. For Python 3 or higher version, install using pip3 as :
pip3 install mysql.connector

 OBJECTIVES OF THE PROJECT


The objective of this project is to let the students apply the
programming knowledge into a real- world situation/problem and
exposed the students how programming skills helps in developing a
good software.
 Write programs utilizing modern software tools.
 Apply object-oriented programming principles effectively when
developing small to medium sized projects. Write effective
procedural code to solve small to medium sized problems.
 Students will demonstrate a breadth of knowledge in computer
science, as exemplified in the areas of systems, theory and
software development.
 Students will demonstrate ability to conduct a research or
applied Computer Science project, requiring writing and
presentation skills which exemplify scholarly style in computer
science.
FLOW CHART

4. THEN THE DATA 1. COMMANDED


WILL BE SENT TO THE PROGRAM WILL BE
PYTHON IDLE. EXECUTED IN PYTHON
IDLE

3. THE REQUIRED 2. AS THE PYTHON AND MYSQL


DATA WILL BE TAKEN ARE CONNECTED THE
FROM THE DATABASE. COMMAND WILL BE SENT TO
MYSQL
SOURCE CODE

Import mysql.connector as con


Print(“--------------------------------------------------------------- “)

#To search students from student


details
#table.
Def search_student():
Print(“*****************STUDENT
DETAILS***********************”)
K=input(“Enter name to search student Name : “)

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()

#To update details of students from student details


table.

Def update_details():

D=con.connect(host=”localhost”,user=”root”,password)
d=”admin”,database=”STUDENT_MANAGEMENT_SYST
EM”)
C=d.cursor()

Print(“1. Update Name”)


Print(“2. Update Gender”)
Print(“3. Update class”)
Print(“4. Update Section”)
Print(“5. Update Phone no.”)
Print(“6. Update E-mail id”)
Print(“7. Update Stream”)
Opt=int(input(“Enter your choice to update”))

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()

#To display the marks of students from student details


table .

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()

#To insert details to student details table

Def add_student():
Print(“.................. ADD STUDENT DETAILS ”)

N=input(“Enter student name : “)


A=int(input(“Enter student admission number: “))
R=input(“Enter gender of student: “)
I=int(input(“Enter class of student:”))
P=input(“Enter student section : “)
T=int(input(“Enter student phone number:”))
W=input(“Enter student stream: “)
U=input(“Enter your mail id:”)
M=int(input(“Enter your marks:”))

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(“----------------------------------------------------------
----“)

print(“1.search student details”)


print(“2.update student details”)
print(“3.view student details”)
print(“4.add student details”)
print(“5.delete student details”)
print(“6.exit”)
ch=int(input(“your choice: “))
if ch==1:
search_student()
elif ch==2:
update_details()
elif ch==3:
view_Marks()
elif ch==4:
add_student()
elif ch==5:
delete_student()
elif ch==6:
break
else :
print(“invalid input”)
def user():

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”)

#To search students from student details table.


Def search():
Print(“*****************STUDENT
DETAILS***********************”)
K=input(“Enter name to search student details: “)

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()

#To display the marks of students from student details


table .

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

#User Panel and Admin Panel:

#search Student Details:


#Update student Details:
##Name:

##Gender:
##Class:

##Section:
##Stream:

#View Mark of student :


#Add student Details:

#Delete Student Details:


HARDWARE AND SOFTWARE REQUIREMENTS
OPERATING SYSTEM : WINDOWS 7 AND ABOVE
PROCESSOR : PENTIUM (ANY) OR AMD
ATHALON(3800+-4200+ DUAL CORE)
MOTHERBOARD OR MSI : 1.845 OR 915,995 FOR PENTIUM
K9MM-V VIA K8M800+8237R PLUS CHIPSET FOR AMD
ATHALON
RAM : 512MB +
Hard disk : SATA 40 GB OR ABOVE
CD/DVD : (If back up required)
FLOPPY DRIVE 1.44 MB : (If Backup required)
MONITOR : 14.1 or 15-17 inch
Key board and mouse
Printer : (if print is required - [Hard copy])

SOFTWARE REQUIREMENTS:

Windows OS
Python
MySQL connector module
BIBLIOGRAPHY
1. Computer science With Python Class XI By: Sumita Aurora

2. A Project Report On SALES MANAGEMENT SYSTEM. By: Praveen M Jigajinni

3. Website: https://www.w3resource.com

*************

You might also like