You are on page 1of 46

REPUBLIQUE DU CAMEROUN REPUBLIC OF CAMEROON

************ ************
PAIX-TRAVAL-PATRIE PEACE-WORK-FATHERLAND
************ ************
MINISTERE DE MINISTRY OF
L’ENSEIGNEMENT SUPERIEUR EDUCATION
************ ************
HIGHER INSTITUT OF TERTIARY THE UNIVERSITY INSTITUT
AND INDUSTRIAL TECHNIQUES OF THE TROPIC

ACADEMIC INTERNSHIP REPORT


DESIGN AND IMPLEMENTATION OF PRESIDENTIAL
ONLINE VOTING SYSTEM
An internship carried out from the 5 of August to the 31 August 2023 for an
academic award of the HIGHER NATIONAL DIPLOMA.

SPECIALITY: SOFTWARE ENGINEERING


WRITTEN AND PRESENTED BY:
KOUAMI TCHADJI MARCEL
(Matricule: 22IUO5846)
Under the supervision of:
Academic Supervisor Professional Supervisor
MR NDZO NKUM ROLLAND MR NDUMU DESMON
LECTURER AT IUGET ASCI COMPANY
ACADEMIC YEAR 2023 /
2024

CERTIFICATION

1
This is to certify that this report entitled design and implementation of presidential online
voting system is written and submitted by ITEBENG TSAPI ATHUR DONAL in partial
fulfillment for the award of Higher National Diploma in Software Engineering.

Under the superposition of:


Mr. NDZO Roland

Signature:
__________________
Date: ____________________

DEDICATION

2
THIS WORK
IS
DEDICATED
TO
ALL MY
LOVING ONE

3
ACKNOWLEDGEMENT
This work would not have been achieved without the precious help, the advice and the
encouragements of numerous people. For all the people found below, I express my sincere
recognition;

 The Director of the university institute of the tropic (IUGET) MR. JIOSEPH
NGUEPI
 My supervisor Mr. NDZO KUME ROLLAND for his support, help, his availability
during my period of practice.
 All the board of administration of IUGET for their teaching and their effort to assure
us a training of quality.
 MADAME EYOUM EMMA for her hospitality, advice and financial support.
 My parents, brothers and sisters for their immeasurable sustain and their
encouragement.
 Digiplus Consulting group
 My classmates for their support and advice.

4
PREFACE

This program has grown considerably in Cameroon over the past two decades. This change
has affected practically all fields, all sectors and all specialties. At the higher education level,
the government, by encouraging the creation of Private Higher Education Institutes has
enabled students to benefit from vocational training in the ten regions of Cameroon.

With the aim of ensuring its development and supplying its industry with supervisors and
qualified executives in different specialties, the State of Cameroon, by ministerial decree N
90/E/58/MINEDUC / DUET of December 24, 1971. Created a cycle of Brevet de Technician
Superior (BTS) and Higher National Diploma (HND). It is with this in mind that many
Private higher institutions have emerged. This is the case of ISTTI (now IUGET) which has
chosen to rely on quality by focusing on professionalism and ethics.

Indeed, the Higher Institute of Tertiary and Industrial Techniques in abbreviation ISTTI,
created by authorization N 08/0095/MINESUP of May 05, 2008 and opened by authorization
N14/0402/MINESUP/SG/DDES of 04 July 2014, was raised to the status of University
Institute of the Tropics (IUGET) by decree N° 18/03976/L/MINSUP/SG/
DDES/ESUP/SDA/AOSB of 15 May 2018 with its three schools (ISTTI, SOUTH
POLYTECH and the School of Health Sciences (SHS)).

This university institute provides students with training cycles leading to the obtaining of
diplomas at HND, BACHELOR and MBA levels in Following specialties:

INSTITUT SEFE RIEER DES SOUTH POLYTECH (SP) SCHOOL OF HEALTH


TECHNIQUES TERTIAIRES ET SCIENCES (SUS)
INDUSTRIELLES (ISTTI)

BTS COMMERCIAL BTS INDUSTRIEL BTS EN SANTE

- Commerce International - Bâtiment - Sciences infirmeries


- Marketing-Commerce-Vente - Travaux Publics - Sage-femme
- Banque et Finance - Géomètre Topographe - Kinésithérapies

5
- Comptabilité et Gestion des - Electro technique - Techniques de laboratoires
Entreprises - Génie logiciel et d’analyse médical
- Ressources Humaines - Sciences infirmières - Techniques
- Gestion Logistique et Transport - Sage-femme Kinésithérapie pharmaceutiques
- Douane et Transit - Techniques de laboratoires et
- Communication des organisations automatisme
- Assurance - D’analyse médicale
- Droit des Affaires et des - Informatique Industrielle et
Entreprises Automatisme
- Gestion de la qualité - Génie Logiciel
- Ingénierie Pétrolière
- Réseau et Sécurité
- Télécommunication
- Gestion des Systèmes d’Information
- Infographie et web design
- Maintenance des Systèmes
- Informatiques Energie
Renouvelable
- Maintenance des Systèmes
- Electroniques et Urbanisme

COMMERCIAL HND INDUSTRIAL HND HEALTH IIND

- Logistics and Transport - Building Science and Technology - Nursing


Management - Topography - Midwifery
- Marketing-Trade-Sale - Real Estate Maintenance - Physiotherapy
- Human Resource Management - Telecommunications - Medical laboratory
- Project Management - Networks and Security sciences
- Banking and Finance - software Engineering - Pharmacy technology
- Accountancy - Database Management
- International Trade - Industrial Computing and
- Journalism Automation
- Advertising and public relations
- Special Education
- Customs and Transit

LICENCEPROFESIONNELLE LICENCEPROFEXMONNELLE MASTER PROFESSIONNEL


ISITI SP ISTTI

- Commerce International - Génie Civil (bâtiment) - Commerce international


- Marketing Massage Opérationnel - Qualité-Hygiène Sark - Banque et Finance
- Banque et Finance - Environnement - Comptabilité et Finance
- Comptabilité et Finance - Génie logiciel - Audit et contrôle de gestion
- Audit et Contrôle de gestion - System informatiques et - Logistique et Transport
- Logistique et Transport Réseaux - Droit des affaires et

6
- Supply Chain Management - Télécommunications et d’entreprise
- Droit des affaires et conseil Réseaux - Fiscalité
d’entreprise - Génie Electrique et Industrielle - Gestion des Ressources
- Ingénierie de la Communication Humaines
- Gestion des Ressources humines - Marketing Communication

BACHELOR BAMENDA MASTER PROFESSIQAML BACHELOR EUROPEEN


SP

- Accountancy - Génie Civil (bâtiment) - Markéting de sport


- Banking and Finance - Qualité-hygiène Sécurit et - Marketing de luxe
- management Environnement - Commerce International
- Human Resource Management - Génie Logiciel - Gestion d’entreprise
- Maritime Transport and Logistics - Systèmes informatiques et - Banque
Réseaux - Communication Web
- Télécommunication et réseaux - Immobilier
- Génie Electrique et - Négociation-vente
informatique Industrielle - RG RS et Ressources
humaines

BACHELOR GIMPA MBAEMBA BAMENDA MEAMASTER EUROPEEN

-Operation and supply chain - Finance and Management - Banque


Management control - Assurance
-Marketing - Accountancy and Audit - Marketing Communication
-Human Resource Management - Banking and insurance - Management et Stratégie
-Project Management Finance - Marketing and communication d’entreprise
-Economics - Human Resource Management - Pilotage et contrôle de Gestion
-Entrepreneurship - Project planning and - Ressources Humaines
-Procurement Management Management - Development international
--Hospitality and Team
Management

During their training, students benefit from an academic internship ranging from (01 to 06)
months depending on the level of study. At the end of this immersion in business, they must
write an internship report or a dissertation thesis defended before a jury. This internship
requires an individual follow-up work in a logic of detection and problem solving allowing
the student-intern to formulate proposals or concrete suggestions in the face of a situation on
the ground.
ABSTRAC

School today is one of the most important aspect of life. And we talk about school,
automatically we also talk about the handling of it.

7
Many students have the difficulty in reading and understanding their lessons especially those
students preparing for the GCE both A and O level.
So, now there is a propose solution for all those students who like to test their knowledge
before the great day of the GCE exam.
The proposed solution is an ONLINE REVISION ASSISTANT, who actually prepare student
by asking them several random multiple chois questions on different subject they are
offering. At the end of the evaluation, the individual is going to be generated a report card
that would saw all scores on each subject. All with a general average.
By then, the individual will know were to revise more due to it marks obtained in each
subject.

RESUME

8
L'école est aujourd'hui l'un des aspects les plus importants de la vie. Et on parle d'école,

automatiquement on parle aussi de la gestion de celle-ci.

De nombreux étudiants ont des difficultés à lire et à comprendre leurs leçons, en particulier

ceux qui se préparent au GCE de niveau A et O.

Il existe donc désormais une solution proposée pour tous les étudiants qui aiment tester leurs

connaissances avant le grand jour de l'examen GCE.

La solution proposée est un ASSISTANT DE RÉVISION EN LIGNE, qui prépare réellement

l'étudiant en lui posant plusieurs questions aléatoires à choix multiples sur les différents sujets

qu'il propose. À la fin de l'évaluation, l'individu recevra un bulletin qui verra tous les scores

sur chaque sujet. Le tout avec une moyenne générale.

D’ici là, l’individu saura s’il doit réviser davantage grâce aux notes obtenues dans chaque

matière.

9
List of Figures
Figure 1: Architecture Diagram
Figure 2: Context Model Diagram
Figure 3, 3.1: Use Case Diagrams
Figure 4, 4.1, 4.2: Data Flow Diagrams
Figure 5, 5.1, 5.2, 5.3: Activity Diagram
Figure 6, 6.1, 6.2, 6.3: Class Diagrams
Figure 7: ER Diagram
Figure 8, 8.1: Sequence Diagram

10
List of Tables
Table 1: Admin Table
Table 2: Voter Table
Table 3: Candidate Table

11
Identification form of the company
On the 5/08/2023, AT douala-bonaberi, I attainted a continue program of internship in ASCI
company which was for one month. where my first class on ASCI was talking about and was
based on orientation and contact meeting between my classmates and our teachers. our
teacher was guiding us on the program we were to cover for the entire month. furthermore, a
brief explanation, capacity and history of ASCI company was told to us. They also tell us
about how our defense will look like, project to choose, and how to present it. They also
advise us to take Beter and different project from others that we should take projects which
have not yet been discovered and can solve certain problems in the society.
Different program that we were to cover was proposed to us such as (web application,
desktop application, front and back-ends web programming, and programming) during the
week, different programs were send in our group. Two projects were sent, a web
programming project containing. (HTML, CSS And JavaScript), and also a programming
project (code block), and it was to be submitted the next week. Group 1 2 3 and 4 were
invited in ASCI for the correction and checkup of the project given, and that was all for that
day. A new timetable was sent in the group telling us the rendez-vous of our next class in
which a new chapter was to be taught (bootstrap) that was send using a link by the teacher.
Bootstrap (it is a platform in the internet that serve as a template and help millions OS of web
developer and contains several and different variety of Web projects examples restaurantly,
shopping, medicine care, Zen Blog, Yummy, We Build, Vatican, Up Construction, Mentor
Etc. we were mostly concerned with “restaurantly” , where we were taught how to modify,
comment, edit ,how to navigate on the website from one page to another, how to link

12
different pages and how to organize our data in difference folders not necessary mixing
everything together in one folder.
on the next day, we were mostly base and focus on how to host a web page online and create
our personal account using the platform www.frehost.infinity.net in which If someone want
to see our work or what will did does not necessary need a copy from us, but can see, admire
and comments it online by using a link given to him/her to get access.
In restaurantly index.html the pages were group all in one, we therefore separate the pages so
each should be on a single page and we related them using “links”. And to do that, we use the
following steps:

Steps
 We created a new page on Sublime Text and in visual studio.
 We copy all the codes on the home pages and paste it on the about page.
 we change all the title or name of restaurant to about us.
 now we modify the page by commenting the about page for the page to show just the.
home footers and the bottom page.
 continue like that for all the other Pages using the open and close tag respectively
(<! -- and -->).
And that was all about my internship during my holidays.

13
List of abbreviation

HTTP – Hyper Text Markup Language


PHP – HYPERTEXT PREPROCESSOR
DBMS – Database Management System

TABLE OF CONTENTS

14
1. INTRODUCTION

The online voting system is the system that aims in reducing the complexity
and cost of the election process. Here the voter can vote in spite of his absence
in the particular locality. The administrator’s effort is much reduced by
checking the election status of all the localities individually forms a place and it
is easy for him to announce the election result. The administrator is the soul
controller of the online voting system in all process including refreshing the
votes, editing the voter details, creating new nominee and so on. Thus, the
online voting system can reduce the cost and effort of election process.
In this voting system each voter will be provided with a specific voter-id and
a password through which access for the voting can be granted. If once the
access is granted for a voter-id then the access is denied for logging in till the
voting system is refreshed for the next election. Similarly, the administrator

15
will be provided with a special id through which he can view the status of the
election.
Based on the id segregation between the voter and administrator is carried
out initially. If the user id is invalid then an error message will be displayed. If
the id entered is of type administrator, then an information i.e., the election
status will be displayed which changes dynamically. Otherwise, the voter
information will be displayed which changes dynamically depending on the
changes made which will proceed him to the next level in which he can cast his
vote and it is updated automatically.
The advantages of the online voting system are that the speed of information
retrieval and updating is made easy and other advantages are:
 Online implementation makes it easy for voters to participate in election.
 It becomes easier to conduct election.
 Election expenses can be reduced.
 Non-Residential citizens can also participate in the election.

1.1. Background of the study

The study of this online revision is based on the general fact that, generally before

the date of the examination reaches, teachers generally organize revision classes with

their students. Where they revised several passed GCE MCQ questions. By this

experience, I get the mind set of creating an online revision

1.2. Problem statement


Many students have the difficulty in reading and understanding their lessons
especially those students preparing for the GCE both A and O level.
And this is a big problem in the society there by pushing me to generate an Online
Revision solution.

16
1.3. Research Question
The following are questions that where been ask before carrying out the project
 What is the use of the site?
 What problem have promoted this proposed solution?
 Who is the target customer?
 How will new customer integrate the site?
 Would the site solve their problem?

1.4. Aim/Objective
For me, my end product objective is based on some factors which are being stated
below
 Self-improvement:
In building this project, my first objective is to test my knowledge and
making sure that I have improved in one way or the order

 The benefit of humanity:


In this project, my aim is to verify if all the target individuals will really
benefit from me

 Success from the end users:


We aimed to ensure that all our end users succeed by the caused of
using this site
1.5. Research hypothesis
 Do all students that will revised with this website succeed?
So, it will now depend on the different topics each subject would cover.

 Having more topics per subject will increased success?


By the seriousness of each individual working in the site, would be
assume to have a success in he/her exam

17
 If students don’t work with the website, then they might not do
better.

 If students work with the website, the they might do better.

1.6. Significant of the study


The theme online revision brought by me, (KOUAMI TCHADJI MARCEL) have
some important aspect
 To the intern;
For me as an intern, is very important because is an opportunity for me to
learn more and test my competence

 For the society;


This project is very significant because it is helping in school aspects. And we
know that education is the key of life

 For the government;


It is quite important because the government itself can customize the product
both nationally and internationally

1.7. Scope of the study


In all my research which is being done so far, ai have come across a big deal which
was even a challenge and letter became a Problem. The problem that actually
manages me, is the integration of an AI machine in to the software system

1.8. Structure of the work


The below simply indicate how the works are being structure before its creation
 By assuming the I am both the Business owner and the Product manager at
the same time; this means that I have the responsibility to coordinate the
building of the project

18
 The designing part is then done for a clean view of the system project. Which
is done by the designer
 Following by the Front-End coding
 Then then the Back-End coding is then followed
 After the above, I have now submitted a test just to verify if all is going
smoothly
 The product is now deployed by the Devops

1.9. Limitation of the study


Obviously, the investigation of this system was not quite easy as it is like, below
are some aspects that have hinder the development of the system
o Time;
personally, the time that I duct to do developed the system was quite
limited due to the fact the I started late which have hinder a time shortage
o Uneducated people:
due to lack of knowledge of some individual, the process of RESEACH
STUDY was quite difficult
o Pandemic;
some infected areas were no investigated in order to have complete data
collection
1.10. Definition of some terminologies
a) Front-End coding: this is the coding of all viewing part of the
software
b) Back-End coding: this is the coding of non-viewing part of software
such as; building the database
c) Devops: this is that software team part which is responsible for the
deployment of the software
1.11. F
1.12.

1.4.1 PROPOSED SYSTEM

19
The proposed system is divided into four stages: Register,
Authentication, Voting and Counting. All are based on the Client-
Server model.
Register Stage: First, all the users who want to vote in the election
ought to register in advance. Here, the user is provided with a
unique username and password that would later be used to log-in
on an election day.
Authentication: The registered voters will need to log-in using
access credentials provided at the registeration stage. They will be
allowed to vote once they are verfied.
Voting Stage: The voter casts his vote once he is verified. Then,
the vote is encrypted and stored.
Counting Stage: All the votes cast are decrypted and then result is
declared.
In order to encrypt and decrypt the votes, RSA algorithm is used.
This asymmetric primitive has a pair of two keys, the public key
and the private key. It involves three steps that are: key generation
(which occurs at the Registration Stage), encryption (during the
Voting Stage) and decryption (at the Counting Stage). Any
encrypted text with one key of the pair, can be decrypted with the
other one. If encryption occurs with the public key then it must be
decrypted using the private key and vice versa. The key pairs are
generated based on two large prime numbers that must be kept in
secret just as the private key. Then, AES-256 is implemented on
the system to grant the security needed to keep safe the
asymmetric cryptography keys that are being generated. The
encryption/decryption keys are stored in the Database with limited

20
access; however, they are encrypted using AES-256 before being
stored on the server.

1.4.2 GOALS OF THE SYSTEM

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.
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.
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.
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.
Immediate retrieval of information: - The main objective of
proposed system is to provide for a quick and efficient retrieval of
information.
Immediate storage of information: - In manual system there are
many problems to store the largest amount of information.
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.

21
1.4.3 TECHNOLOGIES USED

This project will be a Web application to be developed in PHP


having
 Database Design (My SQL)
 Form Design (HTML 4.0)
 Coding (PHP)
 Testing (XAMM SERVER)
 Reporting Tool (Data Report)
2 LITERATURE REVIEW

2.1 OLD METHODS OF VOTING

Paper-based voting: The voter gets a blank ballot and use a pen or a
marker to indicate he want to vote for which candidate. Hand-counted
ballots is a time and labor consuming process, but it is easy to
manufacture paper ballots and the ballots can be retained for
verifying, this type is still the most common way to vote.

Lever voting machine: Lever machine is peculiar equipment, and each


lever is assigned for a corresponding candidate. The voter pulls the
lever to poll for his favorite candidate. This kind of voting machine
can count up the ballots automatically. Because its interface is not
user-friendly enough, giving some training to voters is necessary.

Direct recording electronic voting machine: This type, which is


abbreviated to DRE, integrates with keyboard; touch screen, or
buttons for the voter press to poll. Some of them lay in voting records

22
and counting the votes is very quickly. But the other DRE without
keep voting records are doubted about its accuracy.

Punch card: The voter uses metallic hole-punch to punch a hole on


the blank ballot. It can count votes automatically, but if the voter’s
perforation is incomplete, the result is probably determined
wrongfully.

Optical voting machine: After each voter fills a circle correspond to


their favorite candidate on the blank ballot, this machine selects the
darkest mark on each ballot for the vote then computes the total result.
This kind of machine counts up ballots rapidly. However, if the voter
fills over the circle, it will lead to the error result of optical-scan.

Recent years, a considerable number of countries has adopted E-


voting for their official elections. These countries include; America,
Belgium, Japan and Brazil.

2.2 SECURITY ISSUES

Foreign experience revealed that they are often confronted by security


issues while the online voting system is running. The origin of the
security issues was due to not only outsider (such as voters and
attackers) but also insider (such as system developers and
administrators), even just because the inheritance of some objects in the
source code are unsuitable. These errors caused the voting system to
crash. The proposed solutions were correspondingly outlined to hold
back these attacks. For example, to avoid hacker making incursion into
the voting system via network, we can design our system to transmit

23
data without network. Another example is to limit voter to input
particular data, so that we can prevent the command injection from
running.

2.3 CURRENT SYSTEM DRAWBACKS

The problems of the existing manual system of voting include among


others the following:

Expensive and Time consuming: The process of collecting data and


entering this data into the database takes too much time and is expensive
to conduct, for example, time and money is spent in printing data capture
forms, in preparing registration stations together with human resources,
and there after advertising the days set for registration process including
sensitizing voters on the need for registration, as well as time spent on
entering this data to the database.

Too much paper work: The process involves too much paper work and
paper storage which is difficult as papers become bulky with the
population size.

Errors during data entry: Errors are part of all human beings; it is very
unlikely for humans to be 100 percent efficient in data entry.

Loss of registration forms: Some times, registration forms get lost after
being filled in with voters’ details, in most cases these are difficult to
follow-up and therefore many remain unregistered even though they are
voting age nationals and interested in exercising their right to vote.

Short time provided to view the voter register: This is a very big problem
since not all people have free time during the given short period of time
to check and update the voter register.

Above all, a number of voters end up being locked out from voting.

2.4 SYSTEM REQUIREMENTS

24
SOFTWARE REQUIREMENTS:

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.
NetBeans IDE 7.1.2- The NetBeans IDE is an award-winning
integrated development environment available for Windows, Mac,
Linux, and Solaris. The NetBeans project consists of an open-source
IDE and an application platform that enable developers to rapidly
create web, enterprise, desktop, and mobile applications using the Java
platform, as well as PHP, JavaScript and Ajax, Groovy and Grails, and
C/C++. The NetBeans project is supported by a vibrant developer
community and offers extensive documentation and training resources
as well as a diverse selection of third-party plugins.
JAVA coding- This is for advanced user who find PHP codes easy to
work with.
Testing- is done via WAMPSERVER.
Web browsers: Mozilla Firefox, Google chrome, Opera and Internet
Explorer
Reporting Tool i.e., through Data Report.

HARDWARE REQUIREMENTS:

Microsoft Windows XP Professional SP3/Vista SP1/Windows 7


Professional:

25
o Processor: 800MHz Intel Pentium III or equivalent

o Memory: 512 MB

o Disk space: 750 MB of free disk space

Ubuntu 9.10:

o Processor: 800MHz Intel Pentium III or equivalent

o Memory: 512 MB

o Disk space: 650 MB of free disk space

3 DESIGN

3.1 SOFTWARE REQUIREMENT SPECIFICATION

FUNCTIONAL REQUIREMENTS:

 Registration of the voter is done by the Administrator.


 Administrator can change the information any time if required.
 Registration of the Voter depends upon the information filled by
the user.
 Voter is given a unique ID and Password.
 Voter can give vote after login and entering the ID and
Password.
 In the Database information of every voter is stored.
 Database shows the information of every user to the
Administrator.

NON-FUNCTIONAL REQUIREMENTS:

26
 Secure access of confidential data (user’s details). SSL can be
used.
 24 X 7 availability on the voting day.
 Better component design to get better performance at peak time
on the Election Day.
 Flexible service based architecture will be highly desirable for
future extension.
 User friendly interface for inexperienced internet users.

3.2 SOFTWARE DESIGN

3.2.1 ARCHITECTURE DIAGRAM

Counting

Registration

Authentication

27
Voting Stage

Voter

Figure 1: Architecture Diagram


3.2.2 SYSTEM MODELS

3.2.2.1 CONTEXT MODEL

Voters Database
Voters
Management
System Update Voters
details

Online Voting
System
Registration
Add and
Remove
candidates
Candidates
Results Database

Figure 2: Context Diagram

28
3.2.2.2 BEHAVIOURAL MODEL

USE CASE DIAGRAMS

Figure 3: Use Case Diagram

Figure 3.1: Use Case Diagram

DATA FLOW DIAGRAMS

DFD LEVEL 0:

User
and
Administrator
29

System
Figure 4: Data Flow Diagram

DFD LEVEL 1:

Login Voter
Process Registration
Process

Voter Voting
information Process Final
checking Report
process
Figure 4.1: Data flow Diagram

30
DFD LEVEL 2:

Administrator Voter

Login Process

Voter Information Voting Final


Registration checking process Result

31
Voter data Stored Data Voting Data Results

Figure 4.2: Data Flow Diagram

ACTIVITY DIAGRAMS

LOGIN:

32
Figure 5: Activity Diagrams

VOTER DETAILS:

Figure 5.1: Activity Diagrams

CAST VOTE:

33
Figure 5.2: Activity Diagrams
STATUS:

The voter selects the


view to see the result

System displays the no. of vote


of each nominee & also winner

Figure 5.3: Activity Diagram

34
3.2.2.3 STRUCTURAL MODELS

CLASS DIAGRAMS

LOGIN:
Class diagram-Login

Login
user name
password
user id
authentication

authentication()

voter
User name administrator
User id User name
Password User id
Password
Validate()
Class diagram-Personal details Validate()

Figure 6: Class Diagrams


REGISTRATION:

Personal details
Administrator
Voter

View()
Edit()
Exit()
administrator
voter
user name
user name
voter id
voter id
DOB
DOB
Area
Area
Gender
Gender Figure 6.1: Class Diagrams Phone number
Phone number
Age
Age

35 View()
View()
Edit()
Exit()
Exit()
CAST VOTE:

Polling form
Nominee name Polling controller
Symbol
Validate()
Select()
Accept()

Poll account
Nominee name
Symbol
User name

Save()

Figure 6.2: Class Diagrams

STATUS:

View form Printer


Nominee name Nominee name
Symbol Symbol
No. of vote No. of voter

Display() Print()

View result account


Nominee name
Symbol
No. of voter

Save()

Figure 6.3: Class Diagrams

ER DIAGRAM

Voter Registration Candidates


Process36
Registered Voter Databas Registered Candidate
e

Add Voters Voting


Add
Candidates
Update Voter Update Candidate
Details Details
ADMIN

Delete Candidate

Check Results
Figure 7: ER Diagram
SEQUENCE DIAGRAMS

Figure 8: Sequence Diagrams

37
Figure 8.1: Sequence Diagrams

38
3.3 DATABASE DESIGN

The project uses three tables:


 Administrator Table
 Voter Table
 Candidate Table

ADMIN TABLE:
Field Name Data Description
Type

Username Varchar Login id for Admin. (Primary key)

Password Varchar Password for Login

Table 1: Admin Table

VOTER TABLE:
Table 2: Voter Table
Field Name Data Type Description

VoterId Integer Login id for Voter(Primary key)

Name Varchar Name of the voter

Sex Varchar Sex of voter

Age Integer Age of voter

City Varchar City of voter

Security Varchar Security Question

Status Boolean Status of voter(he/she can vote or not)

CANDIDATE TABLE:

39
Field Name Data Type Description

Symbol Varchar Party Symbol (Primary key)

Name Varchar Name of the voter

Sex Varchar Sex of voter

Age Integer Age of voter

City Varchar City of voter

Count Integer Count the no of votes

Table 3: Candidate Table

4 IMPLEMENTATION

4.1 USER INTERFACE

HOME WINDOW

40
SIGN UP WINDOW

LOGIN WINDOW

41
REGISTRATION FORM

SELECT REGION

42
SELECT CANDIDATES

43
5 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
the traditional Voting system. It provides the tools for maintaining voter’s vote
to every candidate and it counts total number of votes of every candidate. There
is a database which is maintained by the Administrator in which all the names
of voter with complete information are stored.
In this, user who is above 18 year’s registers their information on the database
and when they want to vote they have to login by their id and password and can
vote to any candidate only single time. Voting detail is stored in database and
the result is displayed by calculation. By online voting system the percentage of
voting increases. It decreases the cost and time of voting process. It is very easy
to use and it is very less time consuming. Also, it is very easy to debug in case
some of technical malfunction.

44
6 REFERENCES

1. Anderson C. (2006). How to Rig a Democracy: A Timeline of


Electronic Voting in the United States. The Independent. Retrieved
November 28, 2006 from: http://www.indypendent.org/?p=608
2. Bellis, M. (2007). The History of Voting Machines. Retrieved November
9, 2006 from: http://inventors.about.com/library/weekly/aa111300b.htm
3. Cranor, L.F., & Cytron, R.K. (1996). Design and Implementation of a
Security-Conscious Electronic Polling System. Washington University
Computer Science Technical Report (WUCS). Retrieved October 9, 2006
from: http://www.acm.org/crossroads/ords2-4/voting.html
4. Electronic Voting and Counting – Development of the System. (2005).
Elections ACT. Retrieved February 11, 2007 from:
http://www.elections.act.gov.au/EVACS.html http://www.iiec.or.ke/
5. Electronic Voting Systems, ACE Project – The Electoral Knowledge
Network, [online] 2013, http://www.aceproject.org May 19, 2013
6. Eliver Pérez Villegas, Gina Gallegos-García, Gualberto Aguilar Torres,
Héctor Flores Gutiérrez, Implementation of Electronic Voting System in
Mobile Phones with Android Operating System, Vol. 4 No. 9 September
2013, http://www.cisjournal.org
7. Hakan Evecek, Applying MESE processes to Improve Online E-Voting
Prototype System with Paillier Threshold Cryptosystem Web Services,
University of Colorado, Spring 2007.
8. Jürg Ritter, Decentralized E-Voting on Android Devices Using
Homomorphic Tallying, Bern University of Applied Sciences
Engineering and Information Technology CH-2501 Biel, Switzerland,
February 7, 2014

45
9. Roger S. Pressman, Software Engineering- A Practitioner’s Approach,
McGraw-Hill International Edition, Seventh Edition, 2009.
10. Software engineering 8th edition by Ian Sommerville.
11. Simply Voting System Project https://www.simplyvoting.com/
12. Wikipedia: http://en.wikipedia.org/wiki/Unified_Modeling_Language
13. Wikipedia: http://en.wikipedia.org/wiki/Electronic_voting

46

You might also like