Projectpage School Management System
Projectpage School Management System
………………………………………………………………
on
to
Central Board of Secondary Education, New Delhi in partial fulfilment of curriculum
of COMPUTER SCIENCE NEW [083] (Class: XII) internal examination conducted
by CBSE, New Delhi.
2022-23
Principal
ACKNOWLEDGEMENT
First and foremost, I would like to extend my heartiest gratitude to the ALMIGHTY for doing
and completing this project work successfully.
I express my sincere thanks to our MANAGEMENT.
I am especially indebted to our Principal Dr. P. VIJAYAKUMAR M.Sc.,M.Ed.,M.Phil.,Ph.D.,
and computer science teacher Mrs. M. RAJALAKSHMI M.Sc.,B.Ed., for their valuable
suggestions during the course of this project work.
I extend my sincere gratitude to my parents for their unconditional co-operation and motivation
extended to me to complete this project.
3. Python Coding.
5. Bibliography
To perform this task the students were divided into the group of three
students named as S.SHOBHAN ADITHYA, K.AJAY & R.A.SABARI
SRINATH is assigned the work of coding, analyzing the program and lead the
program to the conclusion.
Enter11: Exit
As we are the students of CLASS XII and we haven’t done this type of project before,
we have performed all that which we have learnt from our CBSE PROGRAMMING .Hence,
we know that this programming would be further done on a big platform. Since we have
started this programming from JULY month , we believe that this programming would
We are also thankful to our group mates for cooperating with each other while
performing this task we have also polished the skills of group activity.
PROCESS
FIRSTLY, we have done the planning in a paper work regarding what have to do on
SECONDLY, we discussed our planning with our subject teacher and then he
THEN, we started our coding; coding took around 2 and half months for completion.
PYTHON
Python is a popular programming language. It was created by Guido van Rossum, and
released in 1991.
It is used for:
MYSQL
If the above code gets executed with no errors, “MySQL Connector” is ready to be used.
System Requirements of the Project
Recommended System Requirements
USE SMS;
TABLE CREATION
TABLE: STUDENT
TABLE: MARKS
TABLE: FEES
myConnection=mysql.connector.connect(host="127.0.0.1",user="root",passwd="admi
n",auth_plugin='mysql_native_password' )
if myConnection:
print("\n CONGRATULATIONS ! YOUR MYSQL CONNECTION HAS BEEN
ESTABLISHED !")
cursor=myConnection.cursor()
cursor.execute("CREATE DATABASE IF NOT EXISTS SMS")
cursor.execute("COMMIT")
cursor.close()
return myConnection
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION CHECK
USERNAME AND PASSWORD !")
myConnection=mysql.connector.connect(host="127.0.0.1",user="root",passwd='admi
n', database='SMS' , auth_plugin='mysql_native_password')
if myConnection:
return myConnection
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION !")
myConnection.close()
#MODULE FOR NEW ADMISSION
def newStudent():
if myConnection:
cursor=myConnection.cursor()
createTable ="""CREATE TABLE IF NOT EXISTS STUDENT(SNAME
VARCHAR(30),FNAME VARCHAR(30),MNAME VARCHAR(30),PHONE
VARCHAR(12), ADDRESS VARCHAR(100),SCLASS VARCHAR(5),SSECTION
VARCHAR(5), SROLL_NO VARCHAR(5),SADMISSION_NO VARCHAR(10)
PRIMARY KEY)"""
cursor.execute(createTable)
sname=input("\n ENTER STUDENT'S NAME : ")
fname=input(" ENTER FATHER'S NAME : ")
mname=input(" ENTER MOTHER'S NAME : ")
phone=input(" ENTER CONTACT NO. : ")
address=input(" ENTER ADDRESS : ")
sclass =input(" ENTER CLASS : ")
ssection=input(" ENTER SECTION : ")
sroll_no=input(" ENTER ROLL_NO : ")
sadmission_no=input(" ENTER ADMISSION_NO : ")
sql="INSERT
INTO
student(SNAME,FNAME,MNAME,PHONE,ADDRESS,SCLASS,SSECTION,SROL
L_NO,SADMISSION_NO) VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s)"
values=(sname,fname,mname,phone,address,sclass,ssection,sroll_no,sadmission_no)
cursor.execute(sql,values)
cursor.execute("COMMIT")
cursor.close()
print("\nNew Student Enrolled Successfully !")
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION !")
else:
print("\nERROR ESTABLISHING MYSQL CONNECTION !")
reportCardOneStudent()
elif choice==8:
feeStudent()
elif choice==9:
feeReceiptAllStudent()
elif choice==10:
feeReceiptOneStudent()
elif choice==11:
myConnection.close()
break
elif choice==0:
helpMe()
else:
print("Sorry ,May Be You Are Giving Me Wrong Input, Please Try
Again !!! ")
else:
print("Check Your MYSQL Connection First !!! ")
Output of the Project
Finally, we conclude our work and present the output of the Project.
MAIN SCREEN
USER AUTHENTICATION :
NEW ADMISSION :
DISPLAY STUDENT'S DATA :
EXIT :
MySQL OUTPUT
SHOW DATABASES :
USE DATABASE :
SHOW TABLES:
DESCRIBE FEES :
DESCRIBE MARKS :
DESCRIBE STUDENT :
RETRIEVING FEES DETAILS :
RETRIEVING MARKS DETAILS :
RETRIEVING STUDENT DETAILS :
BIBLIOGRAPHY :
1. python.org
2. Codeacademy.com
3. tutorialsPoint.com
4. w3schools.com
5. learndigital.withgoogle.com
6. LearnPython.org