Professional Documents
Culture Documents
Project Synopsis
Project Synopsis
1
SUBMITTED TO: - MR. YOGESH BAJAJ.
Synopsis
1- TOPIC-VACCINATION OF COVID-19
2- NAME (SUBMITTED BY)-KHWAB KISHOR
3- CLASS- XII- ‘A’
4- SUBJECT- COMPUTER SCIENCE CODE (083)
5- EXAM-AISSCE 2021-22 (CBSE)
6- SCHOOL NAME- K.V A. F. S SARSAWA,
SAHARANPUR,247001
7- SUBMITTED TO- MR. YOGESH BAJAJ
8- ACKNOWLEDGEMENT
9- PREFACE
10- TABLE OF CONTENTS
11- INTRODUCTION
12- CASE STUDY
13- DECLARATION
14- CERTIFICATE
15- WORKING DESCRIPTION
16- HARDWARE AND SOFTWARE SPECIFICATIONS:
OPERATING SYSTEM-WINDOWS 10 PYTHON
IDLE/ANACONDA/PYROID
17- DATA COLLECTION
18- HYPOTHESIS
19- WORK PLAN
20- UNDERSTANDING
21- USER FRIENDLY/MENU DRIVEN
22- DEMAND IN REAL WORLD
23- CONTENT OF SYLLABUS USED
2
24- FUTURE OF PROJECT
25- ANALYSIS
26- CREATIVITY
27- USE OF ART IN THIS PROJECT
28- PROJECT REPORT/CONCLUSION
29- PROGRAM/CODING
30- OUTPUT
31- DEBUGGING PROCESS
32- BIBLIOGRAPHY
3
ACKNOWLEDGEMENT
The success of any project is all about team -work which involves
participation, encouragement and guidelines of many others.
I also wish to thank my school teachers, family and friends for their
support while I was working on the project.
4
(Signature)
PREFACE
Python is a powerful, modern, high-level programming language. it is an
interpreted language whose execution runs line by line.
It takes less time to develop as python programs are typically 3-5 times
shorter than equivalent java programs. this is because of its built-in high-
level data types and its dynamic typing.
5
It is platform-independent and can run across different platforms like
Windows, Linux/Unix, Mac OS X and other operating systems.
python programs are clear, simple, concise and English-like instructions
that are easy to read and understand even by non-programmers or people
with no substantial programming background.
6
Table of contents
S.N TITLE PAGE
O NO.
1 ACKNOWLEDGEMENT 4
2 PREFACE 5
3 INTRODUCTION 9
4 CASE STUDY 10
5 DECLARATION 11
6 CERTIFICATE 12
7 WORKING DESCRIPTION 13
8 HARDWARE AND SOFTWARE SPECIFICATIONS: 20
OPERATING SYSTEM-WINDOWS 10 PYTHON
IDLE/ANACONDA/PYROID
9 DATA COLLECTION 21
10 HYPOTHESIS 21
11 WORK PLAN 22
12 UNDERSTANDING 23
13 USER FRIENDLY/MENU DRIVEN 24
14 DEMAND IN REAL WORLD 24
15 CONTENT OF SYLLABUS USED 25
16 FUTURE OF PROJECT 25
7
17 ANALYSIS 26
18 CREATIVITY 26
20 PROJECT REPORT/CONCLUSION 28
21 PROGRAM/CODING 29
22 OUTPUT 42
23 DEBUGGING PROCESS 56
24 BIBLIOGRAPHY 57
8
Introduction
This software is used to keep the records of the persons who want to get
Vaccinated. the main aspects covered in the proposed software Program
are –
personal details-person’s phone number, name, Aadhar card number and
email id (registration process).
9
CASE STUDY
This project is very useful in the present situation as it not only deals
with the anxiety of people but it also encourages others to get
vaccinated.
An awareness message is the highlight of this project because problem
comes in any system or anything when there is a lack of understanding
between people so trough this it will be created in a very beautiful
manner to attract the people and it’ s use is very much needed if we see
the tremendous population of India.
The major steps Includes the registration process, location of the person
to find the nearest center for vaccination, payment through any debit,
credit or UPI, greeting message and at last but not the least is the
awareness message.
People and even Doctors can use it easily due to it’ s user friendly nature
and due to this software, I think the vaccination would get increased and
a lot of people can get benefit from this.
10
Declaration
I, the undersigned Khwab Kishor student of class 12- ‘A’ here by
declare that the project work presented in this synopsis is my own work
and has been carried out under the supervision of Mr. Yogesh Bajaj of
This work has been a hard work of mine and my computer science
instructor who helped me a lot in intermixing and use of all the topics
which we learn.
11
Date: Student signature:
Place:
CERTIFICATE
SIGNATURE: …………………
12
DATE: …………………
Working description
i)EXISTING SYSTEM
(a) REGISTRATION: -
The people suppose wants to get Vaccinated then he/ she can download
this software easily after that, that person needs to get registered by
simply filling the mobile number which is currently that person is using,
let 98xxxxxxxx after that, that person will receive an OTP which he/ she
will fill then after this, that person will go to another window, where
some more details are required like full name, address, Aadhar card
number, age and so on if that person’s age would not be between or
under the prescribed age then software will stop and the person’s mobile
number will get vanished and need to apply with another number.
13
(b) LOCATION: -
After filling this that person needs to open google maps or any other
navigating app and connect with the vaccine software, just as it will
connect it will show the nearest Centers for vaccination near the house
of that person like Serum medical college, Dehradun.
(c)DOZES AVAILABILITY: -
14
Now in the new window there will be a choice system where a person
can choose a particular vaccine (like remdesivir) according to his/ her
earnings. but if the person is below poverty line (B.P.L) and has a B.P.L
card then that person will definitely get a reduced price like 90%
discount but that card is Clarified by the higher Officials once it was
received so in this case it may take some time because depending on the
work of the higher officials.
(e)UPDATION/DELETION/ADDITION OF DETAILS:
-
(f)PAYMENT: -
15
Now, after this in the new window payment options will be available if
we click on yes, that we are sure our application is correct.
in the payment window we can pay through debit, credit, online banking
and UPI.
16
(i)LOGIN: -
For the second dose as per the doctor’s advice we need to again login to
that vaccine software using the same credentials which are filled at the
time of registration but, if we will try to open it before the recommended
time it will show the message that please come back when your
recommended time will be over. person will get regularly in touch of the
information through notifications.
b) PROPOSED SYSTEM
17
c) METHODOLOGY/FLOW DIAGRAM
18
SYSTEM CONCEPT
19
HARDWARE AND SOFTWARE SPECIFICATIONS:
OPERATING SYSTEM-WINDOWS 10 PYTHON
IDLE/ANACONDA/PYROID
*HARDWARE-
*SOFTWARE-
20
DATA COLLECTION
I take the data from my computer science book whose name is Computer
science with python class 12 written by PREETI ARORA
And used some information from various websites and some data from
my computer science instructor.
HYPOTHESIS
This project is totally applicable and practical but in addition to this we
making a tie up with a particular company like: - Bharat bio tech and
21
Can provide easily and efficiently vaccine to other people who want to
get vaccinated and, in this Project, we can also use more My SQL
WORK PLAN
*OBJECTIVES: -
*STRATEGY: -
22
process of vaccination in the country and I wish that this project will
help in inspiring others to get vaccinated.
UNDERSTANDING
This is one of the major tasks which my software will do as if we are
doing a new thing like vaccination of covid-19 so, the first major step is
understanding that all the people would have the understanding that
what are the needs of vaccination? and what is the functioning of it? and
along with this that person would also Believe that the vaccine would
not harm that person but, destroy the growth of covid-19 and we will be
protected from the deadly covid-19 virus.
but, in case of heart patients and Diabetic persons must take of their
health and consult with their prescribed doctor about vaccination, if the
doctor would allow them then they can easily get vaccinated through this
software.
23
USER FRIENDLY / MENU
DRIVEN
It is user friendly as, it has very simple usage and application.
it can be easily used and operated.
from registration process to awareness message, it hardly takes 10-20
minutes to fill it and we can use it easily.
24
since the vaccine is available so, it is better to get vaccinated through
which the demand of this software is a lot in the real world. it has a lot
of application in the real world and trough this many people will get
benefit.
CONTENT OF SYLLABUS
USED
I used a lot of concepts in my software like- data file handling (text
file), use of csv files (comma separated values), looping Constructs,
my SQL connectivity with python etc.
Future of project
To develop this project further, it is suggested to add the following
modules-
more availability options in location, customers feedback about the
chosen vaccine brand, a consultant corner where a doctor’s presence is
there, to make it more Authentic we can use biometrics ETC…
25
ANALYSIS
In this project the following things have been developed-
CREATIVITY
In this project I have used a lot of creativity in this I have used the
pictures of the covid-19 virus in a cartoonish way so that everyone
would entertain it and enjoy it. I have used many types of fonts with
26
different colours to make it attractive and beautiful. I have used different
colours in index also.
I have provided the pictures of vaccine’s effect on covid-19 virus so, that
the fear among the people about the vaccine and their misconception
regarding the vaccine would be over and they understand it’s necessity
and benefits.
I have used tables and flow charts with different colours to make it
attractive and beautiful.
27
I have used various fonts and different colours also.
PROJECT
REPORT/CONCLUSION
Through this project everyone is able to deal with the vaccination
program and can easily apply for the vaccine and if the age of the person
is not under the range, as per the current availability of the vaccine for
that age group so, it will display that message that the person is not
eligible for vaccination.
And if anyone wants to retrieve all the data so, he/she can simply get the
data.
28
A message of awareness hopefully inspire others to also get vaccinated,
through this the vaccination program will boost up and helpful for all.
PROGRAM / CODING
#PROGRAM FOR THE VACCCNATION OF COVID-19
print("**********************************")
print("WELOME TO THIS VACCINATION PROGRAM ")
print("**********************************")
import mysql.connector
mydb=mysql.connector.connect(host="localhost",username="root",pass
wd="kk@123",database="Vaccine_camp")
mycursor=mydb.cursor()
ch="y"
while (ch=="y"):
choice=int(input("Enter your choice="))
if choice==1:
29
b=int(input("Please enter your age="))
if b>11:
print("You are eligible for vaccination")
elif b<=11:
print("You are not eligible for vaccination")
print("No vaccines available for your age i.e.,from 1 to 11 but it
will be soon available as per the Doctor's advice and referral from the
Government")
print("Please visit this again and again.")
print("Thanks for your visit !!!!")
print("*****************************************************
**********************************************************
*******************************")
anum="none"
sql="insert into data (name,age,aadhar_number) values(%s,%s,
%s)"
val=(a,b,anum)
mycursor.execute(sql,val)
30
mydb.commit()
break
s=['121313d','3243q3','5be455d','br6ydy7b6','bu6dr7b6','5yd5ui','wvt46s
b547','bd65nbs','4av4wvtaa','ta4v4e','vtse4v','y5evys','vyv5vy','et456g','r
w45he4','A3dSE3de','Sw21339z','A213Fast','YH3423F','QxZ12@','WEF
4as']
import random
OTP=random.choice(s)
print("Your otp for verification is=",OTP)
otp_verification=input("Enter the OTP received by you=")
if otp_verification==OTP:
print("Data addded successfully now you will be going to
main program ---------->")
break
31
else:
print("Wrong otp please try again")
break
import random
w=["9:00 am","9:30 am","10:00 am","10:30 am","11:00
am","11:30 am","12:00 pm","1:00 pm","1:30 pm","2:00 pm","2:30
pm","2:45 pm","3:00 pm"]
m=random.choice(w)
f=open("Myfile_vaccine.txt","r")
d=f.readlines()
import random
q=random.choice(d)
print("*****************************************************
***************************")
print("The day,date and month when you will be vaccinated is=",q)
print("*****************************************************
*********************")
print("The timing for vaccination will be=",m)
f.close()
32
sql="insert into data (name,age,aadhar_number) values(%s,%s,
%s)"
val=(a,b,aadhar_number)
mycursor.execute(sql,val)
mydb.commit()
print("*****************************************************
**********************************************************
**********************************************************
*******************************")
print("You are serving as a superohero by taking vaccine if we
want to get rid of this dangerous deadly COVID-19 virus than we have
to be vaccinated,following the government and specially the doctor's
advice")
print("We can beat it together")
print("Please inspire other's to also get vaccinated by telling them
it's needs and benefits...........")
print("Thank you for your visit!!!!")
print("Have a nice day")
print("*****************************************************
********************************************")
33
elif choice==2:
print("***************************************")
print("This option is for updation of data")
print("***************************************")
mycursor.execute("select * from data")
r=mycursor.fetchall()
for i in r:
print("The data before updation is=",i)
update=str.lower(input("Enter want you want to update="))
if update=="name":
b=int(input("Enter the age of the person whose age is to be
updated="))
if b<=11:
new_name=input("Enter new name(only some
correction)=")
sql="update data set name=%s where age=%s"
val=(new_name,b)
mycursor.execute(sql,val)
mydb.commit()
34
print("Updation is done")
elif b>11:
new_name=input("Enter name(only some correction)=")
adnum=input("Enter the aadhar number of the person
whose name is to be corrected or updated=")
sql="update data set name=%s where aadhar_number=
%s"
val=(new_name,adnum)
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
elif update=="age":
b=int(input("Enter the age of the person whose age is to be
updated="))
if b<=11:
new_age=int(input("Enter new age="))
y=input("Enter name of the person whose age is to be
updated=")
sql="update data set age=%s where name=%s"
val=(new_age,y)
35
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
elif b>11:
new_age=int(input("Enter new age="))
adnum=input("Enter the aadhar number of the person
whose age is to be corrected or updated=")
sql="update data set age=%s where aadhar_number=%s"
val=(new_age,adnum)
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
elif update=="aadhar_number":
new_aadhar_number=input("Enter your new
aadhar_number=")
c=input("Enter the name of the person whose aadhar_number
is to be corrected or updated=")
sql="update data set aadhar_number=%s where name=%s"
val=(new_aadhar_number,c)
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
36
elif update=="status_of_vaccination":
b=int(input("Enter the age of the person whose status of
vaccination is to be updated="))
if b>11:
num=input("Enter the 12 digit aadhar number whose status
of vaccination is to be updated=")
x=input("Enter the updated status=")
sql="update data set Status_of_vaccination =%s where
aadhar_number=%s"
val=(x,num)
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
else:
x=input("Enter the updated status=")
sql="update data set Status_of_vaccination =%s where
age=%s"
val=(x,b)
mycursor.execute(sql,val)
mydb.commit()
print("Updation is done")
37
else:
print("This field is invalid please retry!")
break
print("*****************************************************
***************")
for i in update_table:
print(i)
print("*****************************************************
***************")
elif choice==3:
print("*******************************************")
print("This option is for displaying of data")
print("*******************************************")
38
mycursor.execute("select * from data")
myresult=mycursor.fetchall()
for i in myresult:
print(i,'\t')
elif choice==4:
print("*******************************************")
print("This option is for deleting the data")
print("*******************************************")
for i in r:
print("The data before deletion is=",i,'\t')
print("*******************************************")
print("*******************************************")
39
b=int(input("Enter age of the person whose data is to be
deleted="))
if b>11:
num=input("Enter the aadhar number whose data is to be
deleted=")
sql="delete from data where aadhar_number=%s"
val=([num])
mycursor.execute(sql,val)
mydb.commit()
else:
n=input("Enter the name of the person whose data is to be
deleted=")
sql="delete from data where name=%s"
val=([n])
mycursor.execute(sql,val)
mydb.commit()
for m in r:
40
print("The data after deletion is=",m)
print("*******************************************")
print("*******************************************")
else:
print("*************************************************")
print("Sorry wrong input try again...........")
print("*************************************************")
ch=str.lower(input("Do you want to enter more data?="))
41
OUTPUT
1-Entering data:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=1
This option is for entering data
Please enter your name=Hamid
Please enter your age=78
You are eligible for vaccination
Enter your 12 digit Aadar card number=566778899043
Your otp for verification is= ta4v4e
Enter the OTP received by you=ta4v4e
Data addded successfully now you will be going to main program
---------->
**********************************************************
**********************
The day,date and month when you will be vaccinated is=
[February,Thursday,17],
**********************************************************
****************
The timing for vaccination will be= 9:00 am
**********************************************************
**********************************************************
**********************************************************
**************************
42
You are serving as a superohero by taking vaccine if we want to get rid
of this dangerous deadly COVID-19 virus than we have to be
vaccinated,following the government and specially the doctor's advice
We can beat it together
Please inspire other's to also get vaccinated by telling them it's needs and
benefits...........
Thank you for your visit!!!!
Have a nice day
**********************************************************
***************************************
Do you want to enter more data?=y
Enter your choice=1
This option is for entering data
Please enter your name=Jasmit
Please enter your age=9
You are not eligible for vaccination
No vaccines available for your age i.e.,from 1 to 11 but it will be soon
available as per the Doctor's advice and referral from the Government
Please visit this again and again.
Thanks for your visit!!!!
Enter your choice=1
This option is for entering data
Please enter your name=Lucky
Please enter your age=37
You are eligible for vaccination
Enter your 12 digit Aadhar card number=2345335980
Sorry the aadhar card number is not correct
2-UPDATION:-
43
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=2
***************************************
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 17, '998798904567', 'You are
not eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 9, 'none', 'YOU ARE ELIGIBLE
FOE VACCINATION')
Enter want you want to update=Name
Enter the age of the person whose age is to be updated=9
Enter new name(only some correction)=Amrit
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 17, '998798904567', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amrit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
**********************************************************
**********
Do you want to enter more data?=y
Enter your choice=2
***************************************
This option is for updation of data
***************************************
44
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 17, '998798904567', 'You are
not eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amrit', 9, 'none', 'YOU ARE ELIGIBLE
FOE VACCINATION')
Enter want you want to update=Name
Enter the age of the person whose age is to be updated=17
Enter name(only some correction)=Deepa
Enter the aadhar number of the person whose name is to be corrected or
updated=998798904567
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepa', 17, '998798904567', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amrit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
**********************************************************
**********
Do you want to enter more data?=n
ii)UPDATING AGE:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=2
45
***************************************
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 14, '235467434578', 'You are
not eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 9, 'none', 'YOU ARE ELIGIBLE
FOE VACCINATION')
Enter want you want to update=AGE
Enter the age of the person whose age is to be updated=14
Enter new age=17
Enter the aadhar number of the person whose age is to be corrected or
updated=235467434578
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 17, '235467434578', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
**********************************************************
**********
Do you want to enter more data?=n
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=2
***************************************
46
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 14, '235467434578', 'You are
not eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 8, 'none', 'YOU ARE ELIGIBLE
FOE VACCINATION')
Enter want you want to update=AGE
Enter the age of the person whose age is to be updated=8
Enter new age=9
Enter name of the person whose age is to be updated=Amit
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 14, '235467434578', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
**********************************************************
**********
47
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 17, '235467434578', 'You are
not eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 9, 'none', 'YOU ARE ELIGIBLE
FOE VACCINATION')
Enter want you want to update=AAdhar_NUMber
Enter your new aadhar_number=998798904567
Enter the name of the person whose aadhar_number is to be corrected or
updated=Deepak
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 17, '998798904567', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
**********************************************************
**********
Do you want to enter more data?=n
iv)UPDATING STATUS OF
VACCINATION:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
48
Enter your choice=2
***************************************
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 14, '235467434578', 'You are
not eligible for vaccination')
The data before updation is= ('Gagan', 11, '679870456734', 'You are not
eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data before updation is= ('Gagan', 11, 'none', 'You are not eligible
for vaccination')
Enter want you want to update=Status_of_vaccination
Enter the age of the person whose status of vaccination is to be
updated=8
Enter the updated status=YOU ARE ELIGIBLE FOE VACCINATION
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 14, '235467434578', 'You are not eligible for vaccination')
('Gagan', 11, '679870456734', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 8, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
('Gagan', 11, 'none', 'You are not eligible for vaccination')
**********************************************************
**********
Do you want to enter more data?=n
49
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=2
***************************************
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepa', 17, '998798904567', 'You are not
eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amrit', 9, 'none', 'You are not eligible for
vaccination')
Enter want you want to update=STATUS_OF_VACCINATION
Enter the age of the person whose status of vaccination is to be
updated=17
Enter the 12 digit aadhar number whose status of vaccination is to be
updated=998798904567
Enter the updated status=You are eligible for vaccination
Updation is done
The updated table is=
**********************************************************
**********
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepa', 17, '998798904567', 'You are eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amrit', 9, 'none', 'You are not eligible for vaccination')
**********************************************************
**********
Do you want to enter more data?=N
50
V)UPDATING A FIELD WHICH IS NOT
PRESENT IN OUR TABLE DATA:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=2
***************************************
This option is for updation of data
***************************************
The data before updation is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before updation is= ('Deepak', 14, '235467434578', 'You are
not eligible for vaccination')
The data before updation is= ('Gagan', 11, '679870456734', 'You are not
eligible for vaccination')
The data before updation is= ('Manish', 7, 'none', 'You are not eligible
for vaccination')
The data before updation is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data before updation is= ('Gagan', 11, 'none', 'You are not eligible
for vaccination')
Enter want you want to update=address
This field is invalid please retry!
3-DELETION:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=4
*******************************************
51
This option is for deleting the data
*******************************************
The data before deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data before deletion is= ('Pratiyush', 11, '679870456734', 'You are
not eligible for vaccination')
The data before deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Govind', 29, '234589765590', None)
The data before deletion is= ('Raman', 11, 'none', 'You are not eligible
for vaccination')
The data before deletion is= ('Naman', 10, 'none', 'You are not eligible
for vaccination')
The data before deletion is= ('Hamid', 78, '566778899043', None)
*******************************************
*******************************************
Enter age of the person whose data is to be updated=78
Enter the aadhar number whose data is to be deleted=566778899043
The data after deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data after deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data after deletion is= ('Pratiyush', 11, '679870456734', 'You are not
eligible for vaccination')
The data after deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Govind', 29, '234589765590', None)
The data after deletion is= ('Raman', 11, 'none', 'You are not eligible for
vaccination')
52
The data after deletion is= ('Naman', 10, 'none', 'You are not eligible for
vaccination')
*******************************************
*******************************************
Do you want to enter more data?=y
Enter your choice=4
*******************************************
This option is for deleting the data
*******************************************
The data before deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data before deletion is= ('Pratiyush', 11, '679870456734', 'You are
not eligible for vaccination')
The data before deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Govind', 29, '234589765590', None)
The data before deletion is= ('Raman', 11, 'none', 'You are not eligible
for vaccination')
The data before deletion is= ('Naman', 10, 'none', 'You are not eligible
for vaccination')
*******************************************
*******************************************
Enter age of the person whose data is to be updated=30
Enter the aadhar number whose data is to be deleted=234589765590
The data after deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data after deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data after deletion is= ('Pratiyush', 11, '679870456734', 'You are not
eligible for vaccination')
53
The data after deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Raman', 11, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Naman', 10, 'none', 'You are not eligible for
vaccination')
*******************************************
*******************************************
Do you want to enter more data?=y
Enter your choice=4
*******************************************
This option is for deleting the data
*******************************************
The data before deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
The data before deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data before deletion is= ('Pratiyush', 11, '679870456734', 'You are
not eligible for vaccination')
The data before deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data before deletion is= ('Raman', 11, 'none', 'You are not eligible
for vaccination')
The data before deletion is= ('Naman', 10, 'none', 'You are not eligible
for vaccination')
*******************************************
*******************************************
Enter age of the person whose data is to be updated=10
Enter the name of the person whose data is to be deleted=Naman
The data after deletion is= ('Khwab', 17, '908656745789', 'You are
eligible for vaccination')
54
The data after deletion is= ('Deepak', 11, '235467434578', 'You are not
eligible for vaccination')
The data after deletion is= ('Pratiyush', 11, '679870456734', 'You are not
eligible for vaccination')
The data after deletion is= ('Manish', 7, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Amit', 8, 'none', 'You are not eligible for
vaccination')
The data after deletion is= ('Raman', 11, 'none', 'You are not eligible for
vaccination')
*******************************************
*******************************************
Do you want to enter more data?=n
4-TRVERSAL:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=3
*******************************************
This option is for displaying of data
*******************************************
('Khwab', 17, '908656745789', 'You are eligible for vaccination')
('Deepak', 11, '235467434578', 'You are not eligible for vaccination')
('Pratiyush', 11, '679870456734', 'You are not eligible for vaccination')
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 8, 'none', 'You are not eligible for vaccination')
('Govind', 29, '234589765590', None)
('Raman', 11, 'none', 'You are not eligible for vaccination')
('Naman', 10, 'none', 'You are not eligible for vaccination')
Thank you for your visit!!!!!!
55
*******************************************
Do you want to enter more data?=n
DEBUGGING PROCESS
In this project through debugging I have rectified my problems in the
code like:- sometimes I have to deal with the issue of data type i.e.,
integer, string etc.; and also of the python’s connectivity with mysql but
I have corrected them through this debugging process.
56
I had also used debugging process in this code because it is very crucial
Part of any program . I had faced the first problem in changing the size
of my variable named “Aadhar card” as first I used it as integer but it
was giving error so, I have changed it to character type in order to get
the aadhar number of any person and it was rectified.
Secondly, I had faced the problem of connectivity in which I am facing
the issue regarding the update command in mysql but it ran after some
corrections.
I also faced the problem with text file which I don’t know but when I am
doing the process of debugging I came to know how to rectify it.
BIBLIOGRAPHY
WEBSITES:-
www.geeksforgeeks.org
www.computerscience.org
www.W3Schools.com
www.programiz.com
BOOKS:-
Computer science with python class 12 (Preeti Arora)
Computer science with python class 12 (Sumita Arora)
57
***
58