0% found this document useful (0 votes)
49 views25 pages

Voting System

The document outlines a Community Service Project report for a Digital Voting Platform aimed at facilitating online voting to enhance participation and accessibility in elections. It details the project's objectives, existing issues with traditional voting systems, proposed solutions, and the technology stack used for implementation. The report includes sections on literature survey, analysis, design, and implementation, emphasizing the importance of security and user authentication in the voting process.

Uploaded by

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

Voting System

The document outlines a Community Service Project report for a Digital Voting Platform aimed at facilitating online voting to enhance participation and accessibility in elections. It details the project's objectives, existing issues with traditional voting systems, proposed solutions, and the technology stack used for implementation. The report includes sections on literature survey, analysis, design, and implementation, emphasizing the importance of security and user authentication in the voting process.

Uploaded by

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

MOHAN BABU UNIVERSITY

Report of Student Community Projects


Project Title:

DIGITAL VOTING PLATFORM FOR


COMMUNITY DECISION
Community Service Project (CSP) Report

Title of the Project: DIGITAL VOTING PLATFORM FOR COMMUNITY


DECISION

Name of the School/ Department: Computing


Name of the Student (s): Ch Anurag Chowdary

B Venkata Ganesh
A Reddy Roshan
E M Poorna Chandra
D Chanti Bramhaiah
Year of Study: 3rd year

Registration Number(s): 22102A040053


22102A040034
22102A040014
22102A040071
22102A040068
Name of the supervisor: Mr.A.Mohaideen

Period of CSP: From: To: Name & Address of the

Community/Habitation adopted or

worked

1|Page
Table of Contents

Chapter Title Page


No. No.

Abstract 2

1 LITERATURE SURVEY 3
1.1 Introduction 3
1.2 Existing System 5

1.3 System 5

1.4 Purposed System 5

1.5 Advantages 5

2 Analysis 6

2.1 Architecture of Project 7

2.2 Design 9

3 Implementation And Result 13

3.1 Introduction 13

3.2 Method of Implementation 13

3.3 Instructions 14

4 Testing and Validation 15

4.1 Test Cases 16

4.2 Testing Methods 18

4.3 Output Screenshots 20

4.4 Analysis of Results 23

4.5 Result 23
Conclusion 24
5 7.1 Reference 24
7.2 Reference Links
25

2|Page
ABSTRACT

➢ We are developing an on-line voting system by taking advantage of centralized database with
a web interface. The main concept of this project is to build a website , which will be able to
allow people to cast their vote through on-line. Time saving , working load reduced ,
information available at time and it provides security for data.
➢ In a democratic country like India we are not getting 100% of voting. People are not ready to
poll their vote because of many factors like people can’t go to the polling stations to cast their
vote(especially aged persons and physically challenged people). People may be at remote
places .
➢ There are several issues with traditional paper based voting like ridging votes during election ,
insecure or inaccessible polling stations , inadequate polling materials and also inexperienced
personnel.
➢ This On-line Voting System seeks to address the above issues. With this system , the citizens
may get ample time during the voting period.
➢ Every citizen is registered first and all the details are managed at centralized database. And at
the time of elections the citizens will be login through their credentials and cast their vote
➢ “ ONLINE VOTING SYSTEM ” is an online voting technique. In this system, authorized
voters can give his\her vote online without going to any physical polling station.
➢ There is a database which is maintained in which all the names of voters with complete
information is stored.
➢ In “ ONLINE VOTING SYSTEM ” a voter can use his\her voting right online without any
difficulty. He\She has to be registered first for him/her to vote. Registration is mainly done by
the system administrator for security reasons.
➢ The system Administrator registers the voters on a special site of the system visited by him/her
only by simply filling a registration form to register voter.
➢ Citizens seeking registration are expected to contact the system administrator to submit their
details and get their registration done.
➢ After registration, the voter is assigned a secret Voter ID with which he/she can use to log into
the system and enjoy services provided by the system such as voting. If invalid/wrong details
are submitted, then the citizen is not registered to vote.

3|Page
LITERATURE SURVEY
Introduction
Now-a-days , there are tons of things we do online , from shopping to doing of any official
arrangement .So , why don’t we make the elections also to be online .In this pandemic situation ,
gatherings is very danger . So , if we are trying to make voting process online Vote at any time from
anywhere : Today’s way of living doesn’t leave much free time . We havelittle to no time to do
anything or go anywhere . So it would be good that may be giving the chance to the members of our
country to cast their vote in just a few minutes , without the need to go to a certain place , would be
a good option . So probably online voting would be better option . Unlike traditional voting , that
makes voters go to a specific time in order to vote, online voting allows them to cast their vote at
anytime of the day and from any place , just with the need of an Internet connection
• Boost Participation : As a result of previous point , choosing online voting for election will
more likely boost the participation . Many people can participate in the elections to cast their
vote so that the turnout increases
• Less Physical Infrastructure : When running a online voting system , we can avoid the need
for all the physical infrastructure usually required on a traditional voting . No need of paper,
printing , physical urns or staff. This may therefore lead to a lower monetary investment
• Fast and easy votes tally : Since the counting of votes takes place through machines(automated),
human errors can be avoided . And also the process becomes more faster so that the results are
also processed faster
• Security : Most important factor for voting systems . In our proposed system security is
provided by OTP authentication .We have observed some major components provided in their
website.
• Voters : Target users of the website. Website provides platform to utilize their right to vote.
• Services : It allows citizens to cast the vote .
• Results: Every citizen can view the results of elections at any point of time
• Security: Security is provided by the website using the otp authentication technique

We used html, css, Javascript for the frontend development and PHP for connecting to the database
and storing the data. Visual Studio code is the tool used for writing the code code. XAMPP is also
used for developing the project since it is a free and open source cross platform. It consists APACHE
HTTP server, MARIA DB database, and interpreters for scripts written in the PHP and Perl
programming languages. We have gone through the OTP authentication codes and chose to implement
the random OTP generation.

4|Page
Existing System
In our country, we are following the traditional paper based voting system or EVMs which
has several drawbacks. Whatever the system we follow , we need to move to the polling stations
to cast the vote and it leads to gathering of people in larger number.
Disadvantages Of Existing System:
• Insecure polling stations
• Rigging of votes
• Inadequate polling materials
• Inexperienced Personnel
System
Inaccessible polling stations
Proposed System
In order to overcome the issues of existing voting system that is traditional paper based voting
system we are developing an online voting system by taking the advantage of centralised database
with a web interface .Online Voting System enables voter to cast the from any remote place. It will
help to increase the level of population to cast the vote that is it increases the total turnout High
security is provided since aadhar number is taken as primary key .User is authenticated by OTP Voting
on internet provides a safe and private channel that allows all users t participate on equal terms
Increased accessibility for residents abroad and for persons with difficulties in travelling or reduced
mobility. The reduction in organizational and implementation costs significantly increases the
efficiency of online voting compared to traditional voting system. Since the counting of votes takes
place through machines(automated ), human errors can be avoided . And also the process becomes
more faster so that the results are also processed faster

Advantages :
•It removes the possibility of invalid and uncertain votes which, in many cases, are the root Instant
results of voting.
•High voter turn-out
•Time saving process
•Secured process

5|Page
ANALYSIS
Introduction:
Analysis is gathering and interpreting the data needed for the dental clinic and website. It is
used for understanding how the system works. It gives a good understanding about the requirements
of the project.
Software Requirement Specification:
It captures complete description of how system works and the requirements of the system
User Requirement:
The website should allow the voter to cast the vote and give services only to the genuine user.
Genuine user should be identified via OTP authentication. User should be able to cast the vote only
once and only during the time of elections.
Software Requirements:
• Operating System: Windows, Linux, Mac
• Languages: PHP, HTML, CSS, Java Script
• Database: MYSQL
• Server: Apache
• Tools: Visual Studio Code, XAMPP
• Browser: All compatable browsers
Hardware Requirements:
• Processor: core i3 or higher
• RAM: 2GB, Hard disk:25GB

6|Page
Architecture of Project:
Admin maintains a database to maintain voters data.Voters cast the vote by registering
through the website. To reduce the manual work we have built a online voting website for a
elections to automate the elections process like generating the results. It works as follows:
A new user should register to access the services provided by the website. Then the user has
to login. Later, user will be verified by sending an OTP to his/her email. If user is a genuine user
he will be redirected to the voting page where he can access the services provided by the website.
The information given

by the user will be stored in the database.so it can be retrieved whenever required. Users can cast the
vote online, view the results at any point of time. Once the users are done with their activities they
can log out of the website. In this way, their work becomes easier, secure, and save their time.
Technologies used:
➢ HTML:

HTML stands for Hyper Text Markup Language.HTML is the standard markup language for
creating Web pages.HTML describes the structure of a Web page.HTML consists of a series of
elements.HTML elements tell the browser how to display the content.

➢ CSS:

7|Page
CSS stands for Cascading Style Sheets.CSS describes how HTML elements are to be
displayed on
screen, paper, or in other media.CSS saves a lot of work. It can control the layout of multiple web
pages all at once. External stylesheets are stored in CSS files
➢ JS:

JS (Java Script) is used for:

(i) Client side validation of form elements instead of sending data to server every time.
(ii)To insert new elements such as text box etc. to the website on the go.
(iii) To provide users notifications from the server.
(iv) To load data in the background from the server and loaded on to the page side
without reloading.
➢ PHP:
PHP is an acronym for "PHP: Hypertext Preprocessor”. PHP is a widely-used, open source
scripting language. PHP scripts are executed on the server. PHP is free to download and use PHP
can be used for the following:
• PHP can generate dynamic page content
• PHP can create, open, read, write, delete, and close files on the server
• PHP can collect form data
• PHP can send and receive cookies
• PHP can add, delete, modify data in your database
• PHP can be used to control user-access
• PHP can encrypt data

8|Page
DESIGN

Introduction:
The design phase shows how the project has been implemented. The components involved in the
project. In this one or more designs are developed which gives the apparent results for the project.
UML (Unified Modelling language) is a standard language for specifying, visualising, constructing
and documenting the artifacts of software systems. UML diagrams are simple to understand. UML
represents two different types of diagrams:
1)Structural diagrams:

These diagrams represents how the system is going to be built. These define the structure of
the system and the components involved in the system. It shows the static features of the system
The structural diagrams are:
• Class diagrams
• Object diagrams
• Components diagrams
• Deployment diagrams
2)Behavioural diagrams:
These diagrams represent the dynamic behaviour of the system. The interactions in the
system are shown using the behavioural diagrams The behavioural diagrams are:
• Activity diagrams
• Interaction diagrams
• Sequence diagram
• Collaboration diagram
• Use case diagrams
We have chosen class diagram, use case diagram and Sequence diagram for showing the static and
dynamic features of our project
UML Diagrams:

➢ Usecase Diagram:
Usecase diagram represents the user interactions with the system. It shows customer
relationship with different usecases. It helps in designing a system from users perspective.It also
shows the different functionalities provided by the system.

9|Page
This usecase diagram shows that a voter can login and logout of the system ,cast the vote, update
profiles, manage votes, manage candidates, manage voters, display results.

➢ Class Diagram:
• It represents the structure of the system showing systems classes, attributes,
operations and relationships among the objects. It is a basic notation for other
structure diagrams in UML

10 | P a g e
This class diagram has the following classes:
1)voter
2)candidate
3)result
4) result process
5)registration
One or more voters can use the web app and cast the vote.

➢ Sequence diagram:
It is a type of interaction diagram which shows how a group of objects work together in the
system.
It shows how objects and components interact with each other to complete a process.

11 | P a g e
This sequence diagrams represent how the interactions in our website takes place once a valid user
logins into the system, the system checks if the credentials are present in the database. If he is a valid
user he will be navigated to next page where he can perform different operations like casting votes,
managing their details viewing results. Once he finished his tasks he can logout of the system.

12 | P a g e
IMPLEMENTATION AND RESULT

Introduction:
Implementation is the carrying out plans mentioned in our system planning. Implementation gives the
opportunity to see the plans become a reality. Implementation is executing the project. It makes the
reality and helps in understanding the project.

Explanation Of Key Functions:


The main function used in our project is OTP authentication. We have generated a random OTP and
sent to mail using PHP mailer and mail function .Once the OTP is sent the user can type the OTP
and again login into the system and access the services.

Method of Implementation:
We have followed iterative model for implementing the project. In the Iterative model, iterative
process starts with a simple implementation of a small set of the software requirements and iteratively
enhances the evolving versions until the complete system is implemented and ready to be deployed.
An iterative life cycle model does not attempt to start with a full specification of requirements.
Instead, development begins by specifying and implementing just part of the software, which is then
reviewed to identify further requirements. This process is then repeated, producing a new version of
the software at the end of each iteration of the model.
Iterative process starts with a simple implementation of a subset of the software requirements
and iteratively enhances the evolving versions until the full system is implemented. At each iteration,
design modifications are made and new functional capabilities are added. The basic idea behind this
method is to develop a system through repeated cycles (iterative) and in smaller portions at a time
(incremental) Iterative and Incremental development is a combination of both iterative design or
iterative method and incremental build model for development. "During software development, more
than one iteration of the software development cycle may be in progress at the same time." This
process may be described as an "evolutionary acquisition" or "incremental build" approach."
In this incremental model, the whole requirement is divided into various builds. During each
iteration, the development module goes through the requirements, design, implementation and
testing phases. Each subse- quent release of the module adds function to the previous release. The
process continues till the complete system is ready as per the requirement.
The key to a successful use of an iterative software development lifecycle is rigorous validation
of requirements, and verification & testing of each version of the software against those requirements
within each cycle of the model. As the software evolves through successive cycles, tests must be
repeated and extended to verify each version of the software.
Like other SDLC models, Iterative and incremental development has some specific
applications in the software industry. This model is most often used in the following scenarios –
● Requirements of the complete system are clearly defined and understood.

13 | P a g e
● Major requirements must be defined; however, some functionalities or requested
enhancements may evolve with time.
● There is a time to the market constraint.
● A new technology is being used and is being learnt by the development team while working
on the project.

INSTRUCTIONS :
DOWNLOAD "Online Voting Management System Project"
1. Install XAMPP
2. Download the zip file/ download win rar.
3. Extract the file and copy "voting management system" folder
4. Paste inside root directory/ where you install xammp local disk C: drive D: drive E: paste:
(for xampp/htdocs)
5. Open PHPMyAdmin http://localhost/phpmyadmin
6. Create a database with name vote system
7. Import vote system.sql file(given inside the zip package in db file folder)
8. Run the script
9. Use the Following Credential to log into the Admin Session
username: crce
password: password

14 | P a g e
Output Screens:

Fig1.1

Fig1.2

15 | P a g e
Fig1.3

Fig1.4

16 | P a g e
Fig1.5

Fig1.6

17 | P a g e
Fig1.7

Fig1.8

18 | P a g e
Fig1.9

Fig1.10

19 | P a g e
Fig1.11

Fig1.12

20 | P a g e
Result Analysis:
We have made a detailed analysis of various results and their expected output of our
project. The given below are the results we have identified in the result analysis.
1.collecting registration details:
We collect all the user registration details which they fill in the registration form and that user
details we store in our database.
2.Validate Registration form:
At the time of new user registration, we validate the form so that already registered users cannot
be registered again
3.Collect login details:
A user can log in once he has successfully registered with us and we verify the user credentials
with the user details which we have stored in our database
4.Authenticate user:
Using OTP(One Time Password) authentication we authenticate the user. So that we can know
that our user was genuine or not.
5.Access Services:
Once the user is successfully login with our site then user can access all our services like casting
the vote, viewing the results .
6.Logout:
A user can log out at any time after successful login.

Expected Actual
Collect registration details Yes

Validate registration form Yes

Collect login details Yes

Authenticate user Yes

Access services Yes

Log out Yes

21 | P a g e
TESTING AND VALIDATION
Introduction

Validation is ensuring that all the customer needs are satisfied .Software testing is evaluating software
requirements against requirements gathered from users and system specifications.
Testing can be done using two approaches:
1. Functionality testing
2. Implementation testing
Black box
➢ Testing:

In black box testing the functionality of the system is tested. Here we do not check how the
project is implemented. For a certain input if expected output matches with the actual output then
the project is success otherwise it has bugs. It is also known as behavioural testing.

➢ White box testing:

In white box testing the implementation is also checked. It is also known as structural testing. In this
design and code structure are known to the tester.

Test Cases:

Test ID Operations Input Expected Output Actual Output Result

1 Login User name and password Navigate to authentication Navigates to Pass


are taken as input page authentication page

2 Register All inputs are given correct Navigate to login page Navigates to login Pass
where Aadhar number is page
primary key

3 Cast vote Click Stores the vote and Stored the vote and Pass
navigates to thankyou page navigates to
thankyou page

4 Enter otp Otp number Navigates to voting page Navigates to voting Pass
page

5 Logout Click Logout Logouts and Pass


shows home
page

22 | P a g e
Validation:
After the testing phase, following outcomes were
achieved.
1. User can access the website at any time.
2. User can cast the vote from any remote area.
3. User can get instance results of elections without any delay.
4. Security is provided with otp authentication and there is no issue of tampering of votes

23 | P a g e
CONCLUSION

Conclusion:

We are designing an alternative voting system besides the conventional voting system . Since,
todays world has become very familiar with internet and people don’t find time to go out for voting
By doing this project we were able to bring a new system for online national voting for our country.
With the advent of technology and Internet in our day to day life, we were able to offer advanced
voting system to voters both in the country and outside through our online voting system.
We are designing an alternative voting system besides the conventional voting system . Since
, todays world has become very familiar with internet and people don’t find time to go out for voting
Gatherings are also very dangerous in this pandemic situations. Providing better solution to
overcome the issues with existing system
● On-line web-based voting system which reduces the cost of voting

● Instant results of election

● Higher voter turn-out

● Enables large number of people to cast their vote evn at remote places

● Time saving process

● Improves the accessibility

● Security and Confidentiality


Future Scope:

• It will increase the overall voting percentage


• It will reduce election expenditure
• It can be made more secure by using the advance security methods like biometrics

FUTURE ENHANCEMENT :

• Fingerprinting
• Cornea Detection

24 | P a g e
REFERENCES

• Cranor, L. (2004). Electronic Voting Hot List. Retrieved from


http://lorrie.cranor.org/voting/hotlist.html

• Dill, D. (2004). E-voting Misconceptions. Retrieved from


www.verifiedvoting.org/article.php?id=2609.

• Dill, D. Lecture, October 14, UC Berkeley.

• Dugger, R. (2004). How They Could Steal the Election this Time. The Nation. Retrieved
from www.thenation.com/doc.mhtml?i=20040816&s-dugger, July 29, 2004.

25 | P a g e

You might also like