Documente Academic
Documente Profesional
Documente Cultură
NIIT
-----------------------------------------------------------------------------------------------------------------
PROJECT REPORT
PROJECT ON ONLINE
VOTING SYSTEM
Nitin Bhasin
2013
PROJECT REPORT ON
PROJECT REPORT
ON
ONLINE
VOTING SYSTEM
NIIT
NIIT
ACKNOWLEDGEME
NT
NIIT
NIIT
DEFINITION OF TERMS
OVS - Online Voting System
NIIT
NIIT
Index
Abstract
Background Of Study
Significance Of Study
Objective of Project
Project Justification
Scope of Study
General Requirements
ER Diagram
Database Architecture
Database Tables
Database Queries
Conclusion
Appendix(Snapshots)
NIIT
NIIT
ABSTRACT
The word vote means to choose from a list, to elect or to
determine. The main goal of voting (in a scenario involving the
citizens of a given country) is to come up with leaders of the
peoples choice.
NIIT
NIIT
BACKGROUND OF STUDY
The Online voting system (OVS) also known as e-voting is a term
encompassing several different types of voting embracing both
electronic means of counting votes. Electronic voting technology
can include punched cards, optical scan voting systems and
specialized voting kiosks (including self contained direct-recording
electronic voting systems or DRE). It can also involve transmission
of ballots and votes via telephones, private computer networks, or
the internet.
NIIT
NIIT
With the ONLINE VOTING SYSTEM, a voter can use his\her voting
right online without any difficulty. He\She has to register as a
voter first before being authorized to vote. The registration should
be done prior to the voting date to enable data update in the
database.
However, not just anybody can vote. For one to participate in the
elections, he/she must have the requirements. For instance,
he/she must be a registered citizen i.e. must be 18 and above
years old. As already stated, the project Online Voting' provides
means for fast and convenient voting and access to this system is
limited only to registered voters.
NIIT
NIIT
SIGNIFICANCE OF STUDY
The main purposes of OVS include:
NIIT
NIIT
iii. Less capital, less effort, and less labor intensive, as the
primary cost and effort will focus primarily on creating,
managing, and running a secure online portal.
Project justification
The ONLINE VOTING SYSTEM-INDIA shall reduce the time
spend making long queues at the polling stations during
voting. It shall also enable the voters to vote from any part
of the globe as explained since this is an online application
available on the internet. Cases of vote miscounts shall also
be solved since at the backend of this system resides a well
developed database using MYSQL that can provide the
correct data once its correctly queried. Since the voting
NIIT
NIIT
SCOPE OF STUDY
It is focused on studying the existing system of voting in
Kenya and to make sure that the peoples vote is counts, for
fairness in the elective positions. This is also will produce:
Less effort and less labor intensive, as the primary cost and
focus primary on creating, managing, and running a secure
web voting portal.
NIIT
NIIT
NIIT
NIIT
Requirements:
1) Registration of the voter is done by ELECTION COMMISION
OF INDIA.
NIIT
NIIT
NIIT
NIIT
the given short period of time to check and update the voter
register.
SOFTWARE REQUIREMENTS:
i. MYSQL DBMS- It allows combination, extraction,
manipulation and organization of data in the voters
database. It is platform independent and therefore can be
implemented and used across several such as Windows,
Linux server and is compatible with various hardware
mainframes. It is fast in performance, stable and provides
business value at a low cost.
iii. JAVA coding-This is for advanced user who find PHP codes
easy to work with.
NIIT
NIIT
HARDWARE REQUIREMENTS:
Microsoft Windows XP Professional SP3/Vista
SP1/Windows 7 Professional:
Memory: 512 MB
Ubuntu 9.10:
Memory: 512 MB
NIIT
NIIT
(BLOCK DIAGRAM)
NIIT
NIIT
Login
Login Process
NIIT Election
Election
Administrat Commission
Commissioner
NIIT
ER Diagram:
Process
Registered Voter Databa Registered
se Candidate
Add Voting
Voters Add
NIIT Candidates
Update Candidate
Update
Voter Check ADMIN Details
Delete
NIIT
NIIT
NIIT
Architecture:
One Tier Architecture:
All users run their programs from a single machine. The ease
with which deployment and even development occurs makes this
model very attractive. The cost of the central machine makes this
architecture prohibitive for most companies, especially as system
costs and return on investment (ROI) are looked at carefully
nowadays.
NIIT
NIIT
Admin Table:-
Voter Table:-
NIIT
NIIT
Candidate Table:-
NIIT
NIIT
NIIT
NIIT
Database queries:
create database nitin
UserName Password
Admin
Administrator nitin Page
Voter Id
Sample Voter
123456 Id
Voter Id
NIIT
NIIT
CONCLUSION
NIIT
NIIT
APPENDIX :
SNAPSHOTS
NIIT
NIIT
package project1;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.*;
public Project1()
{
f=new JFrame("WELCOME");
l=new JLabel("Login As:");
b1=new JButton("Voter");
b2=new JButton("Election Commisioner");
b3=new JButton("EXIT");
b4=new JButton("INFO");
ic=new ImageIcon("C:\\Users\\OM SAI
RAM\\Desktop\\project_pics\\Democracy_quote.jpg");
j=new JLabel(ic);
NIIT
NIIT
NIIT
NIIT
String path="jdbc:mysql://localhost/";
String place="nitin";
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection(path+place,"niti","1234");
Statement stmt=con.createStatement();
ResultSet rs=stmt.executeQuery("Select count(*) from
candidate");
rs.next();
count=rs.getInt(1);
if(count==0)
{
b1.setEnabled(false);
}
else
{
b1.setEnabled(true);
}
f.setVisible(true);
con.close();
}
catch(Exception ae)
{
JOptionPane.showMessageDialog(f,ae.getMessage());
}
NIIT
NIIT
@Override
public void actionPerformed(ActionEvent e)
{
if((e.getSource().equals(b1)))
{
}
if(e.getSource().equals(b3))
{
f.dispose();
}
if(e.getSource().equals(b2))
{
Admin a=new Admin();
a.launch();
f.dispose();
}
if((e.getSource().equals(b4)))
{
}
}
}
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT
NIIT