0% found this document useful (0 votes)
64 views11 pages

KHUSHALIKA GABA - School Management

Uploaded by

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

KHUSHALIKA GABA - School Management

Uploaded by

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

ARMY PUBLIC SCHOOL

DHAULAKUAN, DELHI

SCHOOL MANAGEMENT SYSTEM


For AISSCE 2020-2021 examination
As a part of Computer Science course.

SUBMITTED BY:-

NAME: KHUSHALIKA GABA ROLL NO. : 22


CERTIFICATE

This is to certify that KHUSHALIKA GABA


Of class XII - E has prepared the report on the
project titled “School Management System”. The
report is the result of her efforts and endeavours.
The report is found worthy of acceptance as final
project report for the subject Computer Science of
class XII. She has prepared the report under my
guidance.

Mrs. Pallavi Sharma


PGT(ComputerScience)
ACKNOWLEDGEMENT
I would like to express a deep sense of
gratitude to my project guide Mrs. Pallavi
Sharma for guiding me ably through the
course of the project. Her constructive advice
and constant motivation are responsible for the
successful completion of this project.

My sincere thanks to Mrs. Komal Sood, our


Principal for every possible support rendered
for completion of this project. I also thank my
parents for their valuable inputs on the subject
of this project.

Date: 5 December 2020


Class: 12-E
APS Dhaulakuan
WORKING DESCRIPTION
The python mysql project on SCHOOL
MANAGEMENT SYSTEM is capable of
managing the details of students , Teachers , their
respective personal data, fees, general fee
structure, marks, attendance of students as well as
teachers and subjects .
As the project is run , the user only has to select
“student” or “teacher” to which the system adds
the record and displays to the user. In case of
“student” , the user can choose to view their
personal data, fees deposition and it’s structure,
marks and their attendance. The system provides
the simplest management of student’s list.
In case of “teacher” , the user can choose to view
their personal data, attendance including their
phone number , educational qualification,
experience in the present school and their salary .
There are no external text or other files used in this
project .
CODING
import mysql.connector
db=mysql.connector.connect(host='localhost' ,database='schoolmgtsys',user='root', passwd='2003')
mc=db.cursor()

if db.is_connected():
print("connected to server")
print()

#_________________________________________________________________
def teachers():
choice=int(input("\n1.TEACHER PERSONAL DATA \n2.ATTENDANCE \n3.MARKS "))
if choice==1:
tea_personal()
elif choice==2:
attendance()
elif choice==3:
marks()

#__________________________________________________________________
def tea_personal():
print()
tea_name=input("Enter Name: ")
sql="select * from tea_personal where tea_name=\'%s\'"%(tea_name)
mc.execute(sql)
data=mc.fetchone()
print("Phone: ", data[1])
print("Educational Qualifications: ", data[2])
print("Class Teacher of: ", data[3])
print("Subject: ",data[4])
print("Years: ", data[5])
print("Salary: ",data[6])

#__________________________________________________________________
def student():
choice=int(input("\n1.STDENT PERSONAL DATA \n2.STUDENT FEE \n3.GENERAL FEE STRUCTURE
\n4.MARKS \n5.ATTENDANCE"))
if choice==1:
stu_personal()
elif choice==2:
stu_fee()
elif choice==3:
fee_str()
elif choice==4:
markss()
elif choice==5:
attendance()
#_________________________________________________________________
def stu_personal():
print()
ad_id=int(input("enter student admission id: "))
sql="select * from student_personaldata where ad_id=%s"%(ad_id)
mc.execute(sql)
data=mc.fetchone()
print("Student name:", data[1],data[2])
print("Date of birth:", data[3])
print("Date of admission:",data[4])
print("Gender:",data[5])
print("Address:",data[6])
#_________________________________________________________________
def stu_fee():
print()
ad_id=int(input("enter student admission id: "))
sql="select * from stu_fees where ad_id=%s"%(ad_id)
mc.execute(sql)
data=mc.fetchone()
print("quarter 1:" ,data[1])
print("quarter 2:" ,data[2])
print("quarter 3:" ,data[3])
print("quarter 4:" ,data[4])

#_________________________________________________________________
def fee_str():
print()
clss=input("enter class: ")
sql="select fees from fee_str where class=%s"%(clss)
mc.execute(sql)
data=mc.fetchone()
for a in data:
print (a)
#__________________________________________________________________
def markss():
print()
ad_id=int(input("enter admission id: "))
sql="select * from marks where ad_id=%s"%(ad_id)
mc.execute(sql)
data=mc.fetchone()
print("English: ", data[1])
print("Hindi: ", data[2])
print("Maths: ", data[3])
print("Science: ",data[4])
print("Social Science: ", data[5])

#__________________________________________________________________
def attendance():
print()
ad_id=int(input("enter admission id: "))
sql="select * from attendance where ad_id=%s"%(ad_id)
mc.execute(sql)
data=mc.fetchone()
print("Monthly attendence is out of 25")
print("January: ",data[1])
print("February: ",data[2])
print("March: ", data[3])
print("April: ",data[4])
print("May: ", data[5])
print("June: ",data[6])
print("July: ",data[7])
print("August: ",data[8])
print("September: ",data[9])
print("October: ",data[10])
print("December: ",data[11])
print("Total days attended out of 300: ",data[12])

#_______________________________________________________________
user= int(input("1.Teacher 2.Student: "))
if user==1:
teachers()
else:
student()
OUTPUT SCREENS
BIBLIOGRAPHY
1. Student management system using python
with database connectivity-Google.com
2. Computer science with python-text book for
class 12 –session 2020-2021–Sumita Arora.

You might also like