Adobe Scan Jan 16, 2025
Adobe Scan Jan 16, 2025
Mondal
ROLL- 18 *
CLASS- 12
*
TOPIC:-School
Management
ACKNOWLEDGEMENT
I would like to express my immense
*
gratitude to my computer science teacher *
Mr. Biplab Das
for the help and guidance she provided for
* completing this project.
Most of all Ithank our school
management, for providing us the facilities
and opportunity to do this project.
Lastly, I would like to thanks my
* classmates who have helped me in this
project. Their support made this project
fruitful.
2
*
CERTIFICATE
*
This is to certify that
*
Swapnil Kanti Mondal
2023-2024.
Teacher's sign
3
*
HARDWARES AND
SOFTWARES REQUIRED
HARDWARE:
1. DESKTOP/LAPTOP
2.MOBILE PHONE
SOFTWARE:
2.MySQL
4
INDEX
" Introduction
"About project
" Objective
" Description
" Benefit
"Python code
" Output
"Conclusion
ABOUT PROJECT
School Management Systems plays an essential role in the current educational system
School authoritics all over the world are cngaged in a lot of day-to-day administrative and
academic activities to manage and provide a better academic cxpericnee to students
effeetively. However, maintaining and keeping track of schooladministrative activities is
not an casy process in the fast-growing world. It requires hard work and often it is time
consuming.
For better perfomance of thc school administrative activitics of cducational institute,
they utilize School Management software nowadays. Such applications often oftfer many
features that help to enhance the performance of schools with minimum efforts. School
Management software does it by avoiding the manual paper works and automation of
many academic and administrative activitics.
So, the project made by me includes the facility of Adding. Displaying. Updating.
Searching and Deleting Student's Details. In the same wayitfurther includes the facility
of Adding. Displaying. Updating and Deleting Teacher's Details. So basically this project
helps us to make our task casicr and also reduces the time being wastcd unnccessarily
INTRODUCTION
This project is developed in Python platform with MySQL database as backend and has
bcen designcd to automate the processes of result and attendance for the students as well
as teachers of Prince Ashokraje Gackwad School. It has two uscrs admin and teacher. It
takes as input from teachers in fom of student details. attendance ete.. through a
Graphical User Interface. It also helps the administration staff to update the details of all
the list of teachers and students. It helps the parents and guardians and student to give a
feedback about the school and its performance and thus also helps the school these view
this review:s and improve the management kecping in mind the requirements mentioned
in the feedback. Positive feedback helps to motivate the school management team to
work better to give their school a better reputation! In a nutshell the program is aimed to
automate the complete pruocess of managing data of students and teachers of Prince
Ashokraje Gackwad Sehool with the utmost convenience of the team and also nullifies
the negative aspects offercd by paperwork like loss of data and data redundancy.
13
OBJECTIVE OF THE PROJECT
The objective of this project is to let the students apply the programming knowledge into
a real- world situation and get the students exposcd to how programming skills helps in
developing a good software.
DESCRIPTION
This project is aimed to automate the student management system. This project is
developed mainly to administrate the student records. The purpose of the project entitled
as to computerize the Front Office Management of student records in colleges, schools
and coaching's, to develop software which is user friendly. simple, fast and cost
cffective. Trnditionally. it was done manually. The main function of the system is to
register and store student details, retrieve and these details as and when requircd, and also
to manipulate these details meaningfully.
14
MODULES
1) Login Module: it is a multiple login interface that would allow you to secure
you' are Data (you may log in by entering ID and Password). And even you can
register a ncw l'D
2) Student module: it would have two submodulcs in it, i.c., add a new student and
remove data of a particular student.
3) Teacher module: it would have two submodules in it, ic. add a new teacher and
remove data of a particular teacher.
4) Fccdback module: it would allow parents and guardians to give fecdback and
Suggestions regarding administration and faculty.
BENEEITS OF PROPOSED SYSTEM
1) Less Paper Work: The paperwork is reduced to minimal level. Computer
preparesthe lists of students.
2) No Manual Work: There is no manual work. Alltheprocesses are done
throughcomputer.
3) Record of students: There is rocord of all the students who got registercd.
4) Register Maintenance is Easier: Register can now casily be maintaincd by
producinga report with a fornat of adding student's records.
S) Data Is Not Scattered: Data is now stored at onc place. Any information
regardinganything can be casily available to the user.
6) Uscr-fricndly Software: The software is GUl and is very casy to use.
7) Flexibility: The system is more flexible than the manual system being uscd presentiy.
8) Bencficial: The system is casy to use and roduccs the user's workload a lot. It
Provides timely &accurate information and there is automatic generation of reports.
10
PROJECT TITLE-"SCHOOL MANAGEMENT"
DBMS: MysQL
Host : localhost
User:root
Password: tiger
DataBase: mysql Table Structure: As per the Screenshot given below:
Table:Student
Dataa ehang
Snane varchar(30) not nul.adnno int prinary key. dob date,
student ;
Table: Emp
TVpo Ko Defnul
PRI
ES
HUll
date
Table:Fee
Nu Ko y ! Def a u l t Extra
Table:Exam
MyMsQL Sener5S
Eable har(20).adno dee imalC4.2),
Pild Typ
int
Python Code:
import os
import platform
import mysql.connector
#import pandas as pd
#from pandas import DatafFrame
def selection():
db = mysql.connector.connect(user='root', password='tiger, host-'localhost',database='mysql')
cursor = db.cursor(0
print( -\nWELCOME TO SCHOOL MANAGEMENT SYSTEM\n
print("1.STUDENT MANAGEMENT")
print("2.EMPLOYEE MANAGEMENT")
print("3.FEE MANAGEMENT")
print("4.EXAM MANAGEMENT")
insert1)
print(\nModified details are..\n')
display1()
elif c=='b':
update1(})
print(\nModified details are..\n')
display1()
elif c=='c':
delete1()
print(\nModified details are..\n')
display1()
else:
print('Enter correct choice...!)
elif ch==2:
print('WELCOME TO EMPLOYEE MANAGEMENT SYSTEM')
print('a.NEW EMPLOYEE'") print('b.UPDATE STAFF DETAILS")
print('c.DELETE EMPLOYEE') cinput("Enter ur choice : ") if
c=='a':
insert2()
print("\nModified details are..\n')
display2()
elif c==b':
update2(0
print(\nModified details are..\n')
display2()
elif c=='c':
delete2()
print(\nModified details are.\n')
display2()
else:
print('Enter correct choice...!!")
elif ch==3:
print("WELCOME TO FEE MANAGEMENT SYSTEM')
print('a.NEW FEE") print('b. UPDATE FEE')
print('c.EXEMPT FEE') c=input("Enter ur choice : ")
if c=='a':
insert3()
elif c=='b':
update3(0
elif c=='c':
delete3()
else:
print('Enter correct choice...!!")
elif ch==4:
def insert1():
sname=input("Enter Student Name:")
admno=int(input("Enter Admission No:"))
dob=input("Enter Date of Birth(yyvy-mm-dd): ")
cls=input("Enter class for admission:")
cty=input("Enter City: ")
db = mysql. connector.connect(user='root', password='tiger, host='localhost',data base='mysql")
cursor = db.cursor()
8
sql="INSERT INTO Student(sname, admno, dob, cls, cty) VALUES ("%s',%d',"%s,"%s,"%s')"%(sname,admno,do b,cls,cty)
try:
cursor.execute(sql)
db.commit()
except:
db.rollback()
db.close()
#insert()
def display1():
try:
db mysql.connector.connect(user='root', password='tiger, host='localhost', data base='mysql')
cursor =db.cursor() sql ="SELECT* FROM student" cursor. execute(sq) results =cursor.fetchall()
for c in results: sname [0] admno= c[1] dob=c[2] ds=c[3) cty=[4) print ("
(sname=%s,ad mno=%d,dob=%s,cls=%s, cty=%s)" %(sname,admno, dob,cis, cty))
except:
print ("Error: unable to fetch data")
db.close() def update1():
try:
db =mysq.connector. connect(user='root', password='tiger, host='localhost',database='mysql)
cursor = db.cursor()
sql = "SELECT FROM student"
cursor.execute(sql)
results = cursor.fetchall()
for c in results:
sname = c[0]
admno= c[1]
dob=c[2]
cls=c[3]
cty=c[4]
except:
print ("Error: unable to fetch data")
print()
tempst=int[input("Enter Admission No:"))
temp=input("Enter new class:")
try:
sql = "Update student set cds=%s where admno='%d"" %(temp,tempst)
cursor.execute(sql)
db.commit()
except Exception as e:
print (e)
db.close(0
def delete1():
try:
db = mysql.connector.con nect(user='root', password=tiger, host='localhost',database='mysql)
cursor = db.cursor)
sql = "SELECT * FROM student"
cursor.execute(sql)
results = cursor.fetchall()
for c in results:
sname = c[0]
admno= c(1]
dob=c[2]
cds=c[3]
cty=c[4]
except:
print ("Error: unable to fetch data")
ename = c[0]
empno= c[1]
job=c[2]
hiredate=c[3]
print ("(empno=%d,ename=%s,job=%s, hiredate=%s)" %(empno,en ame,job,h iredate))
except:
print ("Error: unable to fetch data")
db.close() def update2():
try:
db = mysql.connector.con nect(u ser='root', password='tiger, host='localhost',database='mysql)
cursor = db.cursor()
sql = "SELECT * FROM emp"
cursor.execute(sql)
results = Cursor.fetchall()
for c in results:
en ame = c[0]
empno c[1]
job=c[2]
hiredate=c[3]
except:
print ("Error: unable to fetch data")
print()
termpst=int( input("Enter Employee No:")
temp-input("Enter newdesignation :")
try:
sql = "Update emp setjob=%s where empno=%d" % (temp,tempst)
cursor.execute(sql)
db.com mit()
except Exception as e:
print (e)
db.close()
def delete2():
try:
db = mysql.connector.con nect(user='root', password='tiger', host='localhost',database='mysql)
cursor = db.cursor()
sql = "SELECT FROM emp"
cursor.execute(sql)
results = cursor.fetchall()
for c in results:
ename = c[o]
empno c[1]
job=c[2]
hiredate=c[3]
except:
print ("Error: unable to fetch data")
try:
db = mysql.connector.conne ct(user='root',password=tiger, host='localhost,database=mysql)
cursor = db.cursor()
sql = "SELECT FROM fee"
cursor.execute(sql)
results Cursor.fetchall()
for c in results:
admno= c[o]
fee=c[1]
month=c(2]
except:
print ("Error: unable to fetch data")
print()
tempst-int(input("Enter Admission No : ")
temp=input("Enter new class:")
try:
sgl ="Update fee set month=%s where admno=%d" %
(temp,tempst)
cursor.execute(sql)
db.commit()
except Exception as e:
print (e)
db.close()
def delete3():
try:
db = mysql.connector.con nect(user=root, password='tiger, host='localhost',database='mysql)
Cursor = db.cursor()
sql = "SELECT* FROM fee"
cursor.execute(sql)
results = cursor.fetchall()
for c in results:
admno= c[0]
fee-c[1]
month=c[2]
except:
print ("Error: unable to fetch data")
cursor.execute(sql)
db.commit()
except:
db.rollback()
db.close() def
display4():
try:
db = mysql.connector.con nect(user='root', password='tiger, host='localhost',database='mysql)
cursor = db.cursor()
sgl = "SELECT FROM exam"
cursor.execute(sql)
results = Cursor.fetchall()
for c in results:
sname = c[O]
admno= c[1]
dob=c[2]
ds=c[3]
cty=c[4)
print ("(sname, admno,per, res)"%(sname, admno,per, res) )
except:
print ("Error: unable to fetch data")
db.close()
def update4():
try:
db = mysql.connector. con nect(user='root', password=tiger, host='localhost,database='mysql)
cursor = db.cursor(0
sgl = "SELECT * FROM exam"
cursor.execute(sql)
results = cursor.fetchall()
for c in results:
sname = c[0]
admno=
dob=c[2]
cls=c(3]
cty=c[4]
except:
print ("Error: unable to fetch data")
print()
tempst-int(input("Enter Admission No:"))
temp-input("Enter new result: ")
try
except:
print ("Error: unable to fetch data")
temp=int(input("\nEnter adm no to be deleted: ")
try:
sql="delete from exam where admno='%d" % (temp)
ans=input("Are you sure you want to delete the record(y/n):")
if ans=='y' or ans=='Y':
cursor.execute(sql)
db.commit()
except Exception as e:
print (e)
db.close()
selection()
OUTPUT: INSERT DETAILS
1.STUDENT MANAGEMENT
2.EMPLOYEE MANAGEMENT
3.FEE MANAGEMENT
4.EXAM MANAGEMENT
a.NEW ADMISSION
b.UPDATE STUDENT DETAILS
c.ISSUE TC
Enter ur choice (a-c) : a
Ln: 39 Col: 4
UPDATE DETAILS
1.STUDENT MANAGEMENT
2.EMPLOYEE MANAGEMENT
3.FEE MANAGEMENT
4.EXAM MANAGEMENI
a.NEW ADMISSION
b.UPDATE STUDENT DETAILS
C.ISSUE TC
Enter ur choice (a-c) : b
Ln: 34 Cok 4
DELETE DETAILS
2.STUDENT MANAGEMENT
2.EMPLOYEE MANAGEMENI
3.FEE MANAGEMENI
4.EXAM MANAGEMENT
a.NEW ADMISsION
b.UPDATE STUDENT DETAILS
c.ISSUE TC
Enter ur choice (a-c) : c
Ln: 35 Col: 4