0% found this document useful (0 votes)
4 views19 pages

School Management Analysis12

The document outlines a project titled 'Student Management Analysis' developed by Kushal Kumar and Shubham Fauzdar under the supervision of Mr. Kapil Paliwal for Class 12 at SBIOA Public School, Jaipur. It focuses on creating a Student Management System (SMS) to streamline administrative tasks in educational institutions, utilizing Python and MySQL for data management. The project aims to enhance efficiency in managing student records, attendance, and communication within the school environment.

Uploaded by

ik314534
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)
4 views19 pages

School Management Analysis12

The document outlines a project titled 'Student Management Analysis' developed by Kushal Kumar and Shubham Fauzdar under the supervision of Mr. Kapil Paliwal for Class 12 at SBIOA Public School, Jaipur. It focuses on creating a Student Management System (SMS) to streamline administrative tasks in educational institutions, utilizing Python and MySQL for data management. The project aims to enhance efficiency in managing student records, attendance, and communication within the school environment.

Uploaded by

ik314534
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/ 19

INFORMATICS

PRACTICES

ROJECT FILE
P

CLASS 12
(SCIENCE)
SESSION - 2024 - 25

BY - Shubham Fauzdar
INDEX
CERTIFICATE
THIS IS TO CERTIFY THAT “STUDENT MANAGEMENT
ANALYSIS”INFOMATICS PRACTICES PROJECT IS
DEVELOPED
BY KUSHAL KUMAR AND SHUBHAM FAUZDAR
UNDER SUPERVISION OF Mr KAPIL PALIWAL
IN COMPUTER LAB OF “SBIOA PUBLIC SCHOOL, JAIPUR”
IN SESSION 2024-2025

INTERNAL EXTERNAL
SIGNATURE SIGNATURE
ACKNOWLEDGEMENT
WE WOULD LIKE TO EXPRESS OUR
SINCERE GRATITUDE TO MY
RESPECTED TEACHER Mr KAPIL PALIWAL
FOR HIS VITAL SUPPORT, GUIDANCE
AND ENCOURAGEMENT WITHOUT
WHICH THIS PROJECT WOULD NOT
COME FORTH FROM OUR SIDE TO
HELP ME COMPLETING THE PROJECT
BY GIVING IDEAS, THOUGHTS AND
MADE THIS PROJECT EASY AND
ACCURATE. WE WISH TO THANK OUR
PARENTS FOR THEIR UNDIVIDED
SUPPORT AND INTEREST WHO
INSPIRED US AND ENCOURAGED US
TO GO OUR OWN WAY WITHOUT |
WHICH WE WOULD BE UNABLE TO
COMPLETE OUR PROJECT.
INTRODUCTION
IN TODAY'S FAST-PACED WORLD, EFFICIENT
MANAGEMENT OF EDUCATIONAL INSTITUTIONS IS
ESSENTIAL FOR DELIVERING QUALITY EDUCATION
AND ENSURING SEAMLESS ADMINISTRATIVE
OPERATIONS. A STUDENT MANAGEMENT SYSTEM
(SMS) IS A SOFTWARE SOLUTION DESIGNED TO
HANDLE VARIOUS ADMINISTRATIVE TASKS, FROM
MANAGING STUDENT RECORDS TO TRACKING
FACULTY DETAILS, STREAMLINING FEE COLLECTION,
AND GENERATING REPORTS. THIS IP PROJECT
FOCUSES ON DEVELOPING A STUDENT
MANAGEMENT SYSTEM THAT SIMPLIFIES THE
ADMINISTRATION OF SCHOOL-RELATED DATA AND
PROVIDES A USER-FRIENDLY INTERFACE FOR BOTH
STAFF AND STUDENTS. THE PRIMARY GOAL IS TO
CREATE A SYSTEM THAT AUTOMATES AND
INTEGRATES CRUCIAL FUNCTIONS SUCH AS
ATTENDANCE TRACKING, GRADE MANAGEMENT,
TIMETABLE SCHEDULING, AND COMMUNICATION
BETWEEN TEACHERS AND STUDENTS. BY
IMPLEMENTING THIS SCHOOL MANAGEMENT
SYSTEM, SCHOOLS CAN IMPROVE DATA ACCURACY,
REDUCE PAPERWORK, AND ENSURE TIMELY
UPDATES ON ESSENTIAL INFORMATION, ULTIMATELY
CREATING A MORE ORGANIZED AND EFFECTIVE
LEARNING ENVIRONMENT. THIS PROJECT AIMS TO
DEMONSTRATE HOW TECHNOLOGY CAN
CONTRIBUTE TO THE EFFICIENT AND SMOOTH
RUNNING OF SCHOOL ADMINISTRATION, BENEFITING
STUDENTS, TEACHERS, AND MANAGEMENT ALIKE.
TECHNOLOGY USED
SOURCE CODE IN PYTHON
import mysql.connector as a

con = a.connect(host='localhost', user='root', database='test',passwd='123456')


def main():
print("========== School Database Management System ==========")
print("1. Add Student")
print("2. Remove Student")
print("3. Display Students by Class")
print("4. Add Teacher")
print("5. Remove Teacher")
print("6. UpdateTeacher Salary")
print("7. Display All Teachers")
print("8. Add Class Attendance")
print("9. Display Class Attendance")
print("10. Add Teacher Attendance")
print("11. Display Teacher Attendance")
print("12. Update Fee Structure")
print("13. Display Fee Structure")
print("14. Add Book")
print("15. Exit")
print("======================================================")

choice = input("Enter choice (1-15): ")


print("")
if choice == '1':
AddSt()
elif choice == '2':
RemoveSt()
elif choice == '3':
Displayst()
elif choice == '4':
AddT()
elif choice == '5':
RemoveT()
elif choice == '6':
DisplayT()
elif choice == '8':
ClAttd()
elif choice == '9':
DisplayClAttd()
elif choice == '10':
TAttd()
elif choice == '11':
DisplayTAttd()
elif choice == '12':
UpdateFees()
elif choice == '13':
DisplayFees()
elif choice == '14':
AddBook()
elif choice == '15':
print("Exiting system...")
con.close()
return
else:
print("Invalid choice. Please select a valid option.") print("")

def AddSt():
n = input("Student name:")
cl = input("Class:")
r = int(input("Roll no:"))
a = input("Address:")
ph = input("Phone:")
data = (n, cl, r, a, ph)
sql = 'INSERT INTO student VALUES (%s, %s, %s, %s, %s)'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Data entered successfully")
print("")
main()
def RemoveSt():
cl = input("Class:")
r = int(input("Roll no:"))
data = (cl, r)
sql = 'DELETE FROM student WHERE class=%s AND rollno=%s'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Data Updated")
print("")
main()
def Displayst():
cl = input("Class:")
data = (cl,)
sql = "SELECT * FROM student WHERE class=%s"
c = con.cursor()
c.execute(sql, data)
d = c.fetchall()
for i in d:
print("Class:", i[1])
print("Name:", i[0])
print("Phone:", i[4])
print("Roll no:", i[2])
print("Address:", i[3])
print("")
print("")
main()

def AddT():
tcode = int(input("TCode:"))
n = input("Teacher name:")
s = int(input("Salary:"))
a = input("Address:")
ph = input("Phone:")
data = (tcode, n, s, a, ph)
sql = 'INSERT INTO teacher VALUES (%s, %s, %s, %s, %s)'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Data entered successfully")
print("")
main()

def RemoveT():
n = input("Teacher:")
tcode = int(input("Tcode:"))
data = (n, tcode)
sql = 'DELETE FROM teacher WHERE name=%s AND tcode=%s'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Data Updated")
print("")
main()
def UpdateSal():
n = input("Teacher:")
tcode = int(input("Tcode:"))
salary = int(input("Salary:"))
data = (salary, n, tcode)
sql = 'UPDATE teacher SET salary=%s WHERE name=%s AND tcode=%s'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Data Updated")
print("")
main()

def DisplayT():
sql = "SELECT * FROM teacher"
c = con.cursor()
c.execute(sql)
d = c.fetchall()
for i in d:
print("Tcode:",i[0])
print("Name:",i[1])
print("Salary:",i[2])
print("Address:",
i[3]) print("Phone:",
i[4]) print("")
print("")
main()

def ClAttd():
d = input("Class:")
date = input("Date (YYYY-MM-DD):")
attendance = input("Attendance (comma-separated roll numbers):")
data = (d, date, attendance)
sql = 'INSERT INTO class_attendance (class, date, attendance) VALUES (%s, %s, %s)
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Attendance recorded successfully")
print("")
main()
def DisplayClAttd():
cl = input("Class:")
sql = "SELECT * FROM class_attendance WHERE class=%s"
c = con.cursor()
c.execute(sql, (cl,))
d = c.fetchall()
for i in d:
print("Class:", i[0])
print("Date:", i[1])
print("Attendance:", i[2])
print("")
print("")
main()
def TAttd():

tcode = int(input("TCode:"))
date = input("Date (YYYY-MM-DD):")
data = (tcode, date)
sql = 'INSERT INTO teacher_attendance (tcode, date) VALUES (%s, %s)'
c = con.cursor()
c.execute(sql, data)
con.commit()
print("Attendance recorded successfully")
print("")
main()
def DisplayTAttd():
sql = "SELECT * FROM teacher_attendance"
c = con.cursor()
c.execute(sql)
d = c.fetchall()
for i in d:
print("Tcode:", i[0])
print(”
MY SQL TABLE
thank

you

You might also like