Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 77

1|Page

A
Project Report
On
Online Voting System

Undertaken at

As a Partial Fulfillment for the


Software Engineering,
Under the sixth semester curriculum for the diploma of
Computer engineering

Submitted to

Guided by

Mr. Jigar Patel


Lecturer,
Computer Engineering Department,
VPMP POLYTECHNIC, Gandhinagar.

Submitted by
Dimpal A. Patel (136540307526)
Shivani P. Patel (136540307538)
Helisha S. Shah (136540307549)

Online Voting System


2|Page

VPMP POLYTECHNIC
GANDHINAGAR

CERTIFICATE

THIS IS TO CERTIFY THAT FOLLOWING STUDENT OF DCE SEMESTER 6 TH


HAVE COMPLETED THEIR PROJECT WORK ON “ONLINE VOTING SYSTEM ”
UNDER THE SUBJECT PROJECT-II(3360707) WITHIN THE FOUR WALLS OF VPMP
POLYTECHNIC GANDHINAGAR IN ACADEMIC YEAR 2015-2016.

STUDENTS NAME:

DIMPAL A. PATEL (136540307526)


SHIVANI P. PATEL (136540307538)
HELISHA S. SHAH (136540307549)

DATE OF SUBMISSION:

STAFF IN – CHARGE: HEAD OF DEPARTMENT

Online Voting System


3|Page

ACKNOWLEDGEMENT

Our Software, which you are using, is the result of many people’s dedication. It is the

cumulative efforts of many minds working together day and night that gave us the

contentment of developing the software.

Special thanks to, our project guide Mr.Jigar Patel, for his great support. We express

our gratitude to for guidance and who kept the things on track and also to all other faculty

members who helped us directly or indirectly.

Last but not least our acknowledgement goes to all the well-wishers of our project for their

excellent support in all aspects.

Online Voting System


4|Page

INDEX

PAGE
NO. TITLE
NO.

1. Introduction 5
2. Objectives 7
3. Problem definition and User Requirements 9
4. Technical Requirements 11

Front End of the System


5. 13
 Introduction of Front End

Back End of the System


6. 15
 Introduction of Back End

Detailed Description

7.  Modules information 17

 Pages information
System Analysis and Design

 Software Development model


 Feasibility studies
 Data Flow Diagram
8.  Use case Diagrams 27

 Data Dictionary
 E-R Diagram
 Activity Diagram
 Timeline Diagram
User Manual
9. 49
 Form layout

10. Testing and Implementation 69

11. Further Enhancements 72


12. Conclusion 74
13. Bibliography 76

Online Voting System


5|Page

INTRODUCTION

• Introduction of project in pointwise

Online Voting System


6|Page

• No of pages; 1 or 2

Online Voting System


7|Page

OBJECTIVES

Online Voting System


8|Page

• Objective of project

• No of pages: 1 or 2

Online Voting System


9|Page

PROBLEM DEFINITION

AND USER

REQUIREMENTS

Online Voting System


10 | P a g e

 Problem definition

 No of pages: 1

Online Voting System


11 | P a g e

TECHNICAL

REQUIREMENTS

Online Voting System


12 | P a g e

Hardware Requirements:-

• Processor – Quad Core and Upgraded versions

• RAM required– minimum 512MB

• Disk Space– 1gb of free disk space

Software Requirements:-

• Operating System– windows 7 onwards

• Browser– Chrome, Internet explorer or Mozilla Firefox

• Resolution– 1366 x 768

• Internet connectivity required

Online Voting System


13 | P a g e

FRONT-END OF SYSTEM

Online Voting System


14 | P a g e

• The online voting system uses PHP language as frontend.

• The front end is accessed by user directly.

• We selected PHP because it contains a rich set of features and it is a free source.

• PHP stands for Hypertext Pre-processor.

• PHP scripts are used to develop dynamic web page.

• The features include robust, platform independent, secured and HTML, CSS and

PHPscript can be written there.

• It is an open source, server-side, and HTML- embedded web scripting language for

building dynamic and interactive website.

• Its code is processed on server rather than on client side.

• Only processed output is presented to the client in html format.

• PHP can evaluate form data sent from a browser, talk to a database, and build custom

web content to serve the browser and send and receive cookies.

• When we type a PHP website in our browser, our browser sends a request to the

webserver.

• The webserver then calls the PHP script on that page, then the PHP module executes

the script, which then sends the result in form of HTML back to our browser.

• PHP can work on WAMP (Windows, Apache, MySQL,PHP), LAMP (Linux, Apache,

MySQL, PHP) and XAMPP (x-OS,Apache, MySQL,PHP, Pearl).

Online Voting System


15 | P a g e

BACK-END OF SYSTEM

Online Voting System


16 | P a g e

• The online voting system uses MySQL as backend.

• The backend is access by user indirectly through an external application.

• MySQL is selected by us because it an open-source database and has wide range of

storage capacity.

• MySQL is a relational database system, which basically means that it can store bits of

information in separate areas and link those areas together.

• MySQL is fast, easy to use Relational database management system (RDBMS).

• In MySQL, several number of queries can be fire on database.

• MySQL is developed, marketed and supported by MySQL AB, which is a Swedish

company.

• It is an open source, which means we don’t need to pay to use it.

• It works with languages like PHP, Perl, C, C++, Java etc.

• It supports large database, up to 50 million rows or more in a table.

• It is customizable which means programmer can modify software as per their own

requirement.

Online Voting System


17 | P a g e

DETAILED DESCRIPTION

Online Voting System


18 | P a g e

• “ONLINE VOTING SYSTEM” is an online voting technique.

• In this system people who are citizen of INDIA and whose age is above 18 can give

his/her vote without going to any polling booth.

• There will be a database in which the information of registered voters will be stored.

• The problems with existing System is:

 It is highly insecure and prone to election malpractice.

 It is slow and very time consuming.

 People have to give their valuable time for it and still they have to wait.

 The booth places are sometimes far from people, so some don’t vote due

to that fact.

• So to overcome this problems, Online Voting System is developed by us.

• In “ONLINE VOTING SYSTEM” a voter can use his\her voting right online without

any difficulty.

• He\She has to fill a registration form to register himself\herself.

• All entries will be store in database and will be verify by the authenticate person.

• If all the entries are correct then a PASSWORD is given to the voter, by using the

voter ID and PASSWORD he\she can use his\her vote.

• If conditions are wrong then that entry will be discarded.

• People get time to think to whom they want to give their vote and they can make a

correct choice by thinking.

• This project will a web application developed in PHP and using MySQL as its

database.

• For testing the project WAMP server will be use.


Online Voting System
19 | P a g e

• ONLINE VOTING SYSTEM contains-:

 Voter’s Names with ID.

 Voter’s vote in a database.

 Calculation of total number of votes.

 Voters information in database

Online Voting System


20 | P a g e

Modules:-
• The online voting system contains following modules:

- Admin

- Voter

- Party

- Registration and Login

- Result

Online Voting System


21 | P a g e

Admin Module

• The admin module can look after votes and provide security.

• Only the admin module can access the voter’s information.

• It can modify the site and can add new categories to system.

Voter Module

• The voter module can give vote.

• It can select options and fill the choices.

• The voter module will check that the vote is done once only.

Party Module

• In this module, information about parties can be updated and changed.

• It can update the candidates list in party.

Online Voting System


22 | P a g e

Registration and Login Module

• Through this module, the information of the voter is stored in database.

• It also checks that the voter who is registering is above 18 or not.

• The validation of dates and details are done by this module.

Result Module

 Result module is there to count the no. of votes and display results to the voters

 It will work in background and will calculate the total amount of votes.

Online Voting System


23 | P a g e

Pages:-

• The Online Voting System contains following pages:

- Home

- Registration

-Cast Vote

- Guide

- Candidate Info

- Party Info

- Ward Info

- Result

- Feedback

- Contact Us

Online Voting System


24 | P a g e

Home Page

 On home page you can know about online voting system.

 If you are an existing user then you can also login from the home page.

Registration Page

 The all details will be store in the database.

 On Registration page, voter can fill their information like name, address, voting id etc.

 They will obtain a password and unique user id from this page after verifying

information.

CastVote Page

 This is the main page of our system.

 The voter can vote for a candidate by checking his/her checkbox.

 The vote will be directly add to the counter in database.

 The voter also have to select their region according to it the list will be display of

candidates.

 This page contains time session which will be expired within 5 minutes.

Online Voting System


25 | P a g e

Guide Page

 The people who don’t know how to cast their vote online, they can take the help of

guide page to know the steps.

 The guide page contains the steps for casting vote in detail.

Candidate Info Page

 From candidate Info page voters can know about candidates to whom they want to

vote.

 It contains information about candidates such as their history, married status,

qualification, working status etc.

Party Info Page

 From Party Info page voters can know about voting parties.

 It contains information about parties such as their history, when it was established,

their leader info etc.

Online Voting System


26 | P a g e

Ward Info Page

 From ward info page we can get info about ward no and ward candidate name.

 It is helpful to know about candidate ward no.

Result Page

 Result can be check here.

 The voters can see the progress and can know who is on leading position.

Feedback Page

 The voters can give their Feedback about our online – voting system on this page.

 They can even send mail to us, if they have any new suggestions or problem.

 The feedback page is available for all, even people below 18 or unregistered

person.

Contact Us Page

 From this page you can contact the system developers.

 This page contain information about developers like their contact no, email-id etc.

 On this page you can complain on call or on our email id.

Online Voting System


27 | P a g e

SYSTEM ANALYSES AND


DESIGN

Online Voting System


28 | P a g e

SOFTWARE DEVELOPMENT MODEL


Software development is the computer programming, documenting, testing

and bug fixing involved in creating and maintaining applications and frameworks

involve in a software release lifecycle and resulting in software product.

SOFTWARE DEVELOPMENT LIFE CYCLE (SDLC)


SDLC is a framework that describes the activities performed at each stage of a software
development project.

- In Online Voting System, we have use Waterfall Model.

Online Voting System


29 | P a g e

WATERFALL MODEL

- Waterfall model is also called as “traditional waterfall model” or “conventional waterfall

model”.

- This model break down the life cycle into set of phases like.

- Feasibility study

- Requirements analysis and specification

- Design

- Coding and unit testing

- Integration and system testing

- Maintenance.

Online Voting System


30 | P a g e

Online Voting System


31 | P a g e

ADVANTAGES OF WATERFALL MODEL

- It is simple and easy to understand and use.

- Each phase has well defined input and output.

- In divides complex tasks into smaller, more manageable works.

DISADVANTAGES OF WATERFALL MODEL

- It may happen that the error may be generated at any phase and encountered in

later phase. So, it is not possible to go back and solve the error in this model.

- High amount of risk.

- It is a document driven process that requires formal documents at the end of

each phase.

Online Voting System


32 | P a g e

FEASIBILITY STUDY
The objective of Feasibility Study is to determine quickly and at the minimum

expense how to solve the problem and to determine the problem is solved. The

system has been tested for feasibility in following ways:-

1. Technical Feasibility

2. Operational Feasibility

3. Economical Feasibility

Online Voting System


33 | P a g e

Technical Feasibility:-
The software developed for the online voting system is used in client server

architecture with MySQL as Back end and PHP as Front end. Since the software

is platform independent and has predefined functions and constraints such as to

locate the charges validating functions etc. So the project is technically feasible.

Operational Feasibility:-
The architecture of the system such as Data entry, updating and deletion of

records from various tables etc. are made easy. So this project is operational

feasible.

Economical Feasibility:-
Since the cost of resources for development of system satisfies the organization,

the software is economically feasible.

Online Voting System


34 | P a g e

DATA FLOW DIAGRAM (DFD)

Admin Online Voting Voter

Level-0(Context Diagram)

Online Voting System


35 | P a g e

Level- 1

Online Voting System


36 | P a g e

USE CASE DIAGRAMS

Online Voting System


37 | P a g e

Online Voting System


38 | P a g e

E-R DIAGRAM:-

Online Voting System


39 | P a g e

ACTIVITY DIAGRAM

Online Voting System


40 | P a g e

Timeline Diagram

Online Voting System


41 | P a g e

DATA DICTIONARY

Database Name: evoting

Login_Master Table:-

Field Data Type Size Constraint Description

Username Varchar 100 Primary key id for Admin

Password Varchar 100 NOT NULL Password

Role Varchar 30 NOT NULL Role of person

Online Voting System


42 | P a g e

Registration_Master Table:-

Field DataType Size Constraint Description

Voter ID Varchar 10 Primary Key id for Voter

Name Varchar 100 NOT NULL Name of the voter

Gender Varchar 10 NOT NULL Gender of voter

Email-Id Varchar 100 NOT NULL Email ID of voter

Age Integer 4 NOT NULL Age of voter

Address Varchar 100 NOT NULL Address of voter

Pin code Integer 6 NOT NULL Area pin code

Contact
Integer 10 NOT NULL Contact no. of voter
No.

Area Varchar 100 NOT NULL Area of voter

Password Varchar 60 NOT NULL Password of voter

Online Voting System


43 | P a g e

Candidate Table:-
Field DataType Size Constraint Description
ID Integer 15 Primary key Candidate id

Name of the
Name Varchar 100 NOT NULL
candidate

Gender Varchar 100 NOT NULL Gender of candidate

birthdate of
Birthdate Date - NOT NULL
candidate

City Varchar 100 NOT NULL City of candidate

Contact no of
Contact no Integer 10 NOT NULL
candidate

Qualification of
Qualification Varchar 100 NOT NULL
candidate

Married status of
Marital status Varchar 100 NOT NULL
candidate

Name of candidate
Ward Name Varchar 100 NOT NULL
ward

Party Name of
Party Name Varchar 100 NOT NULL
candidate

Party id of
Party id Integer 100 NOT NULL
candidate

Working Working status of


Varchar 100 NOT NULL
status candidate

Online Voting System


44 | P a g e

Candidate_Master Table:-

Field DataType Size Constraint Description

CID number 100 Primary key Candidate id

CName Varchar 100 NOTNULL Candidate Name

Party Name of
PartyName Varchar 100 NOTNULL
candidate

PartyLogo Varchar 100 NOT NULL Logo of party

WardName Varchar 100 NOTNULL Ward of party

Votingdate:-

Field DataType Size Constraint Description


Votedate Date - NOTNULL Voting schedule

Online Voting System


45 | P a g e

Votecount_Master Table:-

Field DataType Size Constraint Description

Candidate ID Integer 100 NOT NULL Id of candidate

CandidateNam
Varchar 100 NOT NULL Name of candidate
e

Party Name Varchar 100 NOT NULL Name of party

Ward name Varchar 100 NOT NULL Name of ward

Vote count Integer 100 NOT NULL Total votes

Result_Master Table:-

Online Voting System


46 | P a g e

Field DataType Size Constraint Description

PRIMARY
VoterID Varchar 100 Id of voter
KEY

CandidateID Integer 100 NOT NULL Id of candidate

CandidateNam
Varchar 100 NOT NULL Name of candidate
e

Party Name Varchar 100 NOT NULL Name of parties

Ward Name varchar 100 NOT NULL Name of ward

Online Voting System


47 | P a g e

Feedback_Master Table:-

Field DataType Size Constraint Description

Name Varchar 100 NOT NULL Name of voter

EmailId Varchar 100 NOT NULL Emailid of voter

Feedback Varchar2 600 NOT NULL Feedback data

Rating varchar 100 NOT NULL Rating

Online Voting System


48 | P a g e

Ward _Master Table:-

Field DataType Size Constraint Description

Sr. no. Integer 100 NOT NULL Serial no.

Ward no Integer 100 Not null No. of ward

Ward name Varchar 100 NOT NULL Name of ward

Address Varchar 100 NOT NULL Ward address

Contact no Integer 10 NOT NULL Ward contact

Area Varchar 100 NOT NULL Ward area

Zone Varchar 100 NOT NULL Ward zone

Online Voting System


49 | P a g e

FORM LAYOUTS

Online Voting System


50 | P a g e

Homepage

Online Voting System


51 | P a g e

Registration Page

Online Voting System


52 | P a g e

Cast-Vote Page

Online Voting System


53 | P a g e

Guide Pages

Online Voting System


54 | P a g e

Online Voting System


55 | P a g e

Online Voting System


56 | P a g e

Party Information Pages

Candidate Information Page


Online Voting System
57 | P a g e

Ward Information Page


Online Voting System
58 | P a g e

Result Page

Online Voting System


59 | P a g e

Feedback Page

Online Voting System


60 | P a g e

Online Voting System


61 | P a g e

Contact Us Page

Online Voting System


62 | P a g e

Admin Home Page

Online Voting System


63 | P a g e

Admin Vote Scheduling Page

Online Voting System


64 | P a g e

Admin Candidate Page

Online Voting System


65 | P a g e

Admin Ward Page

Online Voting System


66 | P a g e

Admin Voters Page

Online Voting System


67 | P a g e

Admin Result Page

Online Voting System


68 | P a g e

Admin Feedback Page

Online Voting System


69 | P a g e

TESTING AND

IMPLEMENTATION

Online Voting System


70 | P a g e

When a system is developed, it is hoped that it performs properly. In practice however some

errors always occur.

The main purpose of testing is an information system is to find error and correct them. No

software is perfect.

The main objectives of information system testing are:-

 To ensure that during operation the system will perform as per specifications.

 To make sure that system meets user’s requirements during operation.

 To verity that the controls incorporated in this systems function as intended.

 To see that when correct inputs are fed to the system outputs are correct.

 To make sure that during operations, processing and output will be detected.

 To see that while working with the software, the software in any should not close if

logical or coded errors occur.

Information system testing is a comprehensive evaluation of the programs, manual

procedures, computer orations and controls.


Online Voting System
71 | P a g e

Information system may be classified as program tests, string tests, system tests, pilot tests

and parallel tests.

Types of bugs

 Logical bug

A bug which intends to do things wrong logical bug.

 Programming bug

A bug which intends to do a wrong thing that cases the program to crash

or exit itself with any confirmation or saving the data of current progress.

Online Voting System


72 | P a g e

FUTURE

ENHANCEMENT

Online Voting System


73 | P a g e

Through our e-voting system, user/voter can easily cast their vote simply from anywhere. E-

voting will increase the rate of votes and through our system everyone will able to cast their

vote freely without any problem or hesitation. This will save the time of people and will help

them to know the candidate more to whom they want to cast their vote. This will also reduce

the manual working process.

In future we will make it more secure for the voters to cast their precious vote by

implementing and using biometric technology.

We would love to collaborate with our government of India.

Online Voting System


74 | P a g e

CONCLUSION

Online Voting System


75 | P a g e

We have completed this project as per requirements. This project is fully able to work

with current situation. For making this project more users friendly in future we can

collaborate with govt. to work at that level. As this project is for the internal use we can cast

vote without any worry until it is not publish online.

Online Voting System is developed with lot of hard work and by taking reference of

our guide Mr. Jigar Patel.

Online Voting System


76 | P a g e

BIBLIOGRAPHY

Online Voting System


77 | P a g e

 www.w3school.com

 www.google.co.in

 www.wikipedia.org

 www.cssmenumaker.com

 PHP: The Complete Reference, By. Steven Holzner

 Software Engineering, By. Ian Somerville

 http://sec.gujarat.gov.in/e-voting-system.html

 www.onlinevotinggujarat.gov.in

Online Voting System

You might also like