0% found this document useful (0 votes)
180 views

School Management: A Project Report On

This document contains a project report on school management software developed by Deepanshu Shukla. The report includes certificates from the project guide and examiner, a declaration from the student, acknowledgements, table of contents, and sections describing the project, hardware and software used, database structure, functions, coding, output, and bibliography. The project allows users to manage school admission and student details through functions for insertion, display, searching, updating, and deletion of records stored in a MySQL database.

Uploaded by

Gautam Meena
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
180 views

School Management: A Project Report On

This document contains a project report on school management software developed by Deepanshu Shukla. The report includes certificates from the project guide and examiner, a declaration from the student, acknowledgements, table of contents, and sections describing the project, hardware and software used, database structure, functions, coding, output, and bibliography. The project allows users to manage school admission and student details through functions for insertion, display, searching, updating, and deletion of records stored in a MySQL database.

Uploaded by

Gautam Meena
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

KENDRIYA VIDYALAYA NO-2 DELHI CANTT

DELHI CANTT-110010

A
Project Report
On

SCHOOL MANAGEMENT

Submitted By
Deepanshu Shukla
Class: - XII C

Under the Guidance of


Mr. KAPIL SEHGAL
PGT (Computer Science)
Department of Computer Science
Kendriya Vidyalaya No. 2, Delhi Cantt
Department of Computer Science
Kendriya Vidyalaya No. 2, Delhi Cantt ,New Delhi

CERTIFICATE

This is to certify that DEEPANSHU SHUKLA


Of Class XII C has prepared the report on the
Project entitled “School Management”. The report
is the result of his efforts & endeavors. The report
is found worthy of acceptance as final project
report for the subject Computer Science of Class
XII. He has prepared the report under my
guidance.

(Mr. KAPIL SEHGAL)


PGT (Computer Science)
Department of Computer Science
Kendriya Vidyalaya No.2, Delhi Cantt
Department of Computer Science
Kendriya Vidyalaya No. 2, Delhi Cantt New Delhi

CERTIFICATE

The project report entitled


“School Management”,
Submitted by DEEPANSHU SHUKLA of
Class XII C for the CBSE Senior Secondary
Examination class XII of Computer Science at
Kendriya Vidyalaya No. 2, Delhi Cantt has
been examined.

SIGNATURE OF EXAMINER
DECLARATION

I hereby declare that the project work entitled


“School Management”, submitted to
Department of Computer Science, Kendriya
Vidyalaya No. 2, Delhi Cantt, New Delhi is
prepared by me. All the coding are result of
my personal efforts.

DEEPANSHU SHUKLA
Class: XII C
ACKNOWLEDGEMENT
I would like to express a deep sense of thanks & gratitude to my
project guide Mr. KAPIL SEHGAL Sir for guiding me
immensely through the course of the project. He always evinced
keen interest in my work. His constructive advice & constant
motivation have been responsible for the successful completion of
this project.
My sincere thanks goes to Mrs. Bharthi Kukkal, Our principal
Mam, for her co-ordination in extending every possible support
for the completion of this project.
I also thanks to my parents for their motivation & support. I must
thanks to my classmates for their timely help & support for
compilation of this project.
Last but not the least, I would like to thank all those who had
helped directly or indirectly towards the completion of this
project.

DEEPANSHU SHUKLA
Class: XIIC
CONTENTS

1. About Project
2. Hardware and Software Used
3. Libraries and Functions Used
4. Database and Table (Relation)
5. Working Description
6. Coding
7. Output Screen
8. Bibliography
ABOUT PROJECT

This project is made for schools . By using this program, a person


can easily insert,show,search,delete admission and student details
and can also update admission details .Any person with minimal
knowledge of English can utilize this program completely.
Knowledge of python,MySQL, or coding in general is not
required for a person to use this program.

HARDWARE AND SOFTWARE USED


1. Windows Edition – Windows 10 Pro
2. Processor- AMD Ryzen 5 3400G @ 3.70 GHz
3. RAM- 8.00GB
4. System type- 64 bit O.S. , x-64 based processor
5. Python type- IDLE(Python 3.8- 64 bit)
6. My SQL- MySQL 8.0
7. Microsoft Word 2016

LIBRARIES AND FUNCTION USED

insert() show_admissions() update_name()


update_phone() update_address() update_class()
update() search_name() search_admissionid()
search_phoneno() search_class() search()
delete() stud_admissionid() stud_name()
stud_age() stud_phoneno() stud_details()
insert_stud() delete_stud() show_stud_details()
mysql.connector
Database and Tables (Relation)

Database Used: deep

Tables Used:

Table’s Description:
WORKING DESCRIPTION

This program is made for School Management,


as the name suggests. By using this program, a
person can do a lot of things regarding School
Management.
A person will be able to see 3 options as soon
he/she launches the program. Each option will
lead to either some destination depending on
the choice. The options are to ‘Admission
details’, ‘Student Details’ and lastly ‘EXIT’. A
person can choose the options as per his/her
requirement.
CODING
import mysql.connector as simp
mydb=simp.connect(host="localhost",user="root",passwd="1234",database="deep")

#Function Part
if mydb.is_connected():
print("===============================================================================")
print("============== ********WELCOME TO SCHOOL MANAGEMENT SYSTEM ********==========")
print("===============================================================================")
print()

cursor=mydb.cursor()

#Insert Admission Details(1)


def insert():
admission_id=input('Enter Admission ID:')
name=input("Enter Student Name:")
phone_no=input("Enter Phone Number:")
address=input("Enter Address:")
Class=input("Enter class:")
qr="insert into ADMISSION_DETAILS
values('{}','{}','{}','{}','{}')".format(admission_id,name,phone_no,address,Class)
print("Admission Details has been saved....")
cursor.execute(qr)
mydb.commit()

#Show Admission Details(2)


def show_admissions():
qr="select * from ADMISSION_DETAILS"
cursor.execute(qr)
for i in cursor:
print("--------------DETAILS OF ADMISSION------------------")
print("Admission ID:",i[0])
print("Name of Student:",i[1])
print("Phone NO:",i[2])
print("Address:",i[3])
print("Class:",i[4])
print("--------------------------------------------------------------------")

#UPDATE ADMISSION DETAILS(3)


def update_name():
b=input("Enter Admission ID of the student:")
a=input("Enter Student Name:")
qr="update ADMISSION_DETAILS set stud_name='{}' where admission_id='{}'".format(a,b)
print("Name has been updated....")
cursor.execute(qr)
mydb.commit()
def update_phone():
b=input(" Enter Admission ID of the student:")
a=input("Enter phone:")
qr="update ADMISSION_DETAILS set phone_no='{}' where admission_id='{}' ".format(a,b)
print("Phone No. has been updated....")
cursor.execute(qr)
mydb.commit()
def update_address():
b=input("Enter Admission ID of the student:")
a=input("Enter address:")
qr="update ADMISSION_DETAILS set address='{}' where admission_id='{}' ".format(a,b)
print("Address has been updated.....")
cursor.execute(qr)
mydb.commit()
def update_class():
b=input("Enter Admission ID of the student:")
a=input("Enter class:")
qr="update ADMISSION_DETAILS set class='{}' where admission_id='{}' ".format(a,b)
print("Class has been updated....")
cursor.execute(qr)
mydb.commit()
def update():
while True:
print("1.Update Sname")
print("2.Update Phone No")
print("3.Update Address")
print("4.Update Class")
print("5.EXIT")
up=int(input("Enter your option/choice(1-5): "))

if up==1:
update_name()
break
if up==2:
update_phone()
break
if up==3:
update_address()
break
if up==4:
update_class()
break
if up==5:
break

#search ADMISSION DETAILS(4)


def search_name():
a=input("Enter Name:")
qr="select * from ADMISSION_DETAILS where stud_name='{}' ".format(a)
cursor.execute(qr)
for i in cursor:
print("----------------SEARCH RESULT--------------")
print("Admission ID:",i[0])
print("Name of Student:",i[1])
print("Phone NO:",i[2])
print("Address:",i[3])
print("Class:",i[4])
print("-------------------------------------------------------")
def search_admissionid():
a=input("Enter Admission ID:")
qr="select * from ADMISSION_DETAILS where admission_id='{}' ".format(a)
cursor.execute(qr)
for i in cursor:
print("----------------SEARCH RESULT--------------")
print("Admission ID:",i[0])
print("Name of Student:",i[1])
print("Phone NO:",i[2])
print("Address:",i[3])
print("Class:",i[4])
print("--------------------------------------------------------")

def search_phoneno():
a=input("Enter Phone NO:")
qr="select * from ADMISSION_DETAILS where Phone_No='{}' ".format(a)
cursor.execute(qr)
for i in cursor:
print("----------------SEARCH RESULT--------------")
print("Admission ID:",i[0])
print("Name of Student:",i[1])
print("Phone NO:",i[2])
print("Address:",i[3])
print("Class:",i[4])
print("-------------------------------------------------------")

def search_class():
a=input("Enter Class:")
qr="select * from ADMISSION_DETAILS where Class='{}' ".format(a)
cursor.execute(qr)
for i in cursor:
print("----------------SEARCH RESULT--------------")
print("Admission ID:",i[0])
print("Name of Student:",i[1])
print("Phone NO:",i[2])
print("Address:",i[3])
print("Class:",i[4])
print("-------------------------------------------------------")

def search():
while True:
print("1.Search By Admission ID")
print("2.Search By Name")
print("3.Search By Phone No")
print("4.search By Class")
print("5.EXIT")
stu=int(input("Enter your option/choice(1-5): "))

if stu==1:
search_admissionid()
break
if stu==2:
search_name()
break
if stu==3:
search_phoneno()
break
if stu==4:
search_class()
break
if stu==5:
break

#Delete ADMISSION DETAILS(5)


def delete():
a=input("Enter Admission ID:")
qr="DELETE from ADMISSION_DETAILS where admission_id='{}'".format(a)
print("Data has been deleted....")
cursor.execute(qr)
mydb.commit()

#Search for stud_details

def stud_admissionid():
a=input("Enter STUDENT ADMISSION ID:")
qr="select * from stud_details where admission_id='{}'".format(a)
cursor.execute(qr)
for i in cursor:
print("--------------STUDENT DETAILS--------------")
print("ADMISSION ID:",i[0])
print("STUDENT NAME:",i[1])
print("STUDENT AGE:",i[2])
print("STUDENT PHONE NO:",i[3])
print("STUDENT ADDRESS:",i[4])
print("STUDENT EMAIL:",i[5])
print("--------------------------------------------------------")

def stud_name():
a=input("Enter STUDENT NAME:")
qr="select * from stud_details where stud_name='{}'".format(a)
cursor.execute(qr)
for i in cursor:
print("--------------STUDENT DETAILS--------------")
print("ADMISSION ID:",i[0])
print("STUDENT NAME:",i[1])
print("STUDENT AGE:",i[2])
print("STUDENT PHONE NO:",i[3])
print("STUDENT ADDRESS:",i[4])
print("STUDENT EMAIL:",i[5])
print("--------------------------------------------------------")

def stud_age():
a=input("Enter STUDENT AGE:")
qr="select * from stud_details where age={}".format(a)
cursor.execute(qr)
for i in cursor:
print("--------------STUDENT DETAILS--------------")
print("ADMISSION ID:",i[0])
print("STUDENT NAME:",i[1])
print("STUDENT AGE:",i[2])
print("STUDENT PHONE NO:",i[3])
print("STUDENT ADDRESS:",i[4])
print("STUDENT EMAIL:",i[5])
print("--------------------------------------------------------")

def stud_phoneno():
a=input("Enter Student Phone No: ")
qr="select * from stud_details where phone_no='{}'".format(a)
cursor.execute(qr)
for i in cursor:
print("--------------STUDENT DETAILS--------------")
print("ADMISSION ID:",i[0])
print("STUDENT NAME:",i[1])
print("STUDENT AGE:",i[2])
print("STUDENT PHONE NO:",i[3])
print("STUDENT ADDRESS:",i[4])
print("STUDENT EMAIL:",i[5])
print("--------------------------------------------------------")

def stud_details():
while True:
print("1.search for Student By ADMISSION ID")
print("2.Search for Student By Name")
print("3.Search for Student By Age")
print("4.Search for Student By Phone No")
print("5.EXIT")
a=int(input("Enter your option/choice(1-5):"))

if a==1:
stud_admissionid()
break
if a==2:
stud_name()
break
if a==3:
stud_age()
break
if a==4:
stud_phoneno()
break
if a==5:
break

#INSERT Student DETAILS

def insert_stud():
admission_id=input("Enter Admission ID:")
stud_name=input("Enter Student Name:")
age=int(input("Enter Student Age:"))
phone_no=int(input("Enter Student Phone No:"))
address=input("Enter Student Address:")
email=input("Enter Student Email:")
qr="insert into stud_details
values('{}','{}',{},{},'{}','{}')".format(admission_id,stud_name,age,phone_no,address,email)
print("Data has been saved....")
cursor.execute(qr)
mydb.commit()

#Delete Student Details

def delete_stud():
a=input("Enter Admission ID of Student:")
qr="delete from stud_details where admission_id='{}'".format(a)
print("Data has been deleted....")
cursor.execute(qr)
mydb.commit()

#Show Student Details Table

def show_stud_details():
qr="select * from stud_details"
cursor.execute(qr)
for i in cursor:
print("--------------STUDENT DETAILS--------------")
print("ADMISSION ID:",i[0])
print("STUDENT NAME:",i[1])
print("STUDENT AGE:",i[2])
print("STUDENT PHONE NO:",i[3])
print("STUDENT ADDRESS:",i[4])
print("STUDENT EMAIL:",i[5])
print("--------------------------------------------------------")

#OPTIONS

while True:
print()
print("***************************************************")
print("* KV NO 02-MAIN MENU *")
print("***************************************************")
print("* *")
print("* 1:Admission Details *")
print("* 2:Student Details *")
print("* 3:Exit *")
print("* *")
print("***************************************************")
opt=int(input("enter your option/choice(1-3):"))
if opt==1:
while True:
print(".........................................................................")
print(". ADMISSION MENU .")
print(".........................................................................")
print(". .")
print(". 1:Insert Admission Details .")
print(". 2:Show Admission Details .")
print(". 3:Update Admission Details .")
print(". 4:Search of Admission Details .")
print(". 5.Deletion of Admission Details .")
print(". 6.Return to MAIN MENU .")
print(". .")
print("..........................................................................")
opt1=int(input("Enter your option/choice(1-6):"))

if opt1==1:
insert()
elif opt1==2:
show_admissions()
elif opt1==3:
update()
elif opt1==4:
search()
elif opt1==5:
delete()
elif opt1==6:
break
else:
print("Please choose one from above menu...")
elif opt==2:
while True:
print("...............................................................................")
print(". STUDENT DATA MENU .")
print("...............................................................................")
print(". .")
print(". 1.Insert Student Details .")
print(". 2.Show Student Details .")
print(". 3.Search for Student Details .")
print(". 4.Delete Student Details .")
print(". 5.Exit .")
print(". .")
print("...............................................................................")
opt2=int(input("Enter your option/choice(1-5):"))

if opt2==1:
insert_stud()
elif opt2==2:
show_stud_details()
elif opt2==3:
stud_details()
elif opt2==4:
delete_stud()
elif opt2==5:
break
else:
print("Please choose one from above menu...")
elif opt==3:
break
else:
print("Please choose one from above menu...")

mydb.close()
OUTPUT SCREENS
BIBLIOGRAPHY

1 http://www.google.com/
2 http://en.wikipedia.org
3 Computer Science with Python by Sumita
Arora
4. Mr. Kapil Sehgal

You might also like