Alumni Only 1st Page Printout
Alumni Only 1st Page Printout
PROJECT REPORT
ON
ALUMINI MANAGEMENT SYSTEM
FOR
AISSCE 2022 EXAMINATION
As a part of Informatics Practices Course (065)
SUBMITTED BY
Bangalore-560076
Page 1
Alumni Management system March 2022
CERTIFICATE
Signature of Principle
Name: …………………….
Place: JP Nagar
Date: ……………………
Page 2
Alumni Management system March 2022
Acknowledgement
I would like to express our special thanks
of gratitude to my teacher
Mr. Siva Prasad G,
who gave me the golden opportunity to do
this wonderful project of ALUMINI
MANAGEMENT.
Who also helped me in completing my
project. I came to know about so many things
I am really thankful to him.
Secondly I would also like to thank my
parents and friends who helped me a lot in
finalizing this project within the limited time
frame. I am also grateful to CBSE board for
challenging and giving us this project in
which we all were so engrossed.
Page 3
Alumni Management system March 2022
TABLE OF CONTENTS
Page 4
Alumni Management system March 2022
ABSTRACT
An alumni association is an association of graduates (alumni)
or, more broadly of former students. In the alumni of
universities, collages, schools, fraternities and sororities often
form group with alumni from the same organisation . These
association often organize social events publish news letter or
magazines raise funds for the organisation . Many provide a
variety of benefits and services that help alumni maintain
connection to their educational institution and fellow graduate .
Additionally, such group often support new alumni, and provide
a forum to form new friendships and business relationships
with people of similar background.
This project has a lot of scope for replacing existing system
where alumni data is stored in excel sheet which is time taking
process. But this application provides for each alumni and data is
stored in data base which will be maintained by professional. The
alumni information database is a web base application that can be
access throughout world. This system can be used as an application
for the alumni information database to manage collage information
and student information. In this management a teacher or student
can update, insert, or delete the information of the student.
Page 5
Alumni Management system March 2022
SYSTEM REQUIREMENTS
Hardware Components
1. VGA Monitor
2. Qwerty Keyboard
3. 2 GB RAM
4. 2.6 GHz processor
5. Graphics card
Software Components
1. Windows 7
2. Python 3.9 with suitable modules
3. MySQL Command Client
DATABASE DESIGN
Page 6
Alumni Management system March 2022
ADMIN TABLE
STAFF TABLE
STUDENT TABLE
Page 7
Alumni Management system March 2022
CODING
Introduction
#session : 2021-22
import mysql.connector
import time
def clear():
for _ in range(5):
print()
def introduction():
msg = '''
- An Introduction
Alumni are the most important part of any education system. Alumni database help us to recognise the
best brains educated by the institue and every big education system keep a record of them.
This project is also trying to solve this simple but very useful information of their alumni. The whole
database is store in MySQL table alumni that stores their current position as well as some other useful
Page 8
Alumni Management system March 2022
The whole project is divided into four major parts ie addition of data, modification, searching and
reporting. all these part are further divided into menus for easy navigation
for x in msg:
print(x, end='')
time.sleep(0.002)
def made_by():
Roll No : xyz
session : 2021-22
\n\n\n
'''
for x in msg:
print(x, end='')
time.sleep(0.002)
Page 9
Alumni Management system March 2022
ADD ALUMNI
def record_exists(name,fname,dob):
conn = mysql.connector.connect(
cursor = conn.cursor()
sql ='select * from student2 where name ="'+name +'" and father_name ="'+fname+'" and date_of_birth ="'+dob+'";'
cursor.execute(sql)
record = cursor.fetchone()
return record
def add_alumni():
conn = mysql.connector.connect(
cursor = conn.cursor()
clear()
Page 10
Alumni Management system March 2022
current_position,Date_of_birth,current_city,current_country,employeed_business) values(\
"'+name+'","'+father_name+'","'+phone_number+'","'+EMAIL_ID+'","'+stream+'","'+pass_year+'","'+highest_qualification+'","'+current_p
osition+'","'\
+date_of_birth+'","'+current_city+ '","'+current_country+'","'+employeed_business+'");'
result = record_exists(name,father_name,date_of_birth)
if result is None:
cursor.execute(sql)
else:
conn.commit()
MODIFY ALUMNI
def modify_alumni():
conn = mysql.connector.connect(
cursor = conn.cursor()
while True:
clear()
print('*'*100)
Page 11
Alumni Management system March 2022
print('12. Back to main Menu')
field_name =''
if choice ==1:
field_name='name'
if choice == 2:
field_name = 'father_name'
if choice == 3:
field_name ='date_of_birth'
if choice == 4:
field_name = 'phone_number'
if choice == 5:
field_name = 'EMAIL_ID'
if choice == 6:
field_name = 'stream'
if choice == 7:
field_name='pass_year'
if choice == 8:
field_name='highest_qualification'
if choice == 9:
field_name='current_position'
if choice == 10:
field_name = 'current_city'
if choice == 11:
field_name = 'current_country'
if choice == 12:
field_name='employeed_buisiness'
if choice == 13:
conn.commit()
break
clear()
Page 12
Alumni Management system March 2022
print('*'*100)
sql = 'update student2 set '+field_name +'="'+ value +'" where id = '+idr+';'
cursor.execute(sql)
conn.commit()
SEARCH ALUMNI
def search_menu():
conn = mysql.connector.connect(
cursor = conn.cursor()
while True:
clear()
print(' S E A R C H M E N U')
print('*'*100)
print('\n1. Name')
print('\n2. father_Name')
print('\n3. date_of_birth')
print('\n5. Email')
print('\n6. stream')
print('\n7. Qualification')
print('\n8. Position')
print('\n9. City')
print('\n10. Country')
print('\n11. employeed_buisiness')
print('\n\n')
Page 13
Alumni Management system March 2022
field_name=''
if choice == 1:
field_name ='name'
if choice == 2:
field_name ='father_name'
if choice == 3:
field_name ='date_of_birth'
if choice == 4:
field_name = 'phone_number'
if choice == 5:
field_name = 'date_of_Birth'
if choice == 6:
field_name = 'EMAIL_ID'
if choice == 7:
field_name = 'stream'
if choice == 8:
field_name = 'highest_qualification'
if choice == 9:
field_name = 'current_position'
if choice == 10:
field_name = 'current_city'
if choice == 11:
field_name = 'current_country'
if choice == 12:
field_name = 'employeed_business'
if choice == 13:
break
value = input(msg)
if field_name=='id':
Page 14
Alumni Management system March 2022
sql = 'select * from student2 where '+field_name + ' = '+value+';'
else:
#print(sql)
cursor.execute(sql)
records = cursor.fetchall()
n = len(records)
clear()
print('-'*120)
conn.commit()
REPORT ALUMNI
def report_alumni_list():
conn = mysql.connector.connect(
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('student2 List')
print('_'*140)
Page 15
Alumni Management system March 2022
'ID', 'Name', 'father_Name','Email','Phone','Position'))
print('_'*140)
print('_'*140)
conn.commit()
def year_wise_alumni():
conn = mysql.connector.connect(
cursor = conn.cursor()
sql = 'select * from student2 where pass_year like "%'+ year1 +'%";'
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('_'*130)
print('_'*130)
Page 16
Alumni Management system March 2022
conn.commit()
def alumni_email_list():
conn = mysql.connector.connect(
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[3], record[8]))
print('_'*130)
conn.commit()
ALUMNI PHONE NO
def alumni_phone_list():
conn = mysql.connector.connect(
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
Page 17
Alumni Management system March 2022
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format('ID', 'Name', 'father_Name', 'Email','Phone','Position'))
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[4],record[3] ,record[8]))
print('_'*130)
conn.commit ()
def city_wise_alumni_list():
conn = mysql.connector.connect(
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format('ID', 'Name', 'father_Name', 'Email', 'Position','City'))
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[3], record[8],record[10]))
print('_'*130)
conn.commit()
def country_wise_alumni_list():
conn = mysql.connector.connect(
Page 18
Alumni Management system March 2022
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format('ID', 'Name', 'father_Name', 'Email', 'Position','Country'))
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[3], record[8],record[11]))
print('_'*130)
conn.commit ()
def position_wise_alumni_list():
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format('ID', 'Name', 'father_Name', 'Email', 'Position','Country'))
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[3], record[8],record[11]))
print('_'*130)
Page 19
Alumni Management system March 2022
conn.close()
def education_wise_alumni_list():
cursor = conn.cursor()
cursor.execute(sql)
records = cursor.fetchall()
clear()
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format( 'Name', 'father_Name', 'Email', 'Education','Country'))
print('_'*130)
print('{:10s} {:30s} {:30s} {:15s} {:20s} {:20s} {:20s}'.format(record[0], record[1], record[2], record[3], record[7],record[11]))
print('_'*130)
conn.commit()
REPORT MENU
def report_menu():
while True:
clear()
print('A L U M N I R E P O R T M E N U ')
print('*'*120)
Page 20
Alumni Management system March 2022
print('\n6. Country Wise')
print('\n\n')
if choice == 1:
report_alumni_list()
if choice == 2:
year_wise_alumni()
if choice == 3:
alumni_email_list()
if choice == 4:
alumni_phone_list()
if choice == 5:
city_wise_alumni_list()
if choice == 6:
country_wise_alumni_list()
if choice == 7:
position_wise_alumni_list()
if choice == 8:
education_wise_alumni_list()
if choice == 9:
break
MAIN MENU
def main_menu():
clear()
#introduction()
while True:
clear()
Page 21
Alumni Management system March 2022
print(' A L U M N I I N F O R M A T I O N S Y S T E M')
print('*'*100)
print('\n\n')
if choice == 1:
add_alumni()
if choice == 2:
modify_alumni()
if choice ==3 :
search_menu()
if choice == 4:
report_menu()
if choice ==5:
break
made_by()
if __name__ == "__main__":
main_menu()
Page 22
Alumni Management system March 2022
OUTPUT
INTRODUCTION
Page 23
Alumni Management system March 2022
a. Correction In Name
Page 24
Alumni Management system March 2022
d.Correction In Phone No
e. Correction In Email Id
f. Correction In Stream
Page 25
Alumni Management system March 2022
Page 26
Alumni Management system March 2022
a. Name
Page 27
Alumni Management system March 2022
b. Father Name
c.Date of Birth
d. Phone Number
Page 28
Alumni Management system March 2022
e. Email Id
f. Stream
g. Qualification
h. Position
Page 29
Alumni Management system March 2022
i. City
j. Country
Page 30
Alumni Management system March 2022
k.Employed_ Business
4. CLOSE APPLICATION
Page 31
Alumni Management system March 2022
BIBLIOGRAPHY
IN THIS project we have used:
Python
Page 32
Alumni Management system March 2022
MYSQL Database
Microsoft Word
Page 33