You are on page 1of 41

A Project Report On

“Online Voting System”

For the Partial Fulfilment of the Award of the Degree of


Bachelor of Computer Application of Veer Narmad South
Gujarat University, Surat

Bachelor of Computer Application [B.C.A]


Semester – V

By

Guided By

A.C.C. , M.I.B.M. & DEVIBA INSTITUTE OF COMPUTER


APPLICATON, SABARGAM

Year : 2023-2024

INDEX

Sr.No. Particulars Page No


1. Introduction

1.1 Introduction 1
1.2 Existing System 1
1.3 Limitations of Existing System 2

2. Proposed System

2.1 Introduction 3
2.2 Project profile 3
2.3 Limitation 7

3. Introduction to Development Environment

3.1 What is Php? 8

3.2 What can php do? 8

3.3 My SQL Server 2000 9

4. System Design

4.1 Task Dependency Diagram 10

4.2 Data Flow Diagrams 11

4.3 Entity Relationship Diagram 14


4.4 Data Tables 14

5. User Interface 17

6. Bibliography 29

 INTRODUCTION:
About Online Voting System.
Online Voting System is a simple system develop PHP MySQL database,
Using HTML, CSS, Bootstrap, JavaScript, Ajax, J Query, and Modal.
The main Purposes of the system is to count the vote, the voting system have admin and user,
the admin can control and manage the user, and the user is represent as voter.
Provide an overview of the online voting system.

Explain the purpose and objectives of the system.


The Online Voting is developed for the Cooperative Societies to carry out the voting
procedures of election. The current system posses the manual voting called ballot system
and the voting calculation done on manual basis which has more wastage of the time.
The demerit of the system is basically the invalid votes given by the voters which
can not easily identify.

The votes can be easily and early counted.

The over all percentage of the voting done can be done with out any error and soon.

The participating candidate’s performance can be calculated on the basis of the total votes.

The candidature total percentage of votes can be calculated.

The duplication process can be done easily.

The winner Candidates percentage of leading votes can be calculated for each area.

The voting process and the counting can be done very soon.

1. EXISTING SYSTEM:

In existing system, if you wish to vote for someone, then you have to go the destination
where The voting procedure is going on and then only you can vote for him or her.
Existing system does not provide people the way in which they can get the details about
the nominees as well .they can’t get to know the history of the people for whom they
are standing in queue for giving their votes.
The problems of the exisiting manual system of voting include among other the following.

Expansive and time consuming

Too much paper work

Errors during data Entry

Loss of registration forms

1. LIMITATION OF EXISTING SYSTEM:

 It is less user-friendly.
 Errors during data entry.
 Too much paper work .
 Expansive and time consuming.

 Loss of registration forms.

PROPOSED SYSTEM

1. INTRODUCTION :

The Online Voting is developed for the Cooperative Societies to carry out the voting procedures of
election. The current system posses the manual voting called ballot system and the voting calculation
done on manual basis which has more wastage of the time. The demerit of the system is basically the
invalid votes given by the voters which can not easily identify.

The main Purposes of the system is to count the vote, the voting system have admin and user,
the admin can control and manage the user, and the user is represent as voter.
Provide an overview of the online voting system.
Explain the purpose and objectives of the system.

The Administrator can perform the functions such as Insertion of the name, Deletion of the name,
updating the name and the authority to carry out the voting procedure. The User module provides
the user to see the names of all electing Candidates and vote the candidate.

The Administrator will have additional functionalities when compared to the common user. He
can add, delete and update the users details.

This application is developed using :- HTML

CSS

Bootstrap

PHP,

2. Project Profile

This Voting System contain one mainstream :- ADMIN

 Admin has the following functionality:

 User Registration:
 Create a registration page where users can sign up by providing their personal information.
 Validate user input, including email verification and password strength.
 Store user data securely in a database.

 User Login:

 Develop a login page where registered users can enter their credentials.
 Authenticate users by comparing their login credentials with the stored data in the database.
 Implement session management to keep users logged in during their session.

 Home Page:

 Create a home page that serves as the dashboard for users.


 Display categories or topics for voting.
 Provide an intuitive user interface for navigation.

 Category List:

 List the available categories or topics for voting.


 Allow users to select a category they are interested in.

 Voting List:

 Within each category, display a list of candidates, proposals, or options for voting.
 Include relevant information about each option, such as candidate names, descriptions, and images.
 Allow users to cast their votes securely.
 Ensure that users can only vote once per category or topic.

 Vote Counting:

 Implement a mechanism to securely tally votes in real-time or at the end of the voting period.
 Ensure transparency and security in the vote counting process.

 User Documentation:

 Provide comprehensive user documentation and help guides.


 Include instructions on how to register, log in, browse categories, and cast votes.
 Explain the voting process, including any rules or restrictions.

 Security:

 Implement robust security measures to protect user data and the integrity of the voting system.
 Use encryption to secure data transmission and storage.
 Prevent unauthorized access and protect against common security threats.

Testing and Quality Assurance:


 Thoroughly test the system to identify and fix any bugs or vulnerabilities.
 Perform load testing to ensure the system can handle a large number of concurrent users.
 Conduct security audits to identify and address potential security issues.

 Scalability:

 Design the system to be scalable so that it can accommodate a growing number of users and
categories.

 Compliance:

 Ensure that the system complies with any relevant legal and regulatory requirements, such as privacy
laws and election regulations.

 Feedback and Support:

 Implement a feedback mechanism to collect user feedback and suggestions.


 Offer customer support to assist users with any issues or questions.

 Maintenance and Updates:

 Regularly update and maintain the system to address security vulnerabilities, improve perf

13.
o ormance, and add new features.
14. User Engagement:
o Implement features like notifications to keep users informed about upcoming votes or
election results.
o Consider adding features like comment sections or discussion forums for user engagement.
15. Accessibility:
o Ensure that the system is accessible to users with disabilities by following web accessibility
standards (e.g., WCAG).

Building an online voting system is a complex endeavor that requires careful planning, development, and
testing. It's essential to prioritize security, user experience, and transparency to build a reliable and
trustworthy platform. Additionally, you should keep up-to-date with any changes in laws and regulations
related to online voting systems to ensure compliance.
2. BASIC FUNCTIONALITY OR SCOPE & OBJECTIVE :

1. User Registration and Authentication:


o Allow eligible voters to register with the system.
o Verify the identity of users through secure authentication methods, such as email verification
or two-factor authentication.
2. User Management:
o Provide user profiles with personal information.
o Allow users to update their profiles and reset passwords if needed.
3. Election Setup:
o Enable administrators to create and configure elections.
o Define election parameters, including start and end dates, eligible voters, and
candidate/option details.
4. Voting Process:
o Present voters with a list of candidates, proposals, or options to choose from.
o Ensure that each voter can cast only one vote per election.
o Offer a secure and anonymous voting process.
5. Security and Privacy:
o Implement robust security measures to protect user data, election integrity, and
confidentiality.
o Encrypt data transmission and storage.
o Protect against fraudulent activities, vote tampering, and unauthorized access.
6. Result Tallying:
o Automatically count and tally votes in real-time or after the election ends.
o Display accurate and transparent results to authorized individuals or the public, depending on
the election type.
7. Audit Trail:
o Maintain a detailed audit trail to track all actions and changes made within the system.
o Ensure transparency and accountability.
8. Accessibility:
o Design the system to be accessible to users with disabilities, following web accessibility
standards (e.g., WCAG).
9. Notification and Communication:
o Notify eligible voters about upcoming elections.
o Send reminders to encourage participation.
o Keep voters informed about the progress and results of elections.
o

pg. 8
10. Reporting and Analytics:
o Provide administrators with tools for generating reports and analytics to evaluate voter
turnout and election results.
o
11. Compliance:
o Ensure that the system complies with relevant legal and regulatory requirements, such as
o privacy laws and election regulations.
12. Support and Help Center:
o Offer user support to assist with any issues or questions.
o Provide comprehensive documentation and guides for users and administrators.
13. Scalability:
o Design the system to handle a large number of concurrent users and elections.
o Plan for scalability as the system grows.
14. Maintenance and Updates:
o Regularly update and maintain the system to address security vulnerabilities, improve
performance, and add new features.
15. User Feedback and Engagement:
o Implement features for collecting user feedback and suggestions.
o Encourage user engagement through features like comment sections or discussion forum

pg. 9
Functionality:

The primary goal of an online voting system is to make the voting process accessible, secure, and efficient
for eligible voters while ensuring the integrity of elections. Depending on the specific use case (e.g.,
government elections, corporate board elections, or online polls), the system's functionality and features may
vary, but the core objectives remain consistent.

Scope:-

The fundamental goal of an online voting system is to streamline the voting process, making it accessible
and efficient while maintaining the highest levels of security and transparency. Depending on the specific
context and requirements, additional features and complexities may be added to meet the needs of the
organization or election authority using the system.

Objective:

The primary objectives of an online voting system are to make the voting process convenient, accessible,
and secure for eligible voters while ensuring the integrity of the elections. Additional features and
complexities may be incorporated based on specific requirements and the context in which the system is
deployed.

3. LIMITATION:

 Technical Issues:

 Technical glitches, server outages, or software failures can disrupt the voting process and potentially
lead to lost or manipulated votes.

 Privacy Issues:

 Maintaining voter privacy is challenging in an online environment. It's difficult to guarantee that
voters can cast their ballots without anyone coercing or monitoring them.

 Trust and Confidence:

 Building trust in online voting systems is a significant challenge. If voters do not trust the system's
security and fairness, they may be reluctant to participate.

 Cost and Infrastructure:

 Setting up and maintaining secure online voting systems can be costly, and many regions may not
have the necessary infrastructure in place.

pg. 10
 INTRODUCTION TO DEVLOPMENT ENVIRONMENT

1. WHAT IS PHP?

PHP is an open-source, interpreted, and object-oriented scripting language that can be


executed at the server-side. PHP is well suited for web development. Therefore, it is
used to develop web applications.

o PHP stands for Hypertext Preprocessor.


o PHP is an interpreted language, i.e., there is no need for compilation.
o PHP is faster than other scripting languages, for example, ASP and JSP.
o PHP is a server-side scripting language, which is used to manage the dynamic
content of the website.

o PHP can be embedded into HTML.


o PHP is an object-oriented language.
o PHP is an open-source scripting language.
o PHP is simple and easy to learn language.

2. WHAT CAN PHP DO?

o PHP can generate dynamic page content.


o PHP can collect form data.
o PHP can send and receive cookies.
o PHP can add, delete, modify data in your database.
o PHP can be used to control user-access.
o PHP can encrypt data.
o PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
o PH is compatible with almost all servers used today (Apache, IIS, etc.).
o PHP supports a wide range of databases.
o PHP is easy to learn and runs efficiently on the server side.

pg. 11
3. MYSQL SERVER

o The MySQL server works in a client and server system.


o MySQL is a database system used on the web.
o MySQL is a database system that runs on server.
o MySQL is ideal for both small and large applications.
o MySQL is very fast, reliable, and easy to use.
o MySQL uses standard SQL.
o The data in a MySQL database are stored in tables. A table is a collection
of related data, and it consists of columns and rows.
o PHP combined with MYSQL are cross-platform.
o PHP connect to MySQL by using mysqli_connect().
o The MySQL server works in a client and server system.

pg. 12
SYSTEM DESIGN:

1. TASK DEPENDENCY DIAGRAM

pg. 13
2.DATA FLOW DIAGRAM:-

CONTEXT DATA-FLOW-DIAGRAM

pg. 14
USER SIDE DFD-1st LEVEL

pg. 15
ADMIN SIDE DFD-1ST LEVEL

pg. 16
3.DATA TABLE:

USER-

Column Type Size Default


id Int 30 Primary-key

name Varchar 200

username Varchar 100

Password Varchar 200

type Tinyint 1

CATEGORIE LIST:-

Column Type Size Default


id Int 30 Primary-key

category text

pg. 17
Votes:-

Column Type Size Default


id Int 30 Primary-key

Voting_id Int 30

Category_id Int 30

Voting_opt_id Int 30

User_id int 30

Voting Cat Setting:-

Column Type Size Default

id Int 30 Primary-key

Voting_id Int 30

Category_id Int 30

Max_selection Int 30

pg. 18
Voting list:-

Column Type Size Default


id Int 30 Primary-key

Title Varchar 250

Description Text

Is_default tinyint 1

Voting Option:-

Column Type Size Default


id Int 30 Primary-key

Voting_id Int 30

Category_id Int 30

Image_path Text

Opt_txt Text

pg. 19
USER INTERFACE

Login Page:-

pg. 20
Category list:-

voting list:-

pg. 21
User :-

Voting Sample:-

Admin Home Page :-


pg. 22
pg. 23
Administrators /logout:-

BIBLIOGRAPHY : - Youtube , Google;

pg. 24
pg. 25
pg. 26
pg. 27
pg. 28
pg. 29
pg. 30
pg. 31
pg. 32
pg. 33
pg. 34
pg. 35
pg. 36
pg. 37
pg. 38
pg. 39
pg. 40
pg. 41

You might also like