We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 31
JOSEPH & MARY PUBLIC SCHOOL
SHASTRI PARK, NATHUPURA
DELHI-110084
NAME : ANURAG RAI
CLASS : XII SCIENCE A
ROLL NO:
INFORMATICS PRACTICES
PROJECT FILE
STUDENT MANAGEMENT
SYSTEMINDEX
S.NO. | Content Page.
No.
1. |Preface 1
2. | Certificate 2
3. | Acknowledgement 3
4. |Introduction to Project 4
5. | Objective of the project 5
6. | Scope of the Project 7
7. | System Requirement of Project 8
8. | Database structure (SQL Tables) 10
9. | Coding in Python and Output 12
10. | Future Scope of the Project 27
11. | Conclusion 28
12. |References 29PREFACE
"
This project “Student Management System’
provides us a simple interface for maintenance
of student information. It can be used by
educational institutes or colleges to maintain the
records of students easily. Achieving this
objective is difficult using a manual system as
the information is scattered, can be redundant
and collecting relevant information may be very
time consuming. All these problems are solved
using this project.
Throughout the project the focus has been on
presenting information in an easy and intelligible
manner. The project is very useful for those who
want to know about Student Information
Management Systems and want to develop
software /websites based on the same concept.
ANURAG RAICERTIFICATE
This is to certify that ANURAG RAT of class 12"
Science ‘A’, Joseph and Mary Public School, Delhi
has successfully completed her project in
computer practical's as prescribed by CBSE in the
year 2023-24.
Date:
Teacher Sign. External Teacher SignACKNOWLEDGEMENT
I thank my Informatics Practices teacher
Ms. Aakansha Rikhari for guidance and
support. I also thank my Principal Ms. Madhu
Sinha. I would also like to thank my parents
for encouraging me during the course of this
project. Finally, I would like to thank CBSE
for giving me this opportunity to undertake
this project.Introduction to Project
The ‘Student Management System’ has been
developed to override the problem prevailing in
the practicing manual system. This software is
supported to eliminate and in some cases reduce
the hardships faced by the existing system.
Moreover this system is designed for the
particular need of the company to carry out
operations in a smooth and effective manner.
The application is reduced as much as possible to
avoid errors while entering the data. It also
provides error message while entering invalid
data. No formal knowledge is needed for the user
to use this system and hence it is user friendly.
It can assist the user to concentrate on their
other activities rather to concentrate on the
record keeping. Thus it will help organization in
better utilization of resources.Objective of the Project
The main objective of the project on student
management system is to manage the details of
student, fees, logins, profiles, courses. It manages
all the information about student, exams, courses,
etc. The project is totally build at administrative
end and thus only the administrator is guaranteed
the access.
Functionalities provided by Student Management
System are as follows:
* Provides the searching facility based on
various factors such as students, logins,
profiles, courses etc.
¢ Tracks all information of fees, exams, profiles,
etc.
¢ Deals with monitoring the information and
transactions of profilese Editing, adding and updating of records is
improved which results in proper resource
management of student data
* Shows the information and description of
students
¢ Integration of all records of coursesScope of the Project
It may help collecting perfect management in
details. In a very short time, the collection will be
obvious, simple and sensible. It will help a person
to know the management of passed year perfectly
and vividly. It also helps in current all works
relative to Student Management System. It will
also reduce the cost of collecting the management
and collection procedure will go on smoothly.
Some of the features of Student Management
System:
Satisfy the user requirement
e Easy to understand by user and operator
« Easy to operate
* Have a good user interface
e Be expandable
e Utilise resources in efficient manner by
increasing their productivity through
automationSystem Requirements of
the Project
Recommended System Requirements
Processors: Intel® Core™ i3 processor 4300M at 2.60
GHz.
Disk space: 2 to 4 GB.
Operating systems: Windows® 10, MACOS, and
UBUNTU.
Python Versions: 3.X.X or Higher.
Minimum System Requirements
Processors: Intel Atom® processor or Intel® Core™ i3
processor.
Disk space: 1 GB.
Operating systems: Windows 7 or later, MACOS, and
UBUNTU.
Python Versions: 2.7.X, 3.6.X.Prerequisites before installing MySQL Connector
Python
You need root or administrator privileges to perform the
installation process.
Python must be installed on your machine.
Note: - MySQL Connector Python requires python to be
in the system's path. Installation fails if it doesn't find
Python on Windows, if Python doesn't exist in the
system's path, please manually add the directory
containing python.exe yourself.Database Structure
(SQL Tables)Ter eee tr
Pest)
bet emu e:))
totalst | int
Ce | varchar (3@)
Ee ahs
z eae
rows in set (0.00 sec)
NEL eee ae asa Card
Cees
ree
(ec csi
| attendance | varchar(3@) |
| varchar(3e) |
monthly | varchar(3@) |
Pree ae |
Pore |
Cece |
total | int |
i
cist varchar (30) |
Bras Renee il
publisher | varchar(3@) |
varchar (38) |
(8.00 sec)CODING IN PYTHON
import mysql.connector as a
conza.connect(host=' localhost’ user="root' ,database=' school’ passwd='1234")
def AddSt()
neinput("Student name:")
clzinput("Class:")
rzin#(input('Roll no:"))
a=input(“Address:")
ph=num(input("Phone:"))
data=(n.cl,r,a.ph)
sql"insert into student values(%s,%
tess)"
cscon.cursor()
c.execute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def RemoveSt():
clzinput("Class:")
rzint(input('Roll no:"))
data=(cl,r)
sqlz'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():
clzinput("Class:")
data=(cl,)
sql='select * from student where class=%s"
c=con.cursor()
c.execute(sql,data)
dec.fetchall()
for ind
print("Name:" i{0])
print("Class:" i[1])
print("Roll no:" ji[2])
print("Address:"i[3])
print("Phone:" i[4])
print("")
print("")
main()
def AddT():
tcode=int(input("TCode:"))
neinput("Teacher name:")
s=int(input("Salary:"))
azinput(“Address:")
ph=num(input("Phone:"))
data=(tcode,n,s,a,ph)
sqlz"insert into teacher values(%s,%S,%S,%S,%8)'
c=con.cursor()c.execute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def RemoveT()
nsinput("Teacher:")
tcode=int(input("Tcode:"))
data=(n,tcode)
sql='delete from teacher where name=%s and tod
c=con.cursor()
c.execute(sql,data)
con.commit()
print(["Data Updated")
print("")
main()
def UpdateSal():
neinput("Teacher:")
tcode=int(input("Tcode:"))
salary=int(input("Salary"))
data=(n,tcode)
sql='update teacher set salary=%s where name=%s and tcode=%s"
cecon.cursor()
c.execute(sql,data)
con.commit()
print("Data Updated")
print(“")
main()def DisplayT():
sql='select * from teacher’
c=con.cursor()
cexecute(sql)
dzc.fetchall()
for ind:
print("Tcode:" i[0])
print("Name:" it)
print("Salary:" ji[2])
print("Address:"i[3])
print("Phone:" i[4])
print("")
print("")
main()
def clattd():
d=input("Class:")
clt=input("Class teacher:")
tsint(input("Class strength:"))
deinput("Date:")
abzint(input("No of absentee:
data=(d,clt,t,d,ab)
sqlz'insert into ClAttendance values(%hs,%hs,%s,%8,%8)'
c=con.cursor()
c.execute(sql,data)
con.commit()
print(“Data entered successfully")
print("")
main()def DisplayClattd():
sqlz'select * from ClAttendance’
c=con.cursor()
c.execute(sql)
dzc.fetchall()
for iin d:
print("Class:" if0})
print("Class Teacher" i1])
print(Total St:" i[2])
print("Date:",i[3])
print("Absentees:" i[4])
print("")
print(")
main()
def TAttd()
neinput('Name:")
dzinput("Date")
a=input("Attendance:")
data=(n.d,a)
sql="insert into tattendance values(%
c=con.cursor()
cexecute(sql,data)
con.commit()
print("Data entered successfully")
print("")
main()
def DisplayTAttd():
sqiz'select * from tattendance’czcon.cursor()
cexecute(sql)
dec.fetchall()
for iin d:
print("Name:" i{0})
print("Date:",i[1])
print(“Attendance:"i[2])
print(")
print("")
main()
def UpdateFees():
clzinput("Class:")
mzinput(’Monthly:")
beint(input("BusFee:"))
sczint(input("ScFee:"))
tczint(input("TechFee:"))
tsinput("Total:")
data=(cl,)
sql='update FeeStructure set — month
TechFee=%s,Total=%s'
BusFee=%s,
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data Updated")
print(™)
main()
def DisplayFees():
sqlz'select * from FeeStructure’
ScFee=%s,czcon.cursor()
cexecute(sql)
dec.fetchall()
for iin d:
print("Class:" ji[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():
bidzint(input("Book id:"))
teinput("Title:")
azinput(“Author:")
psinput("Publisher:")
gzinput("Genre:")
data=(bid,t.a,p.9)
sql="insert into library values(%s,%s,%8,%s,%8)"
c=con.cursor()
c.execute(sql,data)
con.commit()
print("Data entered successfully")
print(")
main()
def RemoveB():tsinput("Title:")
bi
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’
cscon.cursor()
c.execute(sql)
dzc.fetchall()
for iin d:
print("Bid:" jif0])
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 ['
print("")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 tabl
op-'y
while op in ['y','Y'
print('1.Add student")
print('2.Remove student")
print("3.Display St detail")
taskzint(input(“enter task no")
if task==1:
Addst()
elif task==2:
RemoveSt()
elif task==3:
DisplaySt()
else:
print("Enter Valid Choicel!")
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("Display Tdetails")
taskzint(input("enter task no"))
if task==1:
AddT()
elif task==2:
RemoveT()
elif task==3:
UpdateSal()
elif task==4:
DisplayT()
else:
print("Enter Valid Choicel!")
op=input("Continue in this table(y/n):")
elif table:
op='y’
while op in ['y','Y'}:
print("1.Class Attendance")
print('2.Display ClAttd details")
taskzint(input("enter task no"))
if task==1:
clattd()
elif task==2:
DisplayClattd()
else:
print("Enter Valid Choicel!")
op=input("Continue in this table(y/n):")op:'y'
while op in{'y','Y":
print(".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 Choicel!")
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 tas!
UpdateFees()
elif task==2:
DisplayFees()
else:
print("Enter Valid Choicel!")
op=input("Continue in this table(y/n):")
elif table:
op='ywhile op in ['y’,"¥'}:
print("1.Add Book")
print("2,.Remove Book")
print("3.Display Book")
task=int(input(“enter task no:"))
if tas!
AddBook()
elif task==2:
RemoveB()
elif task=:
DisplayB()
else:
print("Enter Valid Choicel!")
op=input("Continue in this table(y/n):")
else:
print("ENTER VALID CHOICE!")
chzinput("Do you want to continue(y/n):")OUTPUT SCREEN
ate at
oe oe oe ee ee
Python 3.7.4 (tags/v3.7
32
209359112e,
Type "help", "copyright", “credits” o
>>
= RESTART: C:\Users\abc\appData\Loca
right", "credits" or "license()" for 2
‘School
‘Teacher
CLattendance
‘Tattendence
FeeStructure
Library
enter table no:1
1.Add student
2.Remove student
3.Display Stdetails
enter task no:1
Student name:Rema
Class:12A
Roll no:40
Address :Siromtoli
phone: 8002742766
Roll:42
Continue in student table(y/n):n
Do you want to continue(y/n) :¥
1
2.Teacher
3.CLAttendance
-Tattendance
5.Feestructure
6.Library
enter table no:2
1.Add teacher
2.Remove teacher
3.Update Salary
4.Display Tdetails
enter task no:1
Poe
fa ta bg oe ee
phone: 8002742766
Data entered successfully
Continue in student table(y/n) :y
1.Add student
2.Remove student
3.Display Stdetails
enter task no:2
Claas:12A
Roll no:40
Data updated
continue in student table(y/n) :y
L.Add student
2:Remove student
3.Display Stdetails
enter task no:3
class:12A
Mame :Rema
(Class:12A
Roll :40
Address: Siromtoli
Phone :8002742766
Phone: 9430182766
Continue in teacher table(yn) :y
1.Add teacher
2.Remove teacher
3.Update Salary
4.Display Tdetails
enter task no:
Teacher :Ajay
Toode: 101
bata Updated
Continue in teacher table(y/n) :¥
1.Add teacher
2.Remove teacher
3.Update salary
4.Display Tdetails
enter task no:
Teacher:Ajay
Toode: 101ON
a
‘Toode:101
Salary :68000
Data Updated
Continue in teacher table(y/n):y
1.add teacher
2.Remove teacher
3.Update Salary
4.Display Téetails
enter task no:4
Toode:101
Name:Ajay
Salary :68000
Address: Hinoo
Phonr :9430102766
‘Toode:102
Continue in teacher table (y/n) :
i
tm ta Oo Cpe ey
2.Display CLAttd details
enter task no:2
Claa:12a,
Class teacher:A Singh
Total st:60
Date: 2021-02-13
Absentees:15
Class:128
Class teacher:RK Sinha
Total st:67
Date:2021-0-13
Absentees:12
Continue in CLAttendance table(y/n) :n
Do you want to cntinue(y/n):y
1. Student
2. Teacher
3.CLattendance
4.Tattendance
5.Feestructure
6.Labrary
De TL
Se te cy em ee Me
Continue in teacher table(y/n):n
Do you want to continue(y/n:y
1. Student
2. Teacher
3.CLattendance
4.Tattendance
5.Feestructure
6.Library
enter table no:3
1.Class Attendance
2.Display CLAttd details
enter task no:1
Class:12a
Class teacher:A Singh
Class strength: 60
Date: 2021-02-13
No of absentees:15
Data entered successfully
Continue in CLAttendance table(y/n) :y
1.Class Attendance
2.Display CLAttd details
Po
tat et Oey Ope a
6.Library
enter table no:
1.Teacher Attendance
2.Display TAttd details
enter task no:1
Name:Ajay
Date:2021-03-13
Attendance : Present
Data entered successfully
Continue in TAttendance table (y/n) :y
1.Teacher Attendance
2.Display TAttd details
enter task no:2
Name :Ajay
Date:2021-02-13
Attendance: Present
Name: Seema
Date2021-02-13
Attendance : Absenta
ee a
costiawe in attendance tablety/a) i=
Monthly:3700
‘BusFee:500
ScFee:200
‘TechFee:200
Total: 4600
Data Update
Continue in Feestructure table(y/n) :y
1.Update Fees
Oe tl TE
3.cLattendance
4.tAttendance
5.Feestructure
6.Laprary
enter table no:¢
1.Add Book
2-Remove Book
3.Display Book
enter task no:1
Book id:11081
‘Title:Da Vinei Code
Author :Dan Brow
Publisher: Transworld
Genre: Thriller
Data entered successfully
Continue in Library table(y/n) :y
eater task no:2
‘Title:Da Vinci Code
Book 1d:12092
Data Updated
Continue in Library table(y/n) :y
wae
Se oe oy oe ee
1.Update Fees
2.Display Fees
enter task no:2
Class:12
Monthly : 3700
BuaFee:500
ScFee:200
TechFee:200
Total :4600
Class:11
Monthly: 3700
Do you want to continue (y/n) :y
1. Student
2. Teacher
3.CLAttendance
Continue in Library table(y/n):y
enter task no:2
Title:Da Vinci Code
Book id:22092
Data Updated
Continue in Library table(y/n) :y
enter task
Book id:11092
Title:Da Vinci Code
Author :Dan Brown
Publisher :Transworld
Genre: Thriller
Rook i4:11092
Title:twilight
Author Stephenie Meyer
Publisher:Little Brown Book
Genre:Fiction
Continue in library table(y/n) :n
Do you want to continue(y/n):n
>>Future Scope of the Project
Inanutshell, it can be summarized that the future
scope of the project circles around maintaining
information regarding:
¢ We can add printer in future
« We can have more advanced software
¢ We can host the platform on online servers
« We can implement the backup mechanism for
taking backup
e We can create master database structure to
reduce the overload of database queries
The above mentioned projects are the
enchantments which can be done to increase the
applicability and usage of this project.
ANURAG RATCONCLUSION
This project is to satisfy the needs to manage the
work. Several user friendly coding has also been
adopted. This package shall prove to be a powerful
package satisfying all the requirements of the
school. The objective of software planning is to
provide a framework that enables the manager to
make reasonable estimates made within a limited
time frame at the beginning of the software
project and should be updated regularly as the
project progresses.
ANURAG RATREFERENCES
1, python.org
2. Code Academy
3. tutorialsPoint.com
4. PythonChallenge.com
5. Google's Python Class