Download as pdf or txt
Download as pdf or txt
You are on page 1of 60

PROJECT SYNOPSIS

TOPIC: -

NAME (SUBMITTED BY): - P R E M S H A N K A R

UPADHYAY

CLASS: - X I I " A "

SUBJECT: - COMPUTER SCIENCE CODE-083

EXAM- C B S E 2022-23

SCHOOL NAME: - KV DAMOH


1
SUBMITTED TO: - MR. K A M L E S H R A J A K

Synopsis
TOPIC-VACCINATION OF COVID-19
1- NAME (SUBMITTED BY)- PREM UPADHYAY
SHANKAR
2- CLASS- XII- ‘A’
3- SUBJECT- COMPUTER SCIENCE CODE (083)
4- EXAM- (CBSE)
5-
6- SCHOOL NAME- K.V. DAMOH

7- SUBMITTED TO- MR. K A M L E S H


8- R A J A K 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

2
23- CONTENT OF SYLLABUS USED
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 take this opportunity to express my Gratitude to our dynamic


principal Mrs. Kavita Bijarniya for her constant encouragement to
work hard to successfully complete our projects and assignments.

My sincere thanks to my computer science teacher Mr. Yogesh


Bajaj, who guided me in solving problems encountered, every time
corrected me when I was wrong, I learn a lot from him and he
critically reviewed my project to make it a success.

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.

Python is a free and open-source software which anyone can


download from the website www.python.org, even it is easier to
understand and apply than other complicated languages like C++

It was developed by Guido van Rossum in the late 1980s, in the


Netherlands as the successor to ABC programming language.
it is Dynamically typed and has a large and standard library.

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.

It supports GUI (graphical user interface) and garbage collection


(better memory management). it is easily compatible with other
Languages like: C++, core java etc.

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.NO TITLE PAGE
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

7
14 DEMAND IN REAL WORLD 24
15 CONTENT OF SYLLABUS USED 25

16 FUTURE OF PROJECT 25
17 ANALYSIS 26

18 CREATIVITY 26

19 USE OF ART IN THIS PROJECT 27

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).

Address- to locate the nearest Centre for vaccination


(identification).

number of doses available (availability).

Brand of vaccine like: - Covishield, which a person chooses as per


his/her interest and earning.

At last, a Greeting message and a certificate will be provided.

9
the main objective of this software is to provide vaccine to a lot of
people who find it difficult to register themselves in various
websites but not only them but to all people and to defeat this
deadly covid-19 virus from our lives, it will also show details about
vaccine which will provide Awareness in the society.

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

10
nature and due to this software, I think the vaccination would get
increased and a lot of people can get benefit from this.

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 Kendriya Vidyalaya Air Force Station Sarsawa,

Saharanpur.

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

THIS IS TO CERTIFY THAT KHWAB KISHOR OF CLASS XII- ‘A’


SUCCESSFULLY COMPLETED HIS COMPUTER SCIENCE
PROJECT ON ‘VACCINATION OF COVID-19’ UNDER THE ABLE
GUIDANCE OF

MR. YOGESH BAJAJ


P.G.T. (COMPUTER SCIENCE)

12
SIGNATURE: …………………

DATE: …………………

Working description
i)EXISTING SYSTEM

-> OUTLINE OF THE MAIN MENU OUTPUT

(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

13
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.

(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, after this a new window containing information regarding
the availability of first or second doze will be shown. if dozes are
available than a new window will appear.

(d)SELECTION OF BRAND OF VACCINE: -

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: -

15
Now, after selection of brand of vaccine a message will appear in
which it will ask for are you sure to confirm your application?
if we will think there can be a mistake may be then we can easily
tick (x) and can update, delete or add any new data.

(f)PAYMENT: -

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.

(g) GREETING MESSAGE: -

After the payment was done successfully a message will be

16
displayed i.e., “you are a covid-19 warrior, inspire others to also
get vaccinated as if India would be fully vaccinated then we can
triumph over this deadly covid-19 virus from our lives”.
then a certificate will also be given to inspire others also to get
vaccinated.

h) AWARESS MESSAGE ABOUT BENEFITS OF


VACCINE AND IT’S USEFULNESS: -

At last, an awareness message will be displayed which is telling


about the functioning of vaccine and it’ s usefulness.

(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.

17
b) PROPOSED SYSTEM

The proposed system aims to Maximize the vaccination Program


by reducing the pressure on other websites with the use of python
and my SQL.
the main problem which many people are facing is the awareness
and Belief on our doctors so, through this I have made a text file
through python which will contain various Information on vaccine.

c) METHODOLOGY/FLOW DIAGRAM

18
SYSTEM CONCEPT

d) SYSTEM CONCEPT DEVELOPMENT PHASE

19
Based on system development life cycle: -

HARDWARE AND SOFTWARE SPECIFICATIONS:


OPERATING SYSTEM-WINDOWS 10 PYTHON

20
IDLE/ANACONDA/PYROID

*HARDWARE-

RAM-4GB or more, CPU- intel core i3 or above / AMD Ryzen 3 or


above.

*SOFTWARE-

Windows 7 or above operating system, python 3.x, my SQL.


The following libraries have been added in the python 3.x
Installation-
MySQL. connector (for python-My SQL connectivity)

21
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 can be more dynamic by making it more attractive and

efficient in terms of money by registering our software with

Government of India or making a tie up with a particular company

like: - Bharat bio tech and

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 commands and more use of csv files and binary files.

22
WORK PLAN
*OBJECTIVES: -

The main objectives of this software are: -


1) to boost up the vaccination in India.
2) to aware the citizens about vaccine.

*STRATEGY: -

The strategy behind my software is inspired from the covid-19


warriors and the people who are battling with covid -19 and I am
seeing the slow process of vaccination in the country and I wish
that this project will help in inspiring others to get vaccinated.

23
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.

24
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.

DEMAND IN REAL WORLD

As we all know in the modern-day life that we all are living in the
situation which is full of danger and what will happen is uncertain
so, if we can prevent it than it is the best thing as we all know that
“Prevention is better than cure”.
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.

25
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…

26
ANALYSIS
In this project the following things have been developed-

admin- to login again for second doze of vaccine.


user friendly- as it is easy to use.
awareness message- to aware people.
greeting message- to inspire other

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 different colours to make it attractive and beautiful. I have
used different colours in index also.

27
Use of art in this project

Without the use of art nothing is possible in this project. There is


a great importance of art in our lives also as, we can see
everything has symmetry in this world and all the colours we feels
and observes.

I have provided the image of Python’s developer i.e., GUIDO VAN


ROSSUM, as through his picture we will be inspired and motivated
also and it makes our project beautiful and attractive.

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.

I have used various fonts and different colours also.

28
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.

If a person wants to update the record like: - age, some correction


in name or in Aadhar card number so, it will be very easy for
him/her to update that record.

And if anyone wants to retrieve all the data so, he/she can simply
get the data.

After overcoming to the overall code anyone would easily


understand the relation between a database and python and how
to deal with the various situations.
A message of awareness hopefully inspire others to also get

29
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
",passwd="kk@123",database="Vaccine_camp")
mycursor=mydb.cursor()

ch="y"
while (ch=="y"):
choice=int(input("Enter your choice="))
if choice==1:

print("This option is for entering data")


a=input("Please enter your name=")

30
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)

31
mydb.commit()
break

aadhar_number=input("Enter your 12 digit Aadar card


number=")
l=len(aadhar_number)
if l<12:
print("Sorry the aadhar card number is not correct")
break
else:
pass
for i in range(0,4):

s=['121313d','3243q3','5be455d','br6ydy7b6','bu6dr7b6','5yd5ui','wv
t46sb547','bd65nbs','4av4wvtaa','ta4v4e','vtse4v','y5evys','vyv5vy','e
t456g','rw45he4','A3dSE3de','Sw21339z','A213Fast','YH3423F','QxZ
12@','WEF4as']
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

32
main program ---------->")
break
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)

33
print("*************************************************************
*************")
print("The timing for vaccination will be=",m)
f.close()

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...........")

34
print("Thank you for your visit!!!!")
print("Have a nice day")

print("*************************************************************
************************************")

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="))

35
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()
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":

36
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)
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")

37
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")
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()

38
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")

else:
print("This field is invalid please retry!")
break

mycursor.execute("Select * from data")


update_table=mycursor.fetchall()
print("The updated table is=")

39
print("*************************************************************
*******")
for i in update_table:
print(i)

print("*************************************************************
*******")

elif choice==3:
print("*******************************************")
print("This option is for displaying of data")
print("*******************************************")

mycursor.execute("select * from data")


myresult=mycursor.fetchall()

for i in myresult:
print(i,'\t')

print("Thank you for your visit!!!!!!")


print("*******************************************")

40
elif choice==4:
print("*******************************************")
print("This option is for deleting the data")
print("*******************************************")

mycursor.execute("select * from data")


r=mycursor.fetchall()

for i in r:
print("The data before deletion is=",i,'\t')
print("*******************************************")
print("*******************************************")

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)

41
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()

mycursor.execute("select * from data")


r=mycursor.fetchall()

for m in r:
print("The data after deletion is=",m)
print("*******************************************")
print("*******************************************")

else:
print("*************************************************")

42
print("Sorry wrong input try again...........")
print("*************************************************")
ch=str.lower(input("Do you want to enter more data?="))

OUTPUT

1-Entering data:-
**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=1
This option is for entering data

43
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
********************************************************************
********************************************************************
****************************************************************
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

44
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:-

i)UPDATING NAME (ONLY SOME


CORRECTION):-

**********************************
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

45
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
***************************************
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=

46
********************************************************************
('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
***************************************
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

47
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
***************************************
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')

48
('Manish', 7, 'none', 'You are not eligible for vaccination')
('Amit', 9, 'none', 'YOU ARE ELIGIBLE FOE VACCINATION')
********************************************************************

iii) UPDATING AADHAR NUMBER:-

**********************************
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, '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')

49
********************************************************************
Do you want to enter more data?=n

iv)UPDATING STATUS OF
VACCINATION:-
**********************************
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=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=
********************************************************************

50
('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

**********************************
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=

51
********************************************************************
('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

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!

52
3-DELETION:-

**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
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')
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

53
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')
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')

54
*******************************************
*******************************************
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')
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')

55
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')
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
**********************************

56
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!!!!!!
*******************************************
Do you want to enter more data?=n

5-OUR CHOICE WILL BE >=5 i.e. ; IT WILL


NOT RUN:-

**********************************
WELOME TO THIS VACCINATION PROGRAM
**********************************
Enter your choice=5
*************************************************
Sorry wrong input try again...........
*************************************************
Do you want to enter more data?=n

DEBUGGING PROCESS
57
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.

As on completing any code we need the process of debugging a


lot because if we are writing that code for a company or for any
purpose so, for that it should gives the output easily without any
problem and it can only be possible with the debugging process.

In the debugging process we are actually identifying a particular


error in our program and we will try to rectify it or we will rewrite
the code again so that it should work smoothly and effectively.

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.

So, Debugging is a process which is very essential before giving


the final code to anybody as it takes the errors and we can easily
rectify them and get the desired output.

58
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)

59
***

60

You might also like