SlideShare a Scribd company logo
Oxford Public School
Ranchi
Session: 2020-2021
Computer Science
Project
Submitted by:-
Name: Rema Deosi Sundi
Class: XII A
Class Roll no.: 40
Board Roll no.:
Certificate
This is to certify that Rema Deosi Sundi of class
XII A of Oxford Public School, Ranchi has
completed her project file under the supervision
of Mrs Rolley. She has taken care and shown
sincerity in completion of this project.
I hereby certify that this project is upto my
expectations and guidance issued by CBSE.
Internal External
Signature Signature
Acknowledgement
I would like to express my greatest
gratitude to the people who helped and
supported me throughout my project. I
am thankful to my parents for helping me
in completion of this project. I am grateful
to Mrs. Rolley whose valuable guidance
has been the ones that helped me patch
this project and make it full proof success.
I would also like to express my gratitude to
the Principal Mr. Suraj Sharma for his
constant motivation during the course of
this investigation.
Name: Rema Deosi Sundi
Class: XII A
Board roll no.:
Project Work On :
School
Management
System
INDEX
Introduction
Software & Hardware requirements
Advantages of this project
Source Code in Python
Output Screen
MySQL tables
Limitations
Future Scopes
Bibliography
Introduction
This project work automates school management system.
School Management System consist of tasks such registering students, attendance
record keeping control to absentees, details of teacher, fee structure ,etc.
Data file handling has been effectively used in the program. Database is a collection of
interrelated data to serve multiple applications i.e. database programs create files of
information. So we see that files are worked with most inside the program itself.
DBMS
The software required for management of data is called DBMS. It has three models.
Relation model: It stores information in form of rows (cardinality) and columns
(degree).
Hierarchical model: In this type of model, we have multiple records inside a single
record.
Network model: In this, the data is represented by collections of record and
relationships is separated by associations.
Characteristics of DBMS
• It reduces the redundancy.
• Data sharing
• Data standardization
• Reduction of data inconsistency
Types of files based on access
• Sequential file
• Serial file
• Random file
• Test file
• Binary file
Software and Hardware requirement
#Software Specifications:-
• Operating system: Windows 10/8/7
• Platform : Python IDLE 3.7
• Database : MySQL
• Languages : Python
#Hardware Specifications:-
• Processor : Dual core or above
• Hard Disk : 40 GB
• RAM : 1024 MB
Advantages of Project:-
1. Saves time of teachers and administrators
2. Fee Collection
3. Improving Teaching Standards
4. Complete attendance automation
5. Effortless grades and marks management
6. Publishing of online forums and assignments
7. Easy management of class information analytical
reports
8. Ordering books for library accordingly
Source Code in Python
import mysql.connector as a
con=a.connect(host='localhost',user='root',database='test',passwd='rema')
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 roll=%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("Name:",i[0])
print("Class:",i[1])
print("Roll no:",i[2])
print("Address:",i[3])
print("Phone:",i[4])
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=(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 Update")
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:")
clt=input("Class teacher:")
t=int(input("Class strenght:"))
d=input("Date:")
ab=int(input("No of absentees:"))
data=(d,clt,t,d,ab)
sql='insert into ClAttendance values(%s,%s,%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def DisplayClAttd():
sql='select * from ClAttendance'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Class:",i[0])
print("Class teacher:",i[1])
print("Total St:",i[2])
print("Date:",i[3])
print("Absentees:",i[4])
print("")
print("")
main()
def TAttd():
n=input("Name:")
d=input("Date:")
a=input("Attendance:")
data=(n,d,a)
sql='insert into tattendance values(%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def DisplayTAttd():
sql='select * from tattendance'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Name:",i[0])
print("Date:",i[1])
print("Attendance:",i[2])
print("")
print("")
main()
def UpdateFees():
cl=input("Class:")
m=input("Monthly:")
b=input("BusFee:")
sc=input("ScFee:")
tc=input("TechFee:")
t=input("Total:")
data=(cl,)
sql='update FeeStructure set monthly=%s, BusFee=%s, ScFee=%s,
TechFee=%s, Total=%s'
c.execute(sql,data)
con.commit()
print("Data Updated")
print("")
main()
def DisplayFees():
sql='select * from FeeStructure'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Class:",i[0])
print("Monthly:",i[1])
print("BusFee:",i[2])
print("ScFee:",i[3])
print("TechFee:",i[4])
print("Total:",i[5])
print("")
print("")
main()
def AddBook():
bid=int(input("Book id:"))
t=input("Title:")
a=input("Author:")
p=input("Publisher:")
g=input("Genre:")
data=(bid,t,a,p,g)
sql='insert into library values(%s,%s,%s,%s,%s)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def RemoveB():
t=input("Title:")
bid=int(input("Book id:"))
data=(t,bid)
sql='delete from library where t=%s and bid=%s'
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data Updated")
print("")
main()
def DisplayB():
sql='select * from library'
c=con.cursor()
c.execute(sql)
d=c.fetchall()
for i in d:
print("Bid:",i[0])
print("Title:",i[1])
print("Author:",i[2])
print("Publisher:",i[3])
print("Genre:",i[4])
print("")
print("")
main()
def main():
ch='y'
while ch in ['y','Y']:
print("Pitts Modern School")
print("1.Student")
print("2.Teacher")
print("3.ClAttendance")
print("4.TAttendance")
print("5.FeeStructure")
print("6.Library")
table=int(input("enter table no:"))
print("")
if table==1:
op='y'
while op in ['y','Y']:
print("1.Add student")
print("2.Remove student")
print("3.Display St detail")
task=int(input("enter task no:"))
if task==1:
AddSt()
elif task==2:
RemoveSt()
elif task==3:
DisplaySt()
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
elif table==2:
op='y'
while op in ['y','Y']:
print("1.Add teacher")
print("2.Remove teacher")
print("3.Update Salary")
print("4.Display Tdetails")
task=int(input("enter task no:"))
if task==1:
AddT()
elif task==2:
RemoveT()
elif task==3:
UpdateSal()
elif task==4:
DisplayT():
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
elif table==3:
op='y'
while op in ['y','Y']:
print("1.Class Attendance")
print("2.Display ClAttd details")
task=int(input("enter task no:"))
if task==1:
ClAttd()
elif task==2:
DisplayClAttd()
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
elif table==4:
op='y'
while op in ['y','Y']:
print("1.Teacher attendance")
print("2.Display TAttd details")
task=int(input("enter task no:"))
if task==1:
TAttd()
elif task==2:
DisplayTAttd()
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
elif table==5:
op='y'
while op in ['y','Y']:
print("1.Update Fees")
print("2.Display Fees details")
task=int(input("enter task no:"))
if task==1:
UpdateFees()
elif task==2:
DisplayFees()
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
elif table==6:
op='y'
while op in ['y','Y']:
print("1.Add Book")
print("2.Remove Book")
print("3.Display Book")
task=int(input("enter task no:"))
if task==1:
AddBook()
elif task==2:
RemoveB()
elif task==3:
DisplayB()
else:
print("Enter Valid Choice!!")
op=input("Continue in this table(y/n):")
else:
print("ENTER VALID CHOICE!!!")
ch=input("Do you want to continue(y/n):")
Output Screen
Computer Project for class 12 CBSE on school management
Computer Project for class 12 CBSE on school management
MySQL Tables
Limitations
• The limitation of the application is more
improvement in online examinations.
Limited questions had been stored and
need more updation and maintenance of
the application.
• Storage capacity is too small so that it
cannot be stored large amount of data so
that backup is necessary for the future
improvement.
Future Scope
• In future our system can include accounting
system, good backup, and restore facility.
• System is so much flexible so in future it can
increase easily and new modules can be added
easily.
• You can add student admission as well as pay
online fees.
• Make online exams more effective, efficient and
more dynamic so that it helps to get good
support from the student.
Bibliography
• Computer Science with Sumita Arora
• Computer Science with Preeti Arora
• www.wikipedia.org
• www.w3resource.com
• Under the guidance of subject teacher
THANK
YOU..!!

More Related Content

ODT
Library Management Project (computer science) class 12
RithuJ
 
DOCX
computer science with python project for class 12 cbse
manishjain598
 
PDF
Computer project final for class 12 Students
Shahban Ali
 
PDF
Computer science project.pdf
HarshitSachdeva17
 
PDF
Computer Science Investigatory Project Class 12
Self-employed
 
DOCX
class 12th computer science project Employee Management System In Python
AbhishekKumarMorla
 
PDF
Library Management Python, MySQL
Darshit Vaghasiya
 
PDF
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
ArkaSarkar23
 
Library Management Project (computer science) class 12
RithuJ
 
computer science with python project for class 12 cbse
manishjain598
 
Computer project final for class 12 Students
Shahban Ali
 
Computer science project.pdf
HarshitSachdeva17
 
Computer Science Investigatory Project Class 12
Self-employed
 
class 12th computer science project Employee Management System In Python
AbhishekKumarMorla
 
Library Management Python, MySQL
Darshit Vaghasiya
 
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...
ArkaSarkar23
 

What's hot (20)

PDF
Chemistry project part 1 caseins in milk......
AnuragSharma530
 
PDF
Transformer(Class 12 Investigatory Project)
अयशकांत मिश्र
 
PDF
Computer science Project for class 11th and 12th(library management system)
lokesh meena
 
PDF
Informatics Practices/ Information Practices Project (IP Project Class 12)
KushShah65
 
PDF
Physics Investigatory Project Class 12
Self-employed
 
PDF
To Study the earth's magnetic field using a tangent galvanometer Tangent galv...
Arjun Kumar Sah
 
DOCX
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
AnkitSharma1903
 
DOCX
chemistry investigatory project on food adulteration
appietech
 
PDF
"Study of amount of Casein present in different samples of Milk" [J P EDUCATI...
Shweta Singh
 
DOCX
cbse 12th chemistry investigatory project
NIKHIL DWIVEDI
 
PDF
english class 11 project
AyushKumar901181
 
PDF
Physics investigatory project class 12th.pdf
AtharvGupta31
 
DOCX
English project
jasvin2
 
DOCX
class 11 Physics investigatory project(cbse)
Ayan sisodiya
 
PDF
Study of common food adulterants in fat, oil, butter, sugar, turmeric power...
ARSHGERA1
 
DOCX
Study of quantity of caesin present in different samples of milk
Neelanjyan Dutta
 
PDF
ASL/ALS CLASS 12 ENGLISH PROJECT
RAM LAL ANAND COLLEGE, UNIVERSITY OF DELHI
 
DOC
Physics Investigatory Project
DIVYANSHU KUMAR
 
PPTX
Extraction of Essential Oils-INVESTIGATORY PROJECT.pptx
Imaginative Brain Science
 
PDF
English ASL Project Work - The Enemy - The Conflict of Human Emotions
Harlincoln Singh Thandi
 
Chemistry project part 1 caseins in milk......
AnuragSharma530
 
Transformer(Class 12 Investigatory Project)
अयशकांत मिश्र
 
Computer science Project for class 11th and 12th(library management system)
lokesh meena
 
Informatics Practices/ Information Practices Project (IP Project Class 12)
KushShah65
 
Physics Investigatory Project Class 12
Self-employed
 
To Study the earth's magnetic field using a tangent galvanometer Tangent galv...
Arjun Kumar Sah
 
TO STUDY THE QUANTITY OF CASEIN PRESENT IN DIFFERENT SAMPLES OF MILK
AnkitSharma1903
 
chemistry investigatory project on food adulteration
appietech
 
"Study of amount of Casein present in different samples of Milk" [J P EDUCATI...
Shweta Singh
 
cbse 12th chemistry investigatory project
NIKHIL DWIVEDI
 
english class 11 project
AyushKumar901181
 
Physics investigatory project class 12th.pdf
AtharvGupta31
 
English project
jasvin2
 
class 11 Physics investigatory project(cbse)
Ayan sisodiya
 
Study of common food adulterants in fat, oil, butter, sugar, turmeric power...
ARSHGERA1
 
Study of quantity of caesin present in different samples of milk
Neelanjyan Dutta
 
ASL/ALS CLASS 12 ENGLISH PROJECT
RAM LAL ANAND COLLEGE, UNIVERSITY OF DELHI
 
Physics Investigatory Project
DIVYANSHU KUMAR
 
Extraction of Essential Oils-INVESTIGATORY PROJECT.pptx
Imaginative Brain Science
 
English ASL Project Work - The Enemy - The Conflict of Human Emotions
Harlincoln Singh Thandi
 
Ad

Similar to Computer Project for class 12 CBSE on school management (20)

PPTX
C++ student management system
ABHIJITPATRA23
 
PDF
real.pdf
VivekKumar878233
 
PDF
Python and MySQL Linking Class 12th Project File 23-24
Akshat Singh
 
PDF
anjliji.pdf
officialtech5039
 
PDF
Sample for class 12 computer science_2024-25
myredmi8688
 
PDF
>>>>>>>
gamingspitfire321
 
DOCX
Lokesh 's Ip project Pokemon information
bholu803201
 
PPTX
student management system by using tkinter mysql crud operation
rk751499
 
PDF
dv-210220053508_removed.pdf
SathyaNarayanan47813
 
PPTX
Coding about python and MySQL connectivity
inderjitsingh1985as
 
DOCX
Sunil
sunilkumawat63
 
PDF
Informatics_Practices_SrSec_2024-25.pdf.
vmkvibha1
 
PDF
ELAVARASAN.pdf
dharmendra kumar jaiswal
 
DOCX
Project Term2 Computer barun.docx
SakshamSharma382989
 
DOCX
Mkvanika
shrawankumawat
 
DOCX
Student management system(1) converted
utkarsh649618
 
DOCX
Student management system(1) converted (2)
utkarsh649618
 
DOCX
Student management system(1) converted (1)
utkarsh649618
 
PDF
school-management-by-shivkamal-singh.pdf
ashishkum805
 
PPT
Spsl vi unit final
Sasidhar Kothuru
 
C++ student management system
ABHIJITPATRA23
 
Python and MySQL Linking Class 12th Project File 23-24
Akshat Singh
 
anjliji.pdf
officialtech5039
 
Sample for class 12 computer science_2024-25
myredmi8688
 
Lokesh 's Ip project Pokemon information
bholu803201
 
student management system by using tkinter mysql crud operation
rk751499
 
dv-210220053508_removed.pdf
SathyaNarayanan47813
 
Coding about python and MySQL connectivity
inderjitsingh1985as
 
Informatics_Practices_SrSec_2024-25.pdf.
vmkvibha1
 
ELAVARASAN.pdf
dharmendra kumar jaiswal
 
Project Term2 Computer barun.docx
SakshamSharma382989
 
Mkvanika
shrawankumawat
 
Student management system(1) converted
utkarsh649618
 
Student management system(1) converted (2)
utkarsh649618
 
Student management system(1) converted (1)
utkarsh649618
 
school-management-by-shivkamal-singh.pdf
ashishkum805
 
Spsl vi unit final
Sasidhar Kothuru
 
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
The Future of Artificial Intelligence (AI)
Mukul
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Doc9.....................................
SofiaCollazos
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 

Computer Project for class 12 CBSE on school management

  • 1. Oxford Public School Ranchi Session: 2020-2021 Computer Science Project Submitted by:- Name: Rema Deosi Sundi Class: XII A Class Roll no.: 40 Board Roll no.:
  • 2. Certificate This is to certify that Rema Deosi Sundi of class XII A of Oxford Public School, Ranchi has completed her project file under the supervision of Mrs Rolley. She has taken care and shown sincerity in completion of this project. I hereby certify that this project is upto my expectations and guidance issued by CBSE. Internal External Signature Signature
  • 3. Acknowledgement I would like to express my greatest gratitude to the people who helped and supported me throughout my project. I am thankful to my parents for helping me in completion of this project. I am grateful to Mrs. Rolley whose valuable guidance has been the ones that helped me patch this project and make it full proof success. I would also like to express my gratitude to the Principal Mr. Suraj Sharma for his constant motivation during the course of this investigation. Name: Rema Deosi Sundi Class: XII A Board roll no.:
  • 4. Project Work On : School Management System
  • 5. INDEX Introduction Software & Hardware requirements Advantages of this project Source Code in Python Output Screen MySQL tables Limitations Future Scopes Bibliography
  • 6. Introduction This project work automates school management system. School Management System consist of tasks such registering students, attendance record keeping control to absentees, details of teacher, fee structure ,etc. Data file handling has been effectively used in the program. Database is a collection of interrelated data to serve multiple applications i.e. database programs create files of information. So we see that files are worked with most inside the program itself. DBMS The software required for management of data is called DBMS. It has three models. Relation model: It stores information in form of rows (cardinality) and columns (degree). Hierarchical model: In this type of model, we have multiple records inside a single record. Network model: In this, the data is represented by collections of record and relationships is separated by associations. Characteristics of DBMS • It reduces the redundancy. • Data sharing • Data standardization • Reduction of data inconsistency Types of files based on access • Sequential file • Serial file • Random file • Test file • Binary file
  • 7. Software and Hardware requirement #Software Specifications:- • Operating system: Windows 10/8/7 • Platform : Python IDLE 3.7 • Database : MySQL • Languages : Python #Hardware Specifications:- • Processor : Dual core or above • Hard Disk : 40 GB • RAM : 1024 MB Advantages of Project:- 1. Saves time of teachers and administrators 2. Fee Collection 3. Improving Teaching Standards 4. Complete attendance automation 5. Effortless grades and marks management 6. Publishing of online forums and assignments 7. Easy management of class information analytical reports 8. Ordering books for library accordingly
  • 8. Source Code in Python import mysql.connector as a con=a.connect(host='localhost',user='root',database='test',passwd='rema') 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 roll=%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()
  • 9. c.execute(sql,data) d=c.fetchall() for i in d: print("Name:",i[0]) print("Class:",i[1]) print("Roll no:",i[2]) print("Address:",i[3]) print("Phone:",i[4]) 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("")
  • 10. main() def UpdateSal(): n=input("Teacher:") tcode=int(input("Tcode:")) salary=int(input("Salary:")) data=(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 Update") 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:") clt=input("Class teacher:") t=int(input("Class strenght:")) d=input("Date:") ab=int(input("No of absentees:")) data=(d,clt,t,d,ab) sql='insert into ClAttendance values(%s,%s,%s,%s,%s)'
  • 11. c=con.cursor() c.execute(sql,data) con.commit() print("Data entered successfully") print("") main() def DisplayClAttd(): sql='select * from ClAttendance' c=con.cursor() c.execute(sql) d=c.fetchall() for i in d: print("Class:",i[0]) print("Class teacher:",i[1]) print("Total St:",i[2]) print("Date:",i[3]) print("Absentees:",i[4]) print("") print("") main() def TAttd(): n=input("Name:") d=input("Date:") a=input("Attendance:") data=(n,d,a) sql='insert into tattendance values(%s,%s,%s)' c=con.cursor() c.execute(sql,data) con.commit() print("Data entered successfully") print("") main() def DisplayTAttd(): sql='select * from tattendance' c=con.cursor()
  • 12. c.execute(sql) d=c.fetchall() for i in d: print("Name:",i[0]) print("Date:",i[1]) print("Attendance:",i[2]) print("") print("") main() def UpdateFees(): cl=input("Class:") m=input("Monthly:") b=input("BusFee:") sc=input("ScFee:") tc=input("TechFee:") t=input("Total:") data=(cl,) sql='update FeeStructure set monthly=%s, BusFee=%s, ScFee=%s, TechFee=%s, Total=%s' c.execute(sql,data) con.commit() print("Data Updated") print("") main() def DisplayFees(): sql='select * from FeeStructure' c=con.cursor() c.execute(sql) d=c.fetchall() for i in d: print("Class:",i[0]) print("Monthly:",i[1]) print("BusFee:",i[2]) print("ScFee:",i[3]) print("TechFee:",i[4])
  • 13. print("Total:",i[5]) print("") print("") main() def AddBook(): bid=int(input("Book id:")) t=input("Title:") a=input("Author:") p=input("Publisher:") g=input("Genre:") data=(bid,t,a,p,g) sql='insert into library values(%s,%s,%s,%s,%s)' c=con.cursor() c.execute(sql,data) con.commit() print("Data entered successfully") print("") main() def RemoveB(): t=input("Title:") bid=int(input("Book id:")) data=(t,bid) sql='delete from library where t=%s and bid=%s' c=con.cursor() c.execute(sql,data) con.commit() print("Data Updated") print("") main() def DisplayB(): sql='select * from library' c=con.cursor() c.execute(sql) d=c.fetchall()
  • 14. for i in d: print("Bid:",i[0]) print("Title:",i[1]) print("Author:",i[2]) print("Publisher:",i[3]) print("Genre:",i[4]) print("") print("") main() def main(): ch='y' while ch in ['y','Y']: print("Pitts Modern School") print("1.Student") print("2.Teacher") print("3.ClAttendance") print("4.TAttendance") print("5.FeeStructure") print("6.Library") table=int(input("enter table no:")) print("") if table==1: op='y' while op in ['y','Y']: print("1.Add student") print("2.Remove student") print("3.Display St detail") task=int(input("enter task no:")) if task==1: AddSt() elif task==2: RemoveSt() elif task==3: DisplaySt() else:
  • 15. print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") elif table==2: op='y' while op in ['y','Y']: print("1.Add teacher") print("2.Remove teacher") print("3.Update Salary") print("4.Display Tdetails") task=int(input("enter task no:")) if task==1: AddT() elif task==2: RemoveT() elif task==3: UpdateSal() elif task==4: DisplayT(): else: print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") elif table==3: op='y' while op in ['y','Y']: print("1.Class Attendance") print("2.Display ClAttd details") task=int(input("enter task no:")) if task==1: ClAttd() elif task==2: DisplayClAttd() else: print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") elif table==4:
  • 16. op='y' while op in ['y','Y']: print("1.Teacher attendance") print("2.Display TAttd details") task=int(input("enter task no:")) if task==1: TAttd() elif task==2: DisplayTAttd() else: print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") elif table==5: op='y' while op in ['y','Y']: print("1.Update Fees") print("2.Display Fees details") task=int(input("enter task no:")) if task==1: UpdateFees() elif task==2: DisplayFees() else: print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") elif table==6: op='y' while op in ['y','Y']: print("1.Add Book") print("2.Remove Book") print("3.Display Book") task=int(input("enter task no:")) if task==1: AddBook() elif task==2:
  • 17. RemoveB() elif task==3: DisplayB() else: print("Enter Valid Choice!!") op=input("Continue in this table(y/n):") else: print("ENTER VALID CHOICE!!!") ch=input("Do you want to continue(y/n):")
  • 22. Limitations • The limitation of the application is more improvement in online examinations. Limited questions had been stored and need more updation and maintenance of the application. • Storage capacity is too small so that it cannot be stored large amount of data so that backup is necessary for the future improvement.
  • 23. Future Scope • In future our system can include accounting system, good backup, and restore facility. • System is so much flexible so in future it can increase easily and new modules can be added easily. • You can add student admission as well as pay online fees. • Make online exams more effective, efficient and more dynamic so that it helps to get good support from the student.
  • 24. Bibliography • Computer Science with Sumita Arora • Computer Science with Preeti Arora • www.wikipedia.org • www.w3resource.com • Under the guidance of subject teacher