Report
Report
Science
Investigatory project
Under The Guidance Of:
PRINCIPAL
1
ACKNOWLEDGEME
NT
It is with pleasure that I acknowledge my sincere
gratitude to our teacher
Mr. B. SRINIVASA RAO, who taught and under
took the responsibility of teaching the subject
Computer science, I have been greatly benefited
from his classes. My sincere thanks go to our
(Mrs. Krishna Karmakar) Principal who has always
been a source of encouragement and support
and without whose inspiration; this project would
not have been a successful. Finally, I would like
to express my sincere appreciation for all the
other students for my batch their friendship & the
fine times that we all shared together. Last but
not least, I would like to thank all those who had
helped directly or indirectly towards the
completion of this project.
2
INDEX
S.NO CONTENTS P.NO T.SIGN
1. Introduction 04
2. Analysis: - 06
1. Scope of Project
2. S/W requirement specification
3.H/W & S/W Requirements
3. System design: - 08
Flowchart
4. Steps involved 09
5. Packages used 10
6. Coding 11
7. Output (Screenshots) 27
8. Advantages & Disadvantages 31
9. Future Enhancement 31
10. Conclusion 32
11. Bibliography 32
3
INTRODUCTIO
N
The College Management System facilitates the users
to get the students registered with the college and get
admission. The aim of case study is to design and develop
a database maintaining the records of different students
and status.
This project contains Introduction to the College
management system. It is computerized system of student
registration. It is mainly used for renewal. Online
reservation has made the process for the registration of
students very much easier than ever before.
In our country India, there are number of colleges and
one can easily get admission. Then this project contains
entity relationship model diagram based on college
management system and introduction to relation model.
There is also design of the database of the student
registration based on relation model. Example of some
SQL queries to retrieves data from college management
database.
4
A BRIEF INTRODUCTION
ABOUT MODULES USED IN
PROJECT
Mysql.connector
Tabular: -
5
ANALYSIS
A) SCOPE OF PROJECT:
6
number and adds to the Mysql table for
registration.
2.view (): You can see the students registered
for different classes.
3.update (): To make modifications in your
registered student for example changing
student name, father name, class, stream
phone number.
4.remove (): incase transfer of the student we
can delete the student.
5.generate (): it generates fee slip and allows
to pay the fee.
6.fee(): it provides us to see the fee structure
for different streams.
2. Performance: The code performs very well
when there is proper RAM available, it also
requires internet connection to download the
necessary libraries, latest version of python 3 is
preferred, and there must be MYSQL database
software in the computer
7
3. External interface: In this project external
interaction required, as it needs input while
running all it quires.
B) REQUIREMENTS
HARDWARE REQUIRMENTS: -
Minimum requirements of 1 GB RAM.
SOFTWARE REQUIRMENTS: -
PYTHON 3.8 (works on any version of python 3)
MYSQL
OS: WINDOWS 10 or Above
SYSTEM DESIGN
Flow chart
MENU
10
Packages used
These are the following library functions
which are used in this program. The
uses of these functions are also given
below:
11
Coding
import mysql.connector as mq
def menu():
print("\t\t\t\t\t\t\t\t *************************\n\n")
print("\t\t\t\t\t\t\t\t\t =========\n")
print("\t\t\t\t\t\t 7.Exit\n\n")
def register():
print("\t\t\t------------------------\n ")
12
con = mq.connect(host= "localhost", user = "root",passwd="root",database="college")
cur = con.cursor()
cur.execute(query)
con.commit()
print("\n\nREGISTERD SUCCESSFULLY...")
con.close()
def view():
print("\t\t\t-----------------------------\n ")
print("\t\t1.Class 11")
print("\n\t\t2.Class 12")
x=int(input("Choose category:"))
cur = con.cursor()
if x==1:
cur.execute(query)
res= cur.fetchall()
if res==[]:
else:
print(tabulate(res,headers=['id','S_name','F_name','Class','Stream','Phno','Fees','Status'],tablefmt='g
rid'))
elif x==2:
cur.execute(query)
13
res= cur.fetchall()
if res==[]:
else:
print(tabulate(res,headers=['id','S_name','F_name','Class','Stream','Phno','Fees','Status'],tablefmt='g
rid'))
else:
con.close()
def update():
print("\t\t\t\t-------------------")
cur = con.cursor()
cur.execute(query)
res= cur.fetchall()
if res==[]:
else:
print("\n\t\t3.CLASS \t\t4.STREAM")
print("\n\t\t5.PHONE NUMBER")
if ch==1:
14
cur.execute(query)
con.commit()
elif ch==2:
cur.execute(query)
con.commit()
elif ch==3:
cur.execute(query)
con.commit()
elif ch==4:
cur.execute(query)
con.commit()
elif ch==5:
cur.execute(query)
con.commit()
else:
15
con.close()
def remove():
print("\n\t\t\tDELETE STUDENT")
print("\t\t\t--------------")
cur = con.cursor()
cur.execute(query)
res= cur.fetchall()
if res==[]:
print(tabulate(res,headers=['id','S_name','F_name','Class','Stream','Phno','Fees','Status'],tablefmt='g
rid'))
else:
print(tabulate(res))
if ch in ['y', 'Y']:
cur.execute(query)
con.commit()
else:
con.close()
def generate():
16
print("\n\t\t\tGENERATING FEE SLIP")
print("\t\t\t-------------------")
cur = con.cursor()
cur.execute(query)
res= cur.fetchall()
con.commit()
if res==[]:
else:
fee=0
cur.execute(query)
if res[0][4]==st:
if res[0][4]=="MPCC":
fee=fee+3150.0
if res[0][7]!= "Paid":
old_fee=res[0][6]
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
17
print("\t\t Total Fee Amount |",fee+old_fee,)
print("\t\t---------------------|----------")
else:
old_fee= 0
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
ch=input("\n\nPress Y to Pay the Fee now Any other key to Pay later..")
if ch in ['y','Y']:
cur = con.cursor()
cur.execute(query)
con.commit()
else:
cur = con.cursor()
cur.execute(query)
con.commit()
18
elif res[0][4]== "MBiPC":
fee=fee+3045.0
if res[0][7]!= "Paid":
old_fee=res[0][6]
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
else:
old_fee= 0
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
ch=input("\n\nPress Y to Pay the Fee now Any other key to Pay later..")
if ch in ['y','Y']:
cur = con.cursor()
19
cur.execute(query)
con.commit()
else:
cur = con.cursor()
cur.execute(query)
con.commit()
fee=fee+3000.0
if res[0][7]!= "Paid":
old_fee=res[0][6]
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
else:
old_fee= 0
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
20
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
ch=input("\n\nPress Y to Pay the Fee now Any other key to Pay later..")
if ch in ['y','Y']:
cur = con.cursor()
cur.execute(query)
con.commit()
else:
cur = con.cursor()
cur.execute(query)
con.commit()
elif res[0][4]=="ARTS":
fee=fee+2700.0
if res[0][7]!= "Paid":
old_fee=res[0][6]
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
21
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
else:
old_fee= 0
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
ch=input("\n\nPress Y to Pay the Fee now Any other key to Pay later..")
if ch in ['y','Y']:
cur = con.cursor()
cur.execute(query)
con.commit()
else:
cur = con.cursor()
22
cur.execute(query)
con.commit()
elif res[0][4]=="COMMERCE":
fee=fee+2700.0
if res[0][7]!= "Paid":
old_fee=res[0][6]
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
else:
old_fee= 0
print("\n\t\t\t\tFEE CHALLAN")
print("\t\t\t\t============")
print("\t\t | ")
print("\t\t---------------------|----------")
print("\t\t---------------------|----------")
ch=input("\n\nPress Y to Pay the Fee now Any other key to Pay later..")
23
if ch in ['y','Y']:
cur = con.cursor()
cur.execute(query)
con.commit()
else:
cur = con.cursor()
cur.execute(query)
con.commit()
else:
con.close()
def fee():
print("\t\t\t -----------")
print("\n\t\t 5.COMMERCE\n")
if ch==1:
print("\t\t****************************")
24
print("\t _______________________ _________________")
print("\t|\t\t\t|\t\t |")
print("\t|-----------------------|-----------------|")
print("\t|-----------------------|-----------------|")
print("\t|_______________________|_________________|")
elif ch==2:
print("\t\t****************************")
print("\t|\t\t\t|\t\t |")
print("\t|-----------------------|-----------------|")
print("\t|-----------------------|-----------------|")
print("\t|_______________________|_________________|")
elif ch==3:
25
print("\t\t*****************************")
print("\t|\t\t\t|\t\t |")
print("\t|-----------------------|-----------------|")
print("\t|-----------------------|-----------------|")
print("\t|_______________________|_________________|")
elif ch==4:
print("\t***************************************")
print("\t|\t\t\t|\t\t |")
print("\t|-----------------------|-----------------|")
print("\t|-----------------------|-----------------|")
print("\t|_______________________|_________________|")
elif ch==5:
26
print("\n\n\t Fee Details of COMMERCE Students")
print("\t ********************************")
print("\t|\t\t\t|\t\t |")
print("\t|-----------------------|-----------------|")
print("\t|-----------------------|-----------------|")
print("\t|_______________________|_________________|")
else:
while True:
menu()
if x==1:
register()
elif x==2:
view()
elif x==3:
generate()
elif x==4:
update()
elif x==5:
27
fee()
elif x==6:
remove()
elif x==7:
exit()
else:
if x!=0:
break
28
29
30
Advantages
1.) To act as an interface between the
data provider and the database.
2.) Quick access to the complex and vast
amount of data.
3.) To make the job of routine more
dependent on computer thus reducing
human errors.
4.) Allow an eco-friendly system, which will
save precious time and effort.
5.) Reduce the cases of wrong details as
the system has many checks
performed throughout the system.
6.) A systematic and tabular storage of
data.
7.) Students with facilities of instant
modification and cancellation of
registration.
8.) No need wait for months for
registration.
9.) Online payment makes it more easy
and fast for new customers.
Disadvantages
31
1) Real time Interaction of users and
authorities is not yet present.
2) This software supports only English
language.
3) The software works offline not over the
internet.
Future enhancement
1.We need to write further code to add
real time user-friendly chat support.
2.Make the code look more simplified.
3.Make the look more attractive and
understandable
Conclusion
This software is efficient in storing and
analysing college management
details.
This software also reduces the work
load of the
32
College staff, public and authorities.
Bibliography
SITES REFFERED
https://images.app.goo.gl/9d6qt8HLPx5QQxpi8
https://w3schools.com
https://Quora.com
33