Professional Documents
Culture Documents
A Project Report on
Student Management System
Submitted By
J. Sri Hamsini
Jay Patel
Mahesh Bawankule
Class: XII
(Computer Science)
2023-24
1. Certificates
2. Declaration
3. Acknowledgement
5. Requirements
6. Coding
7. Output Screenshots
8. Conclusion
9. Bibliography
Department of Computer Science
Bharatiya Vidya Bhavan’s
N.T.P.C. Vidya Mandir
CBSE Affiliation. No: 1130601
CERTIFICATE
CERTIFICATE
The project report entitled
External Examiner
DECLARATION
I hereby declare that the project work entitled “Student Management System”
which is prepared by me and my group member. All the coding is result of my group
member efforts and proper guidance of our principal and subject teachers.
_____________________
Class XII
ACKNOWLEDGEMENT
I would like to take this opportunity to express my deep sense of gratitude to all those
people without whom this project would not be completed. I would like to thank my
parents for inexhaustible source of inspiration.
I would like to extend my gratitude to Ms. Janki Mani, Principal, Bhavan’s NTPC
Vidya Mandir, Mouda for constant encouragement and moral support without I never
been able to give in my best.
I would like to thank my Computer Teacher Mr. Gokul Mole, Bhavan’s NTPC Vidya
Mandir, Mouda for his been interest in the work and ever useful practical knowledge and
for the supervision.
Finally I would like to thank CBSE for giving me this opportunity to undertake this
project
ABOUT PYTHON
Introduction
It is widely used general purpose, high level programming language
developed by Guido van Rossum in 1991. It is used for software development, web
development (server-side), system scripting, and mathematics.
Features:
1. Easy to use: due to simple syntax
3. Cross Platform Language: It can run on Windows, Linux and Macintosh etc.
equally.
4. Expressive Language: less code to be written as it express the purpose of
the code.
5. Completeness: Support wide range of libraries.
6. Free & Open Source: can be download freely and source code can be modify for
Improvement
ABOUT MySQL
Introduction
MySQL is currently the most popular open source database software. It is a multi-user,
multithreaded database management system. MySQL is especially popular on the web. It is
one of the parts of the very popular lamp platform. Linux, apache, MySQL and platform
windows, apache, MySQL and PHP. MySQL was founded by Michael Widenius (Monty),
David Axmark and Allan Larsson in Sweden in year 1995.
Features of MySQL
Open source & free of cost: it is open source and available at free of cost.
Portability: Small enough in size to install and run it on any types of hardware and OS
like Linux, MS windows or Mac etc.
Security: its databases are secured & protected with password.
Connectivity: various APIs are developed to connect it with many programming
languages.
Query language: it supports SQL (structured Query language) for handling database.
REQUIREMENTS
Computer for coding and typing the required documents of the project.
Compact drive.
RAM : 2 GB
Software Requirements:
def add_student():
print("------------------------------------------------")
print("| NEW STUDENT ENTRY |")
print("------------------------------------------------")
adno=int(input("Enter Student Admission No. : "))
sname=input("Enter Student Name : ")
fname=input("Enter Father Name : ")
dob=input("Enter Student DOB : ")
cl=input("Enter Class : ")
s=input("Enter Section : ")
ph=int(input("Enter Phone No. : "))
add=input("Enter Address : ")
qur="INSERT INTO student(adno, sname, fname, dob, sclass,
sec, phone, address) VALUES({}, '{}', '{}', '{}',
'{}', '{}', {}, '{}')".format(adno, sname, fname,
dob, cl, s, ph, add)
cur.execute(qur)
con.commit()
print("Data Saved Successfully")
input("Press Enter key to continue..................")
def view_student():
print("------------------------------------------------")
print("| STUDENTS INFORMATION |")
print("------------------------------------------------")
cur.execute("SELECT * FROM student")
data=cur.fetchall()
if data==[]:
print("No Record in System")
else:
print(tabulate(data,headers=['AdNo','Student Name',
'Father Name', 'DOB', 'Class', 'Section',
'Phone', 'Address'], tablefmt="grid"))
input("Press Enter key to continue.....................")
def search_student():
print("------------------------------------------------")
print("| SEARCH STUDENT |")
print("------------------------------------------------")
adn=int(input("Enter Admission No. : "))
q="SELECT * FROM student WHERE adno={}".format(adn)
cur.execute(q)
data=cur.fetchall()
if data!=[]:
print(tabulate(data,headers=['AdNo','Student
Name','Father Name', 'DOB', 'Class', 'Section',
'Phone', 'Address'], tablefmt="grid"))
else:
print("Student Record not found")
input("Press Enter key to continue..........")
def update_student():
print("------------------------------------------------")
print("| UPDATE STUDENT INFORMATION |")
print("-----------------------------------------------")
adn=int(input("Enter Admission No. to Update : "))
q="SELECT * FROM student WHERE adno={}".format(adn)
cur.execute(q)
data=cur.fetchall()
if data!=[]:
print("PLEASE INPUT ALL THE FIELDS CORRECTLY TO
UPDATE..")
sname=input("Enter Student Name : ")
fname=input("Enter Father Name : ")
dob=input("Enter Student DOB : ")
cl=input("Enter Class : ")
s=input("Enter Section : ")
ph=int(input("Enter Phone No. : "))
add=input("Enter Address : ")
qur="UPDATE student SET sname='{}', fname='{}',
dob='{}', sclass='{}',sec='{}', phone={}, ddress='{}'
WHERE dno={}".format(sname,fname,dob,cl,s,ph,add,adn)
cur.execute(qur)
con.commit()
print("Record Updated Successfully")
else:
print("Admission No. not found")
input("Press Enter key to continue..................")
def delete_student():
print("------------------------------------------------")
print("| DELETE STUDENT INFORMATION |")
print("------------------------------------------------")
adn=int(input("Enter Admission No. to Delete student
record : "))
q="SELECT * FROM student WHERE adno={}".format(adn)
cur.execute(q)
data=cur.fetchall()
if data==[]:
print("Admission No. not found")
else:
print(tabulate(data,headers=['AdNo','Student Name',
'Father Name', 'DOB','Class', 'Section',
'Phone', 'Address'], tablefmt="grid"))
cur.execute("DELETE FROM student
WHERE adno={}".format(adn))
print("Record Deleted Successfully")
con.commit()
input("Press Enter key to continue..................")
while True:
Menu_display()
ch = input("Enter your choice : ")
if ch == '1' :
add_student()
elif ch == '2' :
view_student()
elif ch == '3' :
search_student()
elif ch == '4' :
update_student()
elif ch == '5' :
delete_student()
else:
break
print("-----------------------------------------------")
print("| THANK YOU FOR USING OUR SYSTEM |")
print("------------------------------------------------")
OUTPUT SCREENSHOTS
1. Starting screen (Menu)
http://www.python.org/
Youtube Channels