0% found this document useful (0 votes)
254 views21 pages

Covid Vaccination Record Computer Science Project File Class 12 Cbse

Uploaded by

larinyllalyngdoh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
254 views21 pages

Covid Vaccination Record Computer Science Project File Class 12 Cbse

Uploaded by

larinyllalyngdoh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

PROJECT REPORT

on

COVID
VACCINATION
RECORD

Under the Supervision of:- Submitted By:-

Mr.

K.V.
CERTIFICATE

This is to certify that ------ of class XII SCIENCE had initiated the computer science project
entitled “COVID VACCINATION RECORD” with his/her group members under my guidance
and has been developing it with satisfactory progress.

The progress of the project has been continuously reported and has been in my knowledge
consistently.

Mr.
ACKNOWLEDGEMENT

“To explore the dimensions of

greatness, And believe that the world

can be won;

I requires a mind filly committed,

That knows the task can be

DONE”.

This is an opportunity for us to convey our gratitude and immeasurable gratefulness to those who
helped in initiating this project that is still under development phase. I register my heartfelt and
deep sense of gratitude to my guide for suggesting the planned approach for this project work.

I express our heartfelt thanks to my parents for all their affection, well wishes and
encouragement in all spheres of my life.

I extend my heartfelt thanks to all the persons who have been helping me directly or indirectly in
my project work towards its completion. Finally, I acknowledge my following group members
for their assistance, suggestions, cooperation, and playing significant role during this ongoing
project:

1.
COVID
VACCINATION
RECORD
TABLE OF CONTENTS
 PREFACE
 INTRODUCTION TO PROJECT
 OBJECTIVE OF THE PROJECT
 SCOPE OF THE PROJECT
 INPUT/OUTPUT REQUIREMENT
 HARDWARE AND SOFTWARE REQUIREMENT
 SYSTEM DESIGN
 CODE/PROGRAM
 OUTPUT SCREENSHOTS
 REFERENCES
PREFACE
As last year COVID-19 vaccination program had been started so to keep all records safe this
system/program helps in recording the records of covid vaccination programs in a every
particular society or colony and to keep data safe in database, using python and mysql

Main purpose of this system is to play a better role in covid vaccination Program

This system records all the data related to covid vaccine (dose-1 or dose-2),new members and all
vaccinated and non-vaccinated people of a region. Using details like
✓ Aadhar Number
✓ Address

✓ Age

✓ Email I’d
✓ Contact Number
✓ Name of vaccine and dose records
INTRODUCTION TO PROJECT
The “COVID VACCINATION RECORD” has been developed to override the problems
prevailing in the practicing manual system. This software is supported to eliminate and in some
cases reduce the hardships faced by this existing system. Moreover this system is designed for
the particular need of the company to carry out operations in a smooth and effective manner. The
application is reduced as much as possible to avoid errors while entering the data. It also
provides error message while entering invalid data. No formal knowledge is needed for the user
to use this system. Thus by this all it proves it is user-friendly.
OBJECTIVE OF THE PROJECT
The main objective of the Project on COVID VACCINATION RECORD is to manage
the details of Members, Vaccination, Vaccination Record, Users.. It manages all the information
about Vaccination Record. The project is totally built at administrative end and thus only the
Administrator is guaranteed the access. The purpose of the project is to build an application
Program to reduce the manual work for managing the Vaccination completed in an area. It
Tracks all the details about the Members, Users, Vaccination Records. Functionalities provided
by COVID Vaccination Record are as follows:
❖ Provides the searching facilities based on various factors. Such as Society Members,
Vaccination name, Doses, Who are Vaccinated and who are not Vaccinated,
❖ COVID VACCINATION RECORD also manage the Vaccination details online for
Society Members, Vaccination.
❖ It tracks all the information of Vaccination.
❖ Manage the information of Society Members.
❖ Shows the information and description of the Members.
❖ To increase efficiency of managing the Vaccination Records.
❖ It deals with monitoring the information of
Members
Details(name,aadharno.,address,age,email,phone)
❖ Manage the information of Vaccination i.e. Vaccinated or not Vaccinated
❖ Editing, adding and updating of Records is improved which results in proper
resource management of Vaccination data.
❖ Manage the information of Society Members and Vaccination name (covaxin, covishield etc.)
SCOPE OF THE PROJECT
Scope of the project COVID VACCINATION RECORD. It may help collecting perfect
management in Details. In a very short time, the collection will be obvious, simple and sensible.
It will help a Person to know the management of passed year perfectly and vividly. It also helps
in current all Works relative to Vaccination Process. It will be also reduced the cost of collecting
the Management & collection procedure will go on smoothly. Our project aims at fast
Vaccination at short time very simply.
HARDWARE AND SOFTWARE REQUIREMENT

HARDWARE REQUIREMENT:
a) MINIMUM 1GB RAM
b) MINIMUM 40 GB HARD DISK
c) PROCESSOR( PENTIUM 4 or ABOVE)

SOFTWARE REQUIREMENT:
a) PYTHON 3.7
b) MY SQL
c) MYSQL CONNECTOR

OPERATING SYSTEM:
a) WINDOWS 8.0
b) WINDOWS 10
CODE/PROGRAM
import mysql.connector

db1 = None

def connect():

global db1

db1=mysql.connector.connect(host=”localhost”,user=”root”,

password=”123”,database = “Covid_Vac”,charset=”utf8”)

def showusers():

c1 = db1.cursor()

c1.execute(“select * from

users”) res = c1.fetchall()

#print(res)

print(“List of

Users”) for val in

res:

print(“UserName = “+val[0] + “ Password = “ +

val[1]”) def login():

print(“-“ * 50)

print(“\t COVID VACCINATION RECORD”)

print(“-“ * 50)

print(“\t LOGIN”)

un = input(“Enter User Name : “)

pw = input(“Enter Password : “)

q= “select * from users where UserName = %s and Password =

%s”
val = (un,pw)

c2 = db1.cursor()

c2.execute(q,val)

res =

c2.fetchall()

print(“-“ * 50)

if len(res) == 0:

print(“Invalid User Name or Password

“) print(“-“ * 50)

return False

else:

print(“Access Granted

!!!”) print(“-“ * 50)

return True

def addmember():

ad = input(“Enter Aadhar card no. : “)

name = input(“Enter Member Name : “)

addr = input(“Enter Address : “)

phone = input(“Enter Phone Number : “)

email = input(“Enter Email :”)

age = input(“Enter Age of member : “)

cursor1 = db1.cursor()

q = “insert into member values (%s,%s,%s,%s,%s,

%s)” val = (ad,name,addr,phone,email,age)

cursor1.execute(q,val)
db1.commit()

print(“Member Added

Successfully”) def showmembers():

c1 = db1.cursor()

c1.execute(“select * from

member”) res = c1.fetchall()

#print(res)

print(“List of Members

“) for val in res:

print(“Name = “+val[1] + “ Aadhar Card= “ +

val[0]) def addvaccination():

ad = input(“Enter Aadhar card no. : “)

name = input(“Enter Vaccination Name : “)

d = input(“Enter 1 for Dose 1 , 2 for Dose 2 :

“) dt = input(“Enter the date of Vaccination :

“)

c2 =

db1.cursor() if d ==

“1”:

q = “insert into vaccination values(%s,%s,

%s,NULL)” val = (ad,name,dt)

c2.execute(q,val)

db1.commit()

print(“Vaccination Record Added

Successfully”) elif d == “2”:

q = “update vaccination set dose2=%s where aadharno=%s”


val =(dt,ad)

v2.execute(q,val)

db1.commit()

print(“Vaccination Record Updated

Successfully”) else:

print(“Invalid Input, please try again”)

def showvaccin():

c1 = db1.cursor()

c1.execute(“select * from vaccination,member

where vaccination.aadharno=member.aadharno”)

res =

c1.fetchall()

#print(res)

print(“List of Vaccinated Members

“) print(“-“*40)

print(“Name\tVaccine\tAadhar No\tDose1\

tDose2”) print(“-“*40)

for val in res: print(val[5],”\

t”,val[1] , “\t” ,

val[0],”\t”,val[2],”\t”,val[3])

def shownotvaccinated():

c1 = db1.cursor();

c1.execute(“Select * from member where aadharno not

in (select aadharno from vaccination)”)

res = c1.fetchall()
print(“List of Not Vaccinated Members

“) print(“-“*40)

print(“Name\tAadhar No\tPhone\tAddress\

tEmail”) print(“-“*40)

for val in res:

print(val[1],”\t”,val[0] ,”\t”,val[3],”\t”,val[2],”\

t”,val[4]) def showduevaccine():

c1 = db1.cursor()

c1.execute(“select * from vaccination,member where

vaccination.aadharno=member.aadharno and dose2 is

null”) res = c1.fetchall()

#print(res)

print(“List of Members Whose Dose2 is due

“) print(“-“*40)

print(“Name\tVaccine\tAadhar No\tDose1\

tDose2”) print(“-“*40)

for val in res: print(val[5],”\

t”,val[1] , “\t” ,

val[0],”\t”,val[2],”\t”,val[3])

connect()

print(“Connected”)

if login():

while True:

print(“-“ *

50)
print(“\t CHOOSE AN OPERATION “)

print(“-“ * 50)

print(“Press 1 – Add a New Society Member”)

print(“Press 2 – Add a Vaccination Record”)

print(“Press 3 – Show all Members”)

print(“Press 4 – Show All Vaccinated Members”)

print(“Press 5 – Show Whose Vaccination is Due”)

print(“Press 6 – Show Who are not at all Vaccinated”)

print(“Press 7 – Quit”)

ch = int(input(“Enter Your Choice : “))

if ch == 1:

Addmember()

elif ch == 2:

Addvaccination()

elif ch == 3:

Showmembers()

elif ch == 4:

Showvaccine()

elif ch == 5:

Showduevaccine()

elif ch == 6:

Shownotvaccinated()

elif ch == 7:

break
OUTPUT SCREENSHOTS
REFERENCES
1. www.tutorialspoint.com

2. www.w3schools.com

3. www.datacamp.com

4. www.mysqltutorial.org

You might also like