0% found this document useful (0 votes)
153 views36 pages

Online Voting System for India

The document describes an online voting system that allows citizens of India to vote online. It discusses the goals of setting up a centralized database maintained by the Election Commission of India that would contain voters' information. This would allow voter identities to be authenticated before they can use the online voting system. The system aims to save time compared to traditional paper-based voting and help increase voter turnout. It outlines several modules like voter registration, candidate registration, polling, and displaying results. However, it also notes potential disadvantages like the risk of hacking and not all voters having internet access. In the end, it suggests paper-based voting may still be preferable to ensure security and voter verification of ballots.

Uploaded by

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

Online Voting System for India

The document describes an online voting system that allows citizens of India to vote online. It discusses the goals of setting up a centralized database maintained by the Election Commission of India that would contain voters' information. This would allow voter identities to be authenticated before they can use the online voting system. The system aims to save time compared to traditional paper-based voting and help increase voter turnout. It outlines several modules like voter registration, candidate registration, polling, and displaying results. However, it also notes potential disadvantages like the risk of hacking and not all voters having internet access. In the end, it suggests paper-based voting may still be preferable to ensure security and voter verification of ballots.

Uploaded by

kapil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

CHAPTER 1

INTRODUCTION
1.1 Purpose
Online registration for the voter id card which will be verified by the field officers (address
and identity validation) and after receiving the field officer's report only the registration
will be validated and a voter id will be issued (a photograph will have to be uploaded). You
can also think about any other secure method like digital signature. Those already having a
voter id card can register for the online voting system, they will use their voter id as their
user name and a separate password will be used for secure authentication. The election
commission will be able to use the site to let the candidates register for their nomination on
the site and their officers will validate it. Candidates can run their election campaign
through forums or chat-room. A detailed profile of all the candidates constituency wise will
be maintained so that voters can always know about the candidates of their area. Once
registered when ever polling is done in any area that areas' people will be able to vote for
their favorite candidates. Later when the voting ends the administrator can add the manual
poling results to the database to calculate the final results which will immediately be
flashed on the site. Facilitate appropriate communication between all stakeholders –
Chat/Mails Candidates should be able to modify selected portions of their profile after
registration for nomination like the promises they make about the things to do after
winning the election, their previous works, their experiences and a comprehensive about
me, etc.
The online voting system is for the citizens from all over India that consists of the data and
information:
1. The database of the Voter’s information and details
2. Voter’s Id
3. Calculation of total votes
4. Checking information by the voter
5. Remove wrong information
6. The information immediately transfers to Election Commission.

1
Online voting system project is implemented in vb.Net platform using Mysql database as
back end. Main aim of online voting system is to develop an online application like online
reservation system, for citizens who are above 18 years of age to vote through online.
Using these system citizens of India can vote through online without visiting polling booth.
A centralized database is maintained by election commission of India where citizens
information is maintained when ever citizen is using online voting system his/her
information is authenticated with the data present in database if user is not in the list he
cannot use online voting system.

1.2 Existing System:

In the current context, voting is done using ballot paper and counting is done manually.
This manual system is very uneconomical, requiring large manpower and it takes a lot of
time. Possibility of invalid or fraud votes cannot be ruled out in the current voting system.

The existing system is manual and the paper based voting which is voted on paper and
counted manually. The electronic tabulation brings new kind of voting system in which the
electronic cards with all candidates symbol is marked manually and this can be counted
electronically. The electronic voting systems are now different types known as the punch
card, mark sense and the digital pen voting systems.
The Electronic Ballot Marker makes the voter more easy to vote by providing the
selections on the display to vote present on the electronic machine.
The direct recording electronic voting machine is one which provides the display that can
be start when the voter touches the display consists of the mechanical and electro optical
buttons, software that accepts the vote and possesses a image or symbol on the display.
The electronic ballots are connected with the central ballot systems which directly accept
and get the updated record of all ballots. The central ballot system applies the Precinct
count method which calculates the all votes from the ballots present at polling centers. The
results are immediate.

1.3 Scope
2
The Scope of the project that is hosted on the server. There is a DATABASE which is
maintained by the ELECTION COMMISION OF INDIA in which all the names of voter
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 only by simply filling a registration form to register voter. Citizens seeking
Registrations are expected to contact the system administrator to submit their details. After
the validity of them being citizens of India has been confirmed by the system administrator
by comparing their details submitted with those in existing databases such as those as the
Registrar of Persons, the citizen is then registered as a voter.
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.

1.4 Working:
Users are provided with a online registration form before voting user should fill online
form and submit details these details are compared with details in database and if they
match then user is provided with username and password using this information user can
login and vote. If conditions are not correct entry will be canceled.
Advantages of using this application is time saving and voting percentage can be increased
and high security can be implied for preventing false voting.
This application contains two level of user’s administrator level and voter level where each
level has different functionality. Election commission of India will update voter’s details to
database regularly.
In online voting system project document students can find DFD diagrams, ER diagrams,
system modeling diagrams, class diagrams, database tables design and screen shots.
Online Election System would have Candidate registration, document verification, auto-
generated User ID and pass for candidate and Voters. Election Commission will handle
Admin Login and Candidate will handle Candidate Login. Voters will get Unique ID and
Password, Using which they can vote for a Candidate only once per Election.

3
The project is beneficial for Election Commission, for voters as the can get to know the
candidate background and choose wisely, and even for Candidate. The software system
allows the Candidate to login in to their profiles and upload all their details including their
previous milestone onto the system. The admin can check each Candidate details and
verify the documents. Candidate’s ID and Password will be generated only after the
verification, and faulty accounts will be removed. The software system allows Voters to
view a list of Candidates in their area. The admin has overall rights over the system and
can moderate and delete any details not pertaining to vote Rules.
1.5 User Characteristics
 Every user should be:
 Comfortable with Internet Browser.
 He must have brief knowledge of voting system.
 He must also have basic knowledge of English too.
1.6 Advantages
 Time saving.
 Working load reduced.
 Information available at time.
 It provides security for the data.

1.7 Disadvantages

 Chances of hacking candidate or voters account.


 Every voter does not have pc or net connection, so voters can even go in polling
booth and vote online there.

1.8 Modules for Online Voting


 ABOUT FORM
 VOTING REGISTER FORM
 VOTING CITIZEN FORM
 VOTING POLLING FORM
 VOTING CANDIDATE REGISTER FORM
 VOTING CANDIDATE DETAILS FORM
 VOTINGRESULTFORM

4
1.9 Overview
Online voting system project is implemented in java platform using Mysql database as
back end. Main aim of online voting system is to develop an online application like online
reservation system, for citizens who are above 18 years of age to vote through online.
Using these system citizens of India can vote through online without visiting polling booth.
A centralized database is maintained by election commission of India where citizens
information is maintained when ever citizen is using online voting system his/her
information is authenticated with the data present in database if user is not in the list he
cannot use online voting system.
Furthermore, it has been showed that even the most serious of the outsider attacks could
have been discovered and executed without access to the source code. In the face of such
attacks, the usual worries about insider threats are not the only concerns; outsiders can do
the damage. That said, we demonstrate that the insider threat is also quite considerable,
showing that not only can an insider, such as a poll worker, modify the votes, but that
insiders can also violate voter privacy and match votes with the voters who cast them. We
conclude that this voting system is unsuitable for use in a general election. Any paperless
electronic voting system might suffer similar flaws, despite any “certification” it could
have otherwise received. It has been suggested that the best solutions are voting systems
having a “voter verifiable audit trail,” where a computerized voting system might print a
paper ballot that can be read and verified by the voter.

5
CHAPTER 2
OVERALL DESCRIPTION
2.1 Goals of proposed system
The proposed online voting system makes use of computer and internet which makes the
overall voting procedure easy. It saves time and avoids errors such as invalid votes and
miscalculation of votes. Voting and counting both are done with the help of a computer, the
election process is easy, and this system proves to be much economical, compared to the
manual system.
In online voting system, voting is done online; this process is very easy. Candidates are
first required to fill a form to register them, providing various voting-related details. These
entries are then checked by the system database to see if the candidate fulfills the voting
criteria.

If the entries are correct and the citizen is eligible to vote, a user id and password is given
to the voter. By using the information provided, citizens can cast their vote. The vote cast is
automatically recorded and checked in the system database, and can be counted later.

The proposed Online Voting System in VB.NET is developed with the following goals:

1. counting the total number of votes cast


2. calculating the percentage of total votes
3. calculating the total votes cast for each candidate
4. calculating the percentage of votes for each candidate
5. checking duplication and error in voting
6. finding the wining candidates in the election based on the total votes they
received

6
1. Planned approach towards working: - The working in the organization will be well
planned and organized. The data will be stored properly in data stores, which will help in
retrieval of information as well as its storage.
2. Accuracy: - The level of accuracy in the proposed system will be higher. All operation
would be done correctly and it ensures that whatever information is coming from the center
is accurate.
3. Reliability: - The reliability of the proposed system will be high due to the above stated
reasons.
The reason for the increased reliability of the system is that now there would be proper
storage of information.
4. No Redundancy: - In the proposed system utmost care would be that no information is
repeated anywhere, in storage or otherwise. This would assure economic use of storage
space and consistency in the data stored.
5. Immediate retrieval of information: - The main objective of proposed system is to
provide for a quick and efficient retrieval of information.
6. Immediate storage of information: - In manual system there are many problems to
store the largest amount of information.
7. Easy to Operate: - The system should be easy to operate and should be such that it can
be developed within a short period of time and fit in the limited budget of the user.
2.2 Background
ONLINE VOTING SYSTEM is a voting system by which any Voter can use his\her voting
rights from anywhere in India. ONLINE VOTING SYSTEM contains-:
- Voter’s Information in database.
- Voter’s Names with ID.
- Voter’s Vote in a database.
- Calculation of total number of Votes.
Various operational works that are done in the system are:-
 Recording information of the Voter in Voter database.
 Checking of information filled by voter.
 Discard the false information.
 Each information is sent to the “ELECTION COMMISSION OF INDIA”.

7
The Commission considers that the election process in the India should safeguard the
following principles:
• Transparency
The election process should be organized in such a way that the structure and organization
is clear, so that everyone in principle can understand it. There must be no secrets in the
election process: questions must be able to be answered, and the answers must be
verifiable.
• Verifiability
The election process should be objectively verifiable. The verification tools may differ,
depending on the method of voting that is decided upon.
• Fairness
The election process should operate in a proper manner, and the results must not be capable
of being influenced other than by the casting of lawful votes.
• Eligibility to vote
Only persons eligible to vote must be allowed to take part in the election.
• Free suffrage
Every elector must be able to choose how to vote in complete freedom, free from
influence.
• Secret suffrage
It must be impossible to connect the identity of a person casting a vote to the vote cast. The
process should be organized in such a way that it is impossible to make a voter indicate
how he or she voted.
• Equal suffrage
Each voter, given the Dutch election system, must be allowed to cast only one vote in each
election, which must be counted precisely once.
• Accessibility
Voters should be enabled as far as possible to participate directly in the election process. If
this is impossible, there must be a way of taking part indirectly, i.e. by proxy.
These principles are to some extent enshrined in the Dutch Constitution and laid down in
international and India treaties and recommendations of e.g. the Organization for Security
and Co-operation in India and the Council of India. Dutch law and regulations must
provide these safeguards.

8
The Commission has examined the methods of voting used at present in the light of them,
namely:
 Voting using paper ballots at polling stations
 Electronic voting at polling stations
 Postal voting
 Internet voting
 Voting by telephone
 Voting by proxy

The report indicates how well the principles are safeguarded with these methods of voting,
explicitly discussing the dilemma that there is no method of voting that provides 100%
safeguards. In the end it is a question of striking a balance between the principles:
feasibility and cost are factors here, as is the point that the election process must be flexible
enough to respond to new developments. Having weighed up the various principles, the
Commission concludes that voting at polling stations should be the main method of voting
in the India. Other methods, such as Internet, telephone and postal voting, do not provide
the same degree of safeguards as voting at polling stations, so the report does not generally
recommend them. The Commission also takes the view that the method of voting at polling
stations in the India should be standardized, i.e. the same in every municipality.
Voting using paper ballots at polling stations is the preferred option on the grounds of
transparency and verifiability. Given the problems encountered in practice with the manual
counting of these ballots, however, the Commission also investigated whether a method of
electronic voting is conceivable that provides equal safeguards. The Commission takes the
view that this is feasible, provided it produces a paper ballot that can be checked by the
voter. The report describes two methods of voting by electronic means at polling stations
and electronic counting of the votes cast:
 A ballot printer on which the voter makes his or her choice: this produces a paper
ballot that is deposited in a ballot box and is counted electronically, when the ballot
closes, by a vote counter.
 An electronic voting device with a memory and an additional paper trail for
verification purposes.

9
The two methods differ substantially. The Commission only recommends introducing
ballot printers with electronic vote counters, because of the conceptual clarity of the system
and the unambiguous results it produces. Although counting can be carried out more
quickly using voting devices with a paper trail, by using the device to do the counting, this
advantage is outweighed by the disadvantages, as it still means relying on the software
correctly storing the votes cast. In the case of a ballot printer choosing how to vote is
completely separate from the casting of the vote, so there is no need to rely on the vote
being stored correctly. A count by an electronic vote counter is estimated to take 15 to 30
minutes at each polling station.
The Commission also noted that there is a method using pre-printed paper ballots upon
which voters mark their choice with a pen or pencil, and this is then read by a scanner and
counted.
A system of this kind was tried in the just recently. The Electoral Commission produced a
report on it in August 2007, which indicated that there were a number of problems. Voting
using optical scanning systems takes place on a fairly large scale in the India.
Nine states use this method exclusively. Scanning systems where voters insert their ballot
papers in a ballot box with a built-in scanner produce 0.7% invalid votes in those states.
India, as with all 100% electronic systems, optical scanning systems have also
demonstrated vulnerabilities that might make it possible to manipulate the results. India has
wholly or partly withdrawn approval from all the suppliers of these systems.

The ballot papers used and scanned in the india are much smaller than those used in the
India. Because of the large number and length of the lists of candidates, Dutch ballot
papers need to be of a size that does not fit in standard scanners. Splitting the papers up
into separate pages, with voters only using the page on which they cast their votes, would
create the risk of the other pages being used to cast fraudulent votes. Scanning ballot
papers is therefore not really feasible in the India, and the Commission does not
recommend this method.
In recent years there have been experiments with voting at any polling station within the
voter's municipality under the Remote Electronic Voting (Experiments) Act.1The
evaluations showed that both municipalities and voters were enthusiastic about the
possibility of voting at other than a designated polling station. Given the need for the
election process to be accessible, the Commission takes the view that voting at any polling
10
station should be introduced in all municipalities. Although the results of the experiments
were overwhelmingly positive, some new vulnerabilities came to light as regards
protecting voting passes against forgery or counterfeiting and establishing that the person
using a voting pass actually is the elector whose name is stated on the pass. Both these
vulnerabilities need to be dealt with before it is decided to introduce voting at any polling
station. Voting pass security can be improved by incorporating authenticity features. More
reliable identification can be achieved by requiring users of voting passes to identify
themselves when voting. Since the introduction of the Compulsory Identification Act
everyone in the India over the age of 14 is required to hold a valid identity document and
carry it with them at all times.2 All electors will therefore have an identity document on
their person when they go to vote and will be able to produce it.
The Ministry of the Interior and Kingdom Relations has long had the intention of making it
possible not only to vote at any polling station in all municipalities but also to extend the
principle so that in any election a voter can vote in the electoral district in which he is
eligible to vote at any polling station in the India. Introducing this would have major
consequences. First, every polling station would need to have the complete national
register of cancelled voting passes (containing the serial numbers of voting passes that are
invalid, for instance because a replacement card has been issued). The register would have
to be compiled very quickly (in the space of two days) and distributed to all polling
stations before the start of the election. In principle it could be in paper form, but to avoid
errors and speed up the process during the election it would be advisable to use an
electronic version. It does not need to be on-line, as the voting pass is collected by the
polling station committee3 when the vote is cast, so the voter cannot go and vote again at
another polling station. When the votes are counted the polling station committee would
have to separate the votes cast into the various districts. This would be easy to do if the
count is performed electronically, as recommended by the Commission. The counts would
then have to be distributed to the principal polling stations where they ‘belong’. To achieve
this the Minister of the Interior and Kingdom Relations would need to create a central
facility (distribution platform) to which the polling station committees would send the
counts electronically.
The central facility would also publish the counts of votes cast at each polling station on
the Internet, thus enabling anyone who is interested to check the count. The distribution
platform would pass on the results received directly (electronically) to the principal
11
electoral committee3 concerned. If it is decided to introduce the option of voting at any
polling station in the India in all elections it will not be possible to use pre-printed paper
ballots.
The Commission recommends introducing voting at any polling station in all
municipalities as the first step. The second step, the national introduction of voting at any
polling station, should be taken later on, once all the authorities responsible for organizing
elections and the public are accustomed to the new voting method at polling stations.

For certain groups of people, namely Dutch citizens living abroad or away from the India
on account of their work or business or that of their spouse, registered partner, partner or
parent, and people unable to vote at a polling station because of a physical impairment,
other methods of voting than voting at a polling station need to be provided. This is
necessary because they will otherwise be excluded from one of their most basic civil rights
or completely reliant on proxy voting. In the case ofthese groups the Commission
considers that access to elections outweighs the principles of transparency and free
suffrage.

For Dutch citizens abroad postal voting is currently the regular method of voting. The
Ministry of the Interior and Kingdom Relations experimented with Internet voting for this
group in 2004 and 2006, and this was found to improve access. A large majority of these
voters explicitly wish to vote using the Internet. The Commission therefore recommends
making Internet voting the regular voting method for them. Postal voting should however
be retained for the time being for those Dutch citizens who do not have Internet access or
are unable or unwilling to use it.
Access for this group is substantially affected by the registration procedure, and the one
used at present is cumbersome and arouses antagonism. The Commission therefore
recommends that it be improved as soon as possible. In the longer term registration for
each election could be dropped with the advent of the Register of Non-Residents, provided
all non-resident Dutch citizens are registered in it.

As regards the physically impaired, the Commission concurs with the opinion of the
Council for the

12
Disabled and Chronically Ill, the Disability in the Community Task Force and Viziris, that
greater efforts need to be made to allow this group of citizens to vote independently. This
can be achieved at polling stations by improving physical access to them and equipping the
electronic voting equipment with audio facilities. Anyone who is demonstrably unable to
visit a polling station or to operate the voting equipment there should not be entirely
dependent on proxy voting. The Commission agrees with the Council for the Disabled and
Chronically Ill, the Disability in the Community Task Force and Viziris that telephone
voting should be made available to this group.

The India has long had proxy voting. From time to time this attracts criticism
internationally, e.g. from the observation missions of the Organization for Security and Co-
operation in India. The criticism is directed in particular at the risks proxy voting entails to
the principles of equal and secret suffrage. The Commission takes the view that proxy
voting is well established in the India and should be retained. The risk of proxy votes being
misused by intercepting voter registration cards or voting passes needs to be reduced. This
can be done by means of regulations requiring anyone appointed to vote on behalf of
another person to produce a copy of a valid identity document of that person. This would
enable the polling station committee to compare the two signatures if necessary.

The Commission looked in depth at the way in which duties and responsibilities for the
election process are allocated. This is generally satisfactory, but there are two areas that
have not been adequately provided for, if at all: the laying-down of requirements for
equipment used in ballots, the enforcement of these requirements and the security and
management of the equipment are not properly regulated. This responsibility should rest
overall with central government, specifically the Minister of the Interior and Kingdom
Relations, and should be enshrined in the law and regulations.
This is also the case with the new duties arising from the Commission’s recommendations
on voting at any polling station and Internet and telephone voting. In view of the
government’s standpoint on the report of the Voting Machines Decision-Making
Commission, the logical course is for these to be assigned to the Personal Records and
Travel Documents Agency.

13
The transparency and verifiability of the election process also need to be improved. This
can be achieved by subjecting the preparations for, and conduct of, every election to an
audit, the aim being:
 to gain an objective idea of any incidents and errors relevant to the results when
these are being determined by the Central Electoral Committee,3 and
 to learn lessons for future elections.

The election data (e.g. the official reports) should also be kept, and released for academic
research after a specified period. The Commission takes the view, incidentally, that a new
organization is not needed to carry out the audits: responsibility for auditing municipal
council and provincial council elections should be assigned to the Minister of the Interior
and Kingdom Relations, and for auditing general elections and India Parliamentary
elections to the House of Representatives. The bodies carrying out the audits should be
independent and the findings disclosed publicly: this must be enshrined in the law and
regulations.
2.3 Voting Form Features:

1. Gets the student’s details and verifies if the student has activated his account and
redirect to which department the student belongs.
2. An interface where the student can vote from the National and Local candidates.
(Local candidates are running from their respective departments).
3. Easy confirmation process.
4. Vote-once mechanism, the student cannot vote anymore after casting his/her
votes.

2.4 Requirements:
1) Registration of the voter is done by ELECTION COMMISION OF INDIA.
2) ELECTION COMMISION OF INDIA can change the information any time if required.
3) Registration of the Voter depends upon the information filled by the user.
4) Voter is given a unique ID and PASSWORD.
5) In the DATABASE information of every voter is stored.
6) Database shows the information of every user.
14
CHAPTER 3
PROPOSED METHODOLOGY

3.1 Data Flow Diagram


A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system. It differs from the flowchart as it shows the data flow instead of the
data processing (structured design).

User Or
Administrator

System

Output

[Fig.-3.1: Zero Level Data Flow Diagram for Online Voting System]

15
Login Voter
Process Registration

Voter Voting Final


Information Process Report

[Fig.-3.2: First Level Data Flow Diagram for Online Voting System]

16
3.2 Use Case Diagram:
Use case diagram is a behavioral UML diagram type and frequently used to analyze
various systems. They enable you to visualize the different types of roles in a system and
how those roles interact with the system. This use case diagram tutorial will cover the
following topics and help you create better use cases.

Importance of Use Case Diagrams

As mentioned before use case diagrams are used to gather a usage requirement of a system.
Depending on your requirement you can use that data in different ways. Below are few
ways to use them.

 To identify functions and how roles interact with them – The primary purpose of
use case diagrams.
 For a high-level view of the system – Especially useful when presenting to
managers or stakeholders. You can highlight the roles that interact with the system
and the functionality provided by the system without going deep into inner
workings of the system.
 To identify internal and external factors – This might sound simple but in large
complex projects a system can be identified as an external role in another use case.

Analysis of Use Case Diagram:


The system proposed here for electronic voting has two active actors. One is the
administrator and another one is the voter. The administrator has the supreme power to
manipulate the voter details even the candidate details. The main responsibility of the
administrator is to registration of the voters. Administrator is authorized to view the details
of the candidate and also voters although he is not authorized for modifying the details
without the fingerprint of the voter or the candidate.
An administrator is allowed to view all the reports like candidate result, area result or even
political party result. He is also responsible for publishing the result. Voter is responsible
for only casting the vote. If there comes any change in the voter details it is voter’s

17
responsibility to go to the authority and let them know so that the officials can modify the
details taking the finger prints of that voter.

[Fig.-3.3: Use Case Diagram for Online Voting System]

18
3.3 ER Diagram:
ER Diagram is a visual representation of data that describes how data is related to each
other. In ER Model, we disintegrate data into entities, attributes and setup relationships
between entities; all this can be represented visually using the ER diagram.

[Fig.-3.4: ER Diagram of Online Voting System]

Analysis of Entity Relationship Diagram:


19
In the entity relationship diagram the relationship between different entities has been
showed. Important attributes are also given here, among them the primary keys and the
foreign keys are underlined. All the attributes are not given here because of the shortage of
space.
Administrator:
Administrator has three attributes given here Ad_id, Voter_id and Area_id. It has a one to
many relationships with the entity population because a numerous number of people are
under one administrator. In addition to it has another one to many relationships with the
entity Voter as thousands of voters are also related to one administrator.
Ad_id:
It contains the id that is only for the people who are working asadministrator.
Voter_id:
Identification number of the administrator as a voter since an administratoris also a voter.
Population:
Population has two attributes P_id and Area_id. It has a many to one relationship with the
entity Administrator which has already been discussed. It has two segments one is primary
another one is secondary. A people will be in either in primary or in secondary database.
Population has one to one relationship with both the entity.
P_id:
It is an unique id for all types of people, voter or non voter.
Area_id:
This id represents the area of the person.
Voter:
Voter has two attributes one is Voter_id another is Area_id. It has two one to one
relationship with the entity Secondary and Administrator. It has also a many to one
relationship with the entity Area.

Voter_id:
It represents the id of voter.

CHAPTER 4
20
SNAPSHOOT OF FORMS
4.1 Home

From here any valid user can enter into the application. Here user has to give User Name
and Password which are provided at the registration time.

User Login: After registering into the website, this information is saved to the database
and sent to the election commission. The user can Login to the website with his unique
USERNAME and PASSWORD generated through registration.

There is a option for FORGOT PASSWORD, in case user forget his password then he/she
can go with option of forgot password.

Candidate Login: After registration candidate can see his/her profile and can edit his/her
profile. The candidate has facilitated with all the latest news update regarding election.

4.2 REGISTRATION FORM

21
A registration form is a list of fields that a user will input data into and submit to a
company or individual. There are many reasons why you would want a person to fill out a
registration form. Companies use registration forms to sign up customers for subscriptions,
services, or other programs or plans.

The Online commission authority will collect the details as well as fingerprints from the
people who are at least 17 years. Birth certificate, H.S.C or S.S.C certificate will proof
one’s age. People who don’t have this certificate may use chairman certificate or
commissioner certificate to proof their age. People who won’t give their details and finger
prints to the authority their status will not be registered but he will also be migrated to the
secondary database automatically again he won’t be migrated to the voter database.
They will be able to register later and then he will be migrated to the voter database
immediately. The authority will collect the details from even 17 years old people so that if
any person becomes 18 years old between the time of collecting data and the election he or
she will be able to give the vote. Even the people who live outside the country will be able
to give his or her vote. It doesn’t matter whether he has the birth certificate or H.S.C or
S.S.C certificate. His passport will prove his legality for being the citizenship of
Bangladesh and that will also proof his age. But he needs to be registered that means he
has to give his details as well as finger print to the authority. Then he will be able to attend
the election even he gets back to the country on the day of the election.

22
23
4.3 VOTING FORM

The Voting Page in which the Voter gives his/her Vote to the Favorite Candidate.

The Voting Page shown in below:

24
4.4 RESULT FORM

The Result of Voting will be shown in this page .The Snapshoot of the result page is shown
in below:

25
CHAPTER 5
CODING

1 Home
Imports MySql.Data.MySqlClient
Public Class HomePage
Dim con As New MySqlConnection("Server = localhost; port = 3306; user
id = root; password = dbms@; Database = blood bank")
Dim q As String
Dim cmd As New MySqlCommand
Dim dr As MySqlDataReader
Dim ds As New DataSet
Private Sub REGISTERToolStripMenuItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
REGISTERToolStripMenuItem.Click
Dim obj As New Registration
obj.Show()
Me.Hide()

End Sub

Private Sub RESULTToolStripMenuItem_Click(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
RESULTToolStripMenuItem.Click
Dim obj As New Result
obj.Show()
Me.Hide()
End Sub

Private Sub ABOUTUSToolStripMenuItem_Click(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
ABOUTUSToolStripMenuItem.Click
Dim obj As New About_us
obj.Show()
Me.Hide()
End Sub

Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnLogin.Click
Try
q = "select * from votingTable where Name = '" & txtName.Text
& "' and Password = '" & txtPassword.Text & "'"
Dim da As New MySqlDataAdapter(q, con)
Dim mydatatable As New DataTable
da.Fill(mydatatable)
If mydatatable.Rows.Count > 0 Then
Name = txtName.Text
id = CInt(mydatatable.Rows(0).Item("id").ToString)

If mydatatable.Rows(0).Item("IsVoted") = ("Yes") Then


MessageBox.Show("You are Voted")

Else
26
Dim obj As New VotingPage
Me.Hide()
obj.Show()
End If
ElseIf txtName.Text = "12345" And txtPassword.Text = "12345"
Then
Dim obj As New Admine
Me.Hide()
obj.Show()
Else
MessageBox.Show("Invalid Login")
txtName.Text = ""
txtPassword.Text = ""
txtName.Focus()
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub

Private Sub txtPassword_TextChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles txtPassword.TextChanged

End Sub

Private Sub HomePage_Load(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles MyBase.Load

End Sub
End Class

2 REGISTRATION
Imports mysql.data.mysqlclient
Public Class Registration
Dim con As New MySqlConnection("Server = localhost; port = 3306; user
id = root; password = dbms@; Database = blood bank")
Dim q As String
Dim cmd As New MySqlCommand
Dim dr As MySqlDataReader
Dim ds As New DataSet
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label1.Click

End Sub

Private Sub Registration_Load(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles MyBase.Load

End Sub

Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnBack.Click
Dim obj As New HomePage
obj.Show()
Me.Hide()

End Sub

27
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSave.Click
If txtName.Text = "" Or txtPassword.Text = "" Or txtFName.Text =
"" Or txtAge.Text = "" Or txtMobileNo.Text = "" Or txtAdd.Text = "" Or
cmbGender.Text = "" Or cmbIsVoted.Text = "" Then
MessageBox.Show("All Entries are Mandetry")
Else
q = "select * from votingTable where MobileNo = '" &
txtMobileNo.Text & "'"
Dim mydatatable As New DataTable
Dim da As New MySqlDataAdapter(q, con)
da.Fill(mydatatable)
If mydatatable.Rows.Count > 0 Then
Name = txtMobileNo.Text
MessageBox.Show("This Mobile No is already exist please
enter defrent Mobile No")
Else

Try
q = "insert into
votingTable(Name,FName,Password,Age,Gender,IsVoted,MobileNo,Address)
values('" & txtName.Text & "','" & txtFName.Text & "','" &
txtPassword.Text & "','" & txtAge.Text & "','" & cmbGender.Text & "','" &
cmbIsVoted.Text & "','" & txtMobileNo.Text & "','" & txtAdd.Text & "')"
Dim daa As New MySqlDataAdapter(q, con)
daa.Fill(ds)
txtName.Text = ""
txtFName.Text = ""
txtPassword.Text = ""
txtAge.Text = ""
cmbGender.Text = ""
cmbIsVoted.Text = ""
txtMobileNo.Text = ""
txtAdd.Text = ""
txtName.Focus()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
Dim obj As New HomePage
Me.Hide()
obj.Show()
MessageBox.Show("Registration Succesfull")
End If
End If
End Sub
End Class

3 VOTING
Imports MySql.Data.MySqlClient
Public Class VotingPage
Dim con As New MySqlConnection("Server = localhost; port = 3306; user
id = root; password = dbms@; Database = blood bank")
Dim q As String
Dim cmd As New MySqlCommand
Dim dr As MySqlDataReader
Dim ds As New DataSet

28
Private Sub BtnBack_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BtnBack.Click
Dim obj As New HomePage
obj.Show()
Me.Hide()

End Sub

Private Sub Cbx1_CheckedChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Cbx1.CheckedChanged
If Cbx1.Checked = True Then
Cbx2.Checked = False
Cbx3.Checked = False
Cbx4.Checked = False
txtCandidate.Text = "Manoj"
End If
End Sub

Private Sub Cbx2_CheckedChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Cbx2.CheckedChanged
If Cbx2.Checked = True Then
Cbx1.Checked = False
Cbx3.Checked = False
Cbx4.Checked = False
txtCandidate.Text = "Preeti"
End If
End Sub

Private Sub Cbx3_CheckedChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Cbx3.CheckedChanged
If Cbx3.Checked = True Then
Cbx2.Checked = False
Cbx1.Checked = False
Cbx4.Checked = False
txtCandidate.Text = "Anshu"
End If
End Sub

Private Sub Cbx4_CheckedChanged(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Cbx4.CheckedChanged
If Cbx4.Checked = True Then
Cbx2.Checked = False
Cbx3.Checked = False
Cbx1.Checked = False
txtCandidate.Text = "Swati"
End If
End Sub

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnSave.Click
Try
q = "update votingTable set IsVoted = '" & txtYes.Text & "'
where id = " & id
Dim da As New MySqlDataAdapter(q, con)
da.Fill(ds)
q = "insert into Resu(Name) values('" & txtCandidate.Text &
"')"
Dim dar As New MySqlDataAdapter(q, con)
dar.Fill(ds)

29
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
MessageBox.Show(txtCandidate.Text, " Your Selected Candidate ")
Dim obj As New HomePage
Me.Hide()
obj.Show()

End Sub

Public Sub txtCandidate_TextChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles txtCandidate.TextChanged

End Sub

Private Sub VotingPage_Load(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles MyBase.Load

End Sub
End Class

4 RESULT

Imports MySql.Data.MySqlClient
Public Class Result
Dim con As New MySqlConnection("Server = localhost; port = 3306; user
id = root; password = dbms@; Database = blood bank")
Dim q As String
Dim cmd As New MySqlCommand
Dim dr As MySqlDataReader
Dim ds As New DataSet
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim obj As New HomePage
obj.Show()
Me.Hide()
End Sub

Private Sub Result_Load(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles MyBase.Load

q = "select count(Name)from resu where name = '" & lblPreeti.Text


& "'"
Dim mydatatablePreeti As New DataTable
Dim myadapterPreeti As New MySqlDataAdapter(q, con)
myadapterPreeti.Fill(mydatatablePreeti)
txtPreeti.Text = mydatatablePreeti.Rows(0).Item("count(Name)")

q = "select count(Name)from resu "


Dim mydatatable As New DataTable
Dim myadapter As New MySqlDataAdapter(q, con)
myadapter.Fill(mydatatable)
txtTotal.Text = mydatatable.Rows(0).Item("count(Name)")

q = "select count(Name)from resu where name = '" & lblAnshu.Text


& "'"
30
Dim mydatatableAnshu As New DataTable
Dim myadapterAnshu As New MySqlDataAdapter(q, con)
myadapterAnshu.Fill(mydatatableAnshu)
txtAnshu.Text = mydatatableAnshu.Rows(0).Item("count(Name)")

q = "select count(Name)from resu where name = '" & lblswati.Text


& "'"
Dim mydatatableSwati As New DataTable
Dim myadapterSwati As New MySqlDataAdapter(q, con)
myadapterSwati.Fill(mydatatableSwati)
txtSwati.Text = mydatatableSwati.Rows(0).Item("count(Name)")

q = "select count(Name)from resu where name = '" & lblManoj.Text


& "'"
Dim mydatatableManoj As New DataTable
Dim myadapterManoj As New MySqlDataAdapter(q, con)
myadapterManoj.Fill(mydatatableManoj)
txtManoj.Text = mydatatableManoj.Rows(0).Item("count(Name)")

End Sub
End Class

31
CHAPTER 6
CONCLUSION

This Online Voting system will manage the Voter’s information by which voter can login
and use his voting rights. The system will incorporate all features of voting system. Its
Provide the tools for maintaining voter’s vote to every party and it count total no. of votes
of every party. There is a DATABASE which is maintained by the ELECTION
COMMISION OF INDIA in which all the names of voter with complete information is
stored. In this user who is above 18 year’s register his/her information on the database and
when he/she want to vote he/she has to login by his id and password and can vote to any
party only single time. Voting detail store in database and the result is displayed by
calculation. By voting system percentage of voting is increases. It decreases the cost and
time of voting process. It is very easy to use and it is vary less time consuming. It is very
easy to debug.
1. The election process should safeguard the following principles: transparency,
verifiability, fairness, eligibility to vote, free, secret and equal suffrage, and accessibility.
These principles are the criteria by which existing and future methods of voting should be
judged.

2. In practice the election process cannot provide 100% safeguards, so it is necessary to


strike a balance between them. Feasibility and cost are also factors here, as is the point that
the election process must be flexible enough to respond to new developments.

3. The principles can only be safeguarded sufficiently when voting takes place at polling
stations.

4. Voting using paper ballots at polling stations is the preferred option on the grounds of
transparency and verifiability. In practice, however, there have been problems with the
counting of paper ballots.
32
5. A method of electronic voting at polling stations that provides equal safeguards is
feasible, provided it produces paper ballots that can only be checked by the voters
themselves.

6. The device on which voters make their choice should be protected against compromising
radiation where this is feasible and financially justified.

7. The introduction of voting at any polling station outside the voter’s municipality has
major consequences for the organization of the election process (the register of cancelled
voting passes and the distribution of votes to the various districts).

8. For voters living abroad or away from the India on account of their work or business or
that of their spouse, registered partner, partner or parent, and people unable to vote at a
polling station because of a physical impairment, the principle of accessibility can only be
safeguarded if other methods of voting than voting at a polling station are provided for
these groups.

9. The current election process does not provide sufficient access for voters with
impairments. Greater efforts therefore need to be made to allow them to vote
independently, so as to make them less dependent on proxy voting.

10. Internet voting for voters living abroad or away from the India on account of their work
or business or that of their spouse, registered partner, partner or parent, and telephone
voting for people with impairments that prevent them from voting at a polling station,
would improve access to elections for these particular groups of voters.

11. The current registration procedure for voters living abroad needs to be improved as
soon as possible, as it is cumbersome and arouses antagonism among those concerned.

12. Proxy voting is well established in the India and should be retained in the future
election process. The risk of proxies being misused by intercepting voter registration cards
or voting passes needs to be reduced.
33
13. If a register of non-residents were to be introduced in due course and all non-resident
Dutch citizens registered in it, re-registration for each election in which they are eligible to
vote would no longer be necessary.

14. Deciding what principles the election process should safeguard, organizing and
administering elections are a government responsibility. There is only a secondary function
for the private sector, as a supplier of aids used in elections.

15. The current election process does not provide adequate checks on compliance with the
law and regulations. If the election process is to be transparent and verifiable, the
organization and conduct of elections must be audited.

34
APPENDIX

CD CONTAINING LEXICAL ANALYZER COMPUTER SOFTWARE

Author's Identity: We (Prity Kumari, Anshu Kumari, Swati Kanojya, Manoj Kumar,
Kanav Sharma) are student of B.Tech, Department of Computer Science & Engineering,
School of Engineering of IFTM University Lodhipur Moradabad Completed our project
taking the help of our guide Assistant Professor Mr. Harpreet Singh Chawla.

Files in the CD:

35
CHAPTER 7

APPLICATIONS AND FUTURE WORK


Users are provided with a online registration form before voting user should fill online
form and submit details these details are compared with details in database and if they
match then user is provided with username and password using this information user can
login and vote. If conditions are not correct entry will be canceled. Advantages of using
this application is time saving and voting percentage can be increased and high security
can be implied for preventing false voting. This application contains two level of user’s
administrator level and voter level where each level has different functionality. Election
commission of India will update voter’s details to database regularly. In online voting
system project document students can find DFD diagrams, ER diagrams, system modeling
diagrams, class diagrams, database tables design and screen shots.

REFERENCES:

[1]. Sourceforge.com
[2]. Itsourcecode.com
[3]. www.google.com
[4].www.studymafia.com

36

You might also like