0% found this document useful (0 votes)
53 views24 pages

Cs - Project - New Project On Mahesh House

This document is a project report for a School Management System created by students Naveen and Mahesh for their CBSE exam. It includes a certificate signed by their teacher Anitha, an acknowledgement, an index of sections, and sections on introduction, theoretical approach, coding, and bibliography. The project allows users to store, manage, add, update, delete, and display student, fee, bill, and teacher details from a MySQL database.

Uploaded by

mahi21911687
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)
53 views24 pages

Cs - Project - New Project On Mahesh House

This document is a project report for a School Management System created by students Naveen and Mahesh for their CBSE exam. It includes a certificate signed by their teacher Anitha, an acknowledgement, an index of sections, and sections on introduction, theoretical approach, coding, and bibliography. The project allows users to store, manage, add, update, delete, and display student, fee, bill, and teacher details from a MySQL database.

Uploaded by

mahi21911687
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/ 24

KENDRIYA VIDYALAYA ARUVANKADU

COMPUTER SCIENCE
PROJECT REPORT
ON
SCHOOL MANAGEMENT SYSTEM!!!
FOR
CBSE 2023-24 EXAMINATION

SUBMITTED BY: UNDER THE GUIDANCE OF:


M.NAVEEN MRS.ANITHA
D.MAHESH PGT(COMP.SC)
CERTIFICATE

This is to certify that NAVEEN,MAHESH of


class XII-A has successfully completed their
Computer Scienceproject on “SCHOOL
MANAGEMENT SYSTEM” under the guidance of
Mrs. ANITHA (PGT Comp. Sc.). This is
certified to be the bonafide work of the student
in the Informatics Computer Science laboratory
during the academic year 2023-24.

TEACHER IN CHARGE EXAMINER PRINCIPAL


ACKNOWLEDGEMENT
I have tried to apply best of knowledge and

experience, gained during the study and class

work experience.

I would like to extend my sincere thanks and


gratitude to my teacher MRS ANITHA (PGT
Comp.Sc), who gave me an opportunity to make
this project and supported me throughout.

I am very much thankful to our Principal

SANJAY KUMAR JHA for giving his valuable


time and moral support.

I would like to take the opportunity to extend

my sincere thanks and gratitude to our parents

for being a source of inspiration and providing

time and freedom to develop this software

project.
INDEX

1. CERTIFICATE

2. ACKNOWLEDGEMENT

3. INTRODUCTION

4.THEORITICAL APPROACH

5. CODING

6. OUTPUT

7. BIBLOGRAPHY
INTRODUCTION

This project provides the information about


‘SCHOOL MANAGEMENT SYSTEM’

This allows storage and management of details


of all users. User’s details like Roll No,Student
Name, Fees Details, Teacher Name, Bill status,
are stored in ‘Mysql’ database.

Details can be added, updated or deleted based


on user’s requirement. Displaying all the selected
records is also possible if required.
THEORITICAL
APPROACH
What is Python?

Python is an interpreted, object-oriented, high-level programming


language with dynamic semantics. Its high-level built in data
structures, combined with dynamic typing and dynamic binding, make
it very attractive for Rapid Application Development, as well as for use
as a scripting or glue language to connect existing components
together. Python's simple, easy to learn syntax emphasizes readability
and therefore reduces the cost of program maintenance. Python
supports modules and packages, which encourages program
modularity and code reuse. The Python interpreter and the extensive
standard library are available in source or binary form without charge
for all major platforms, and can be freely distributed.

Often, programmers fall in love with Python because of the increased


productivity it provides. Since there is no compilation step, the edit-
test-debug cycle is incredibly fast. Debugging Python programs is easy:
a bug or bad input will never cause a segmentation fault. Instead,
when the interpreter discovers an error, it raises an exception. When
the program doesn't catch the exception, the interpreter prints a stack
trace. A source level debugger allows inspection of local and global
variables, evaluation of arbitrary expressions, setting breakpoints,
stepping through the code a line at a time, and so on. The debugger is
written in Python itself, testifying to Python's introspective power. On
the other hand, often the quickest way to debug a program is to add a
few print statements to the code
Features of Python:

Python provides lots of features that are listed below.

1) Easy to Learn and Use

Python is easy to learn and use. It is developer-friendly and high-level


programming language.

2) Expressive Language

Python language is more expressive means that it is more


understandable and readable.

3) Interpreted Language

Python is an interpreted language i.e. interpreter executes the code


line by line at a time. This makes debugging easy and thus suitable for
beginners.

4) Cross-platform Language Python


can run equally on different platforms such as Windows, Linux, Unix
and Macintosh etc. So, we can say that Python is a portable language.

5) Free and Open Source

Python language is freely available at official web address. The source-


code is also available. Therefore, it is open source.

6) Object-Oriented Language

Python supports object-oriented language and concepts of classes and


objects come into existence.

SYSTEM REQUIREMENTS
 RAM :8GB
 PROCESSOR : INTEL CORE i5
 OPERATING SYSTEM : MS Windows 10

SOFTWARES USED

 Python : 3.7.4 (64 bit)


 MySQL : version 5.7
 MySQL-Python connector

FLOWCHART

START
SCHOOL MANAGEMENT
SYSTEM WILL START RUNNING
WITH ALL INCLUDED OPTIONS

~~KENDRIYA VIDYALAYA ARUVANKADU~~


---------------------------------------------
1.Add Student 5.Display Students
2.Pay Fees 6.Display Fees
3.Add Bill 7.Display Bills
4.Add Teacher 8.Display Teachers
IF CHOICE
IF CHOICE
==1
==2

IF CHOICE

==3

IF CHOICE IF CHOICE

==4 ==5

IF CHOICE

==6

IF CHOICE IF CHOICE

==7 ==8

RESPECTIVE ACTION AS PER


CHOICE
CODING
#CONNECT DATABASE

import mysql.connector as a
passwd=str(input("DATABASE PASSWORD;"))
con=a.connect(host="localhost",user="root",passwd="MAHIU777")
if con.is_connected():
print("DATABASE CONNECTED SUCCESSFULLY")
#SELECT DATA BASE IF EXIST

c=con.cursor()
c.execute("show databases")
dl=c.fetchall()
dl2=[]
for i in dl:
dl2.append(i[0])
if 'mysch' in dl2:
sql="use mysch"
c.execute(sql)
else: #CREATE DATABASE IF DOES NOT EXIST
sql1="create database mysch"
c.execute(sql1)
sql2 = "use mysch"
c.execute(sql2)
sql3="""create table Students (Name varchar(50), Registration
varchar(50), Class varchar(10), RollNumber int(2),
Date varchar(20))"""
c.execute(sql3)
sql4="""create table Fees (Name varchar(20), Registration
varchar(25), Fee varchar(8), Date varchar(20),Phone varchar(20))"""
c.execute(sql4)
sql5="""create table Bills (Detail varchar(20), Cost int(9), Date
varchar(20))"""
c.execute(sql5)
sql6="""create table Teacher (Name varchar(100), Work
varchar(20),Salary varchar(20))"""
c.execute(sql6)
con.commit()
#PROJECT WORKING OPTIONS
def options():
print("""
~~KENDRIYA VIDYALAYA ARUVANKADU~~
---------------------------------------------
1.Add Student 5.Display Students
2.Pay Fees 6.Display Fees
3.Add Bill 7.Display Bills
4.Add Teacher 8.Display Teachers
---------------------------------------------
""")
def AddStudent():
n=input("Name:")
r=input("Registration:")
c=input("Class:")
rn=int(input("Roll Number:"))
d=input("Date:")
data=(n,r,c,rn,d)
sql='insert into Students values(%s,%s,%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data inserted succesfully")

def PayFees():
n=input("Name:")
r=input("Registration:")
f=input("Fee:")
d=input("Date:")
p=input("phone:")
data=(n,r,f,d,p)
sql='insert into fees values(%s,%s,%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data inserted succesfully")

def AddBill():
dt=input("Detail:")
c=input("Cost:")
d=input("Date:")
data=(dt,c,d)
sql='insert into Bills values(%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data inserted succesfully...")

def AddTeacher():
n=input("Name:")
w=input("Work(subject teacher):")
s=input("Salary:")
data=(n,w,s)
sql='insert into Teacher values(%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data inserted succesfully...")

def dStudents():
cl=input("class:")
sql='select * from Students'
c=con.cursor()
c.execute (sql)
d=c.fetchall()
for i in d:
if i[2]==cl:

print("Name:",i[0],"Registration:",i[1],"Class:",i[2],"RollNumber:",i[3],"
Date:",i[4])

print(".................................................")

def dFees():
sd=input("Date:")
sql='select * from Fees'
c=con.cursor()
c.execute (sql)
d=c.fetchall()
for i in d:
if i[3]==sd:

print("Name:",i[0],"Registration:",i[1],"Fee:",i[2],"Date:",i[3],"Phone:",
i[4])

print(".................................................")

def dBills():
#sd=input("Date:")
sql=' select*from Bills'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Detail:",i[0],"Cost:",i[1],"Date;",i[2])
print("...........................................................")

def dTeacher():
sql='select * from Teacher'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Name:",i[0],"Work:",i[1],"salary:",i[2])
print("........................................................")

#---main----
print("\n")
print(" ~~~~~~~>>>>>>>>>>>>>> Welcome to KENDRIYA VIDYALAYA
ARUVANKADU<<<<<<<<<<<<<<~~~~~~~")
print("\n")
p=input("System Password:")
if p=="kvavk123":
while True:
options()
choice=input("select option:")
if (choice=='1'):
AddStudent()
elif(choice=='2'):
PayFees()
elif(choice=='3'):
AddBill()
elif(choice=='4'):
AddTeacher()
elif(choice=='5'):
dStudents()
elif(choice=='6'):
dFees()
elif(choice=='7'):
dBills()
elif(choice=='8'):
dTeacher()

else:
break
else:
print('wrong password')

OUTPUT
1.screen when the project runs
2. when option 1-> TO ADD STUDENT

3. when option 2-> TO PAY FEES


4. when option 3-> TO ADD BILL

5. when option 4-> TO ADD TEACHER


6. when option 5-> TO DISPLAY STUDENT
7. when option 6-> TO DISPLAY FEES

8. when option 7> TO DISPLAY BILLS

9. when option 8> TO DISPLAY TEACHERS


BIBLOGRAPHY

1. Informatics Practices by Sumita Arora

2. The Complete Reference MySQL by Vikram V

3. https://stackoverflow.com

4.https://www.python.org/

5.Online Help of python

6.https://matplotlib.org/2.0.2/users/

7.https://www.tutorialspoint.com/numpy/

You might also like