Professional Documents
Culture Documents
BOARD
A PROJECT REPORT
Submitted by
1. NIGUSU ADEME TEE/984/06
2. HABTAMU SIMACHEW TEE/968/06
3. MELESE MISGANAWTEE/1113/06
4. WEYENSHET MELESE TEE/994/06
5. ABEBE ATINAF TEE/1138/06
6. BIRHAN BENAYEW TEE/960/06
in partial fulfilment for the award of the degree of
LAMESGINEW .A
--------------------------------------
ADVISOR SIGNATURE
COLLEGE OF TECHNOLOGY
DEBRE MARKOS UNIVERSITY
DEBRE MARKOS
JUNE 2009 E.C
1
Table of Contents
List of Table.....................................................................................................................................................iii
List of Figures..................................................................................................................................................iv
List of Acronyms..............................................................................................................................................v
CHAPTER ONE...............................................................................................................................................1
1. INTRODUCTION....................................................................................................................................1
1.1. BACKGROUND OF THE STUDY.................................................................................................1
1.2. STATEMENT OF THE PROBLEM................................................................................................2
1.3. OBJECTIVE OF THE PROJECT.....................................................................................................3
1.3.1. General Objective.....................................................................................................................3
1.3.2. Specific Objectives...................................................................................................................3
1.4. SCOPE OF THE PROJECT.............................................................................................................3
1.5. SIGNIFICANCE OF THE PROJECT..............................................................................................4
1.6. SYSTEM REQUIREMENTS...........................................................................................................6
1.6.1. Hardware Requirement.............................................................................................................6
1.6.2. Software Requirement...............................................................................................................6
1.7. DATA COLLECTION METHODOLOGY......................................................................................7
1.7.1. Interviews.................................................................................................................................7
1.7.2. Document Analysis...................................................................................................................7
1.8. FEASIBILITY STUDY....................................................................................................................7
1.8.1. Economic Feasibility.................................................................................................................7
1.8.2. Technical Feasibility.................................................................................................................8
1.8.3. Operational Feasibility..............................................................................................................8
1.8.4. Schedule Feasibility..................................................................................................................8
1.8.5. Legal Feasibility........................................................................................................................8
CHAPTER TWO..............................................................................................................................................9
2. SYSTEM ANALYSIS..............................................................................................................................9
2.1. Over View of Existing Problem........................................................................................................9
2.2. Problems of the Existing System Using Pieces Framework............................................................10
2.3. SYSTEM REQUIREMENT SPECIFICATION.............................................................................12
2.3.1. Functional Requirements........................................................................................................12
i
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
List of Table
Table 2.1Use Case Identification....................................................................................................................19
Table 2. 2: Login use case description............................................................................................................22
Table 2.3: Use case Registrations of Election committee description.............................................................22
Table 2. 4: Use case Post information description...........................................................................................23
Table 2.5: Use case Approve candidate description........................................................................................24
Table 2.6: Use case Generate reports description............................................................................................25
Table 2.7: Use case cast vote description........................................................................................................25
Table 2.8: Use case Search information description.......................................................................................26
Table 2.9: Use case View result description...................................................................................................27
Table 2.10: Use case Post nominated election committee description............................................................28
Table 2. 11: Use case candidate registration description.................................................................................29
Table 2.12: Use case voter’s registration description......................................................................................29
Table 2.13: Use case view candidate description............................................................................................30
Table 2.14: Use case updates user profile description.....................................................................................31
Table 2. 15: Use case create privilege description..........................................................................................32
Table 2.16 Use case create registrar description.............................................................................................32
Table 2.17: Use case data backup description.................................................................................................33
Table 2.18 Use case create polling station description....................................................................................34
Table 2.19 Use case Post announcement description......................................................................................35
Table 2.20: Use case maintain policy description...........................................................................................36
Table 2.21: Use case view information description........................................................................................37
Table 2. 22: Use case feedback description....................................................................................................38
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
List of Figures
Figure 2.1: use case diagram..........................................................................................................................21
Figure 2.2: Sequences diagram of login into the system.................................................................................39
Figure 2.3 Sequences diagram of Generate reports.........................................................................................40
Figure 2. 4 Sequences diagram of register candidate......................................................................................41
Figure 2.5 Sequences diagram of search information......................................................................................42
Figure 2.6 Sequences diagram of registration’s voter.....................................................................................43
Figure 2.7 Sequences diagram of cast vote.....................................................................................................44
Figure 2. 8 Sequences diagram of data backup...............................................................................................44
Figure 2.9 Sequences diagram of post announcement.....................................................................................45
Figure 2.10 Activity diagram of login to the system.......................................................................................46
Figure 2.11 Activity diagram of Generate reports...........................................................................................47
Figure 2. 12 Activity diagram of Search information......................................................................................48
Figure 2.13 Activity diagram of cast vote.......................................................................................................48
Figure 2.14 Activity diagram of registration of voters....................................................................................49
Figure 2.15 Activity diagram of creating privilege.........................................................................................49
Figure 2.16 Activity diagram of view information..........................................................................................50
Figure 2.17 class diagram...............................................................................................................................51
Figure 3.18 Design Class Diagram.................................................................................................................53
Figure 3.19 Database Design..........................................................................................................................57
Figure 3.20 Home page screen shut UI...........................................................................................................60
Figure 3.21 Deployment Diagram...................................................................................................................60
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
List of Acronyms
RAM------------ Random Access Memory
HTML----------Hypertext markup language
MYSQL-------My structural query language
EC--------------Election committee
DM--------------Debre markos
CPU------------central Processing unit
CSS-------------cascading style sheet
UML-------------unified modeling language
OS---------------operating system
VPIN-------------voter personal identification number
UC-----------------use case
HPR--------------house of people representative
(SSN)----------- Social Security Number
ICT----------------information communication technology
CHAPTER ONE
1. INTRODUCTION
1
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
registration problem, reduces age related problem for electors, protects those which are not eligible
to cast a vote due to court related cases, identifies localities of individuals very well, etc. The rest of
the document is organized as follows. In chapter-2, system analysis has been discussed. A system
design is discussed in chapter-3. In chapter-4, implementation of the proposed system will be
discussed. Testing of the developed system is shown in chapter-5. Finally, summary and conclusion
of the document are elaborated in chapter-6.
The existence system has a number of problems in the working procedure for the city and peoples.
These problems are: -
Lack of security: Poor security system because one can get easily the document and change what-
ever they want, loss of information etc. The manual election systems may not secure. For example
when election process occur, the peoples who gives voting may be forced by election committees
that gives service in station.
Time and resource consumption: by using such manual election system time and materials are
wasted. For example to record voters information and to give candidate cards the election board need
to organize the committee that implement these mission, the committees who give these service until
the elections are completed they loss their time. And the Election board pays out money to these
committees in order to succeed the election successfully.
It is difficult to keep our interest: All candidates’ information is not placed separately.
Lack of information:The manual information distribution system most of the peoples could not have
the habit of reading notice or accessing information from board. During the election time there is
crowded of voters in order to vote they must be waiting and spent their time in order to give their
voice. It may also inform some of information of candidate to peoples by themselves.
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
The other shortcoming of using manual system file lost, then after the peoples go back and ask
information about him or her following process about how to vote.
Requires high man power to handle the manual system, the need to print ballot paper is an expensive,
inflexible, environmentally hostile process, visual impairments and also last minute changes to the
voter register are difficult to accommodate among others. And counting is done manually, hence it
consumes a lot of time and there can be possibility of invalid votes. When we see the problems to the
voter side, there is low rate of response from voters due to lack of time or motivation in having to
complete forms and make the effort since this process has a queue and lake of keeping their secret.
All these makes election time and resource consuming, tedious and inconvenient task.
1. Pre Voting
- Register candidates based on qualification and provide complete profiles of them.
- Setting starting and ending date for both registration and voting.
- Generating secrete keys and distribute to voters and candidates.
2. Voting(voting process itself)
- Create account.
- Secure login procedure.
- Registrations of voters.
- Review complete candidates profiles.
- Give votes to the alleged candidates.
3. Post –Voting
- Counting votes.
- Generating the final result.
- Reset the election. Allow to conduct election again.
A second purpose is to make it more difficult to commit fraud and cheating during an election. In a
manual system, it takes time to register vote to select their representatives in correct way. By
creating an online database covering the entry it will be possible to eliminate the double casting of
votes. Peoples in DM city are well aware of available online services and, from the last few years
the Use of internet has increased. Peoples have developed interest in using internet for various
purposes. After looking above factors, the decision for online voting is more neutral than
before. The expenditure of an election will be decreased and it will cover peoples of all
within the city . It will be a facility for the people who have different problems such as mentioned
earlier. When this project finished it will be used for election commission or administrators, voters,
candidates. There are many benefits. Among these, there will be Reducing of manpower needed to
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
handle manual system because of this cost and time will be reduced. Voters will vote remotely via
wherever they are whenever they like. There will be valid votes and error free counting during
election process. Since it will be used in any place, it will motivate all citizens to participate in
election and make the service fast, easy and less time consuming and it will reduce the paper work
and make the election less tedious. This project will also support multi-user environment and will
create better environment for voting. The following are Significances of the system:-
Reason:
It is Faster compiler
Allows database integration with wide variety of application
It is the latest web based
New package & Deployment Wizard and additional internet capabilities
MySQL Database: -MYSQL is an open source relational database management system. It
is based on the structure query language (SQL), which is used for adding, removing, and
modifying information in the database. Standard SQL commands, such as ADD, DROP,
INSERT, and UPDATE can be used with MySQL.
Back-End: MYSQL
Reason:
Web browsers: Mozilla Firefox, Google chrome, Opera and Internet Explorer
WampServer: this software assists to create database or back end of the system, to run and
test system application
Editor: - Code lobster editor, Notepad++ and XML editor used to write codes.
Edraw Max:-For drawing different UML diagrams.
Browser like chrome and Firefox :- used to display webpages of the project
Anti-Virus Software: - used to keep secure, scan, fix Flash Disk and to prevent data
destruction and corruption.
Window 7 OS:-used to access, manipulate, update and manage files easily by searching on
the start menu.
1.7.1. Interviews
Information’s are gathered about the existing system from peoples by interviewing. This technique
is the way that uses to directly interface individually users like peoples to get what they need to get
from the system.
feasible since we are getting sufficient free software required for the project from Internet and
others materials are covered by the group members.
CHAPTER TWO
2. SYSTEM ANALYSIS
Many of the votes are not counted due to slight mistake by the voter, e.g. Voter left
Thumb impression in between two check boxes etc.
A small mistake can cause of rejection of vote.
Incorrect casted vote will lose.
Information
Lack of necessary information because data is not captured in time to be useful.
Because the current system cannot enhance the data validation in a meaningful manner,
voters often get incomplete and incorrect data.
Problem for duty staff to search the record of a particular voter.
Difficult to generate report timely
Lack of information cause problems in filling the forms.
Economics
The system offers inadequate controls to protect against fraud and embezzlement (mis-
use) to guarantee the accuracy and security of the data and information. E.g. Storage of
data that requested to store voters and candidates vote is not secured since it is placed in
manual form. There is no check and balance on the timings of casting votes as some in-
fluential Candidates let their own people cast vote even after the time is over; as it is nor-
mally From 2 AM till 11 PM. So this means people go on voting even after 11 PM.
Problem for election board to manage (control) the records.
Unauthorized vote casting.
Appointment of polling stations is problematic. Polling stations can help in corruption
during the polling, so many of the candidates try to appoint their own staff at their
polling stations and thus the authorities are approached by such candidates. Increasing
number of polling stations raises the number of staff required. Polling station is ap-
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
pointed away from the area where they belong to, thus many of the people could not cast
their vote.
Efficiency
Presiding Officers count the ballot papers, but human counting is usually slow.
Validating the Voter ID in time of registration, vote ID in time of vote and the votes in
time of vote counting takes much time.
The procedure of ratification or approving the required number of candidates from the
registered is boring, because the requesting process passes through different evaluation
levels.
Time is very important factor for measuring the efficiency of the system. The current
system requires a lot of time for vote counting process and registering voters.
Service
Communication made between voters, candidates and election officer is not modernized.
Sometimes voters and candidate have no clear understanding about the counting process
made.
Lack of information sharing accordingly, because they have no system connection
among polling stations.
Voter can caste vote after login and entering their voter VPIN
The system displays the result of the vote and the winner after vote
The system must provide voters with accurate data
It must adhere to government requirements
The system should supply standard reports for decision making
The system allow voting administrators to make updates to the voter information database
The systemset time for Registration, voting and viewing election result etc.
In general non-functional requirement describes constrains for implementing the project. Some of
them are; the central server have to be provided at secured area, the system must be maintainable
and expandable, the network infrastructure have to be private network, client machines at each of
the polling stations must be installed. In each of the polling stations there should be technically
supporting people. The voter should have also basic computer skills and training should be provided
to the voters on the demo version of the voting application. The input value which is used to
generate the encryption key must be provided from the election officials, and needs to be kept
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
securely, and others. Outlined below are some of the expectations of the system when
implemented:-
A. Reliability
The system should only be available during election time. Also in the occurrence of any
major system malfunctioning, the system should be available in 1 to 2 working days, so that
business process is not severely affected.
The electronic voting system software will be available for voter use only during normal
poll hours. During this time it shall be operational for as long as is possible.
The online voting system (e-vote) shall be robust enough to have a high degree of fault
tolerance. For example if there is an invalid entry, the system should not crash and shall
identify the invalid input and produce a suitable error message.
The online voting system shall impose a successful voter determination strategy in order to
determine a successful voter in order to avoid multi voting.
The online voting system shall be available during the voting hours of the voting day.
Failures and others natural catastrophes should rollback the database to their most recent
valid state.
B. Security
A top priority requirement for the proposed system is to have highly efficient and secure
features, to safe guard the integrity of the voting system. With the system recording confidential
information, users (voters and candidates) other than Election officers can only access part of
the system that is relevant to them. In order to make the system secure, four forms of security
measures are used where engineered into the system to safeguard the data flow within
the system and the information being stored in the database. The four measures to be used in
addition to the system’s login access facility are:-
System Access Attempts Log:- This security measure would enable the system to count the number
of attempts a user tries to log into system with a wrong password. The system should lock
the user out, if the attempted tries exceeds a certain number. This measure has been used to
prevent password guessing.
Session Control: - The system is with session controlled way to permit URL based system access.
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Password Encryption: -This security measure would be used to encrypt password entered into
the system through the use of an AES/MD5encryption algorithm, thus in the case of the
database being compromised, the password stored would be useless.
C. Performance
The software will only accommodate one user at a time. No simultaneous use of the
system by multiple voters, administrators, or a combination thereof shall be allowed.
Is hint of the responsiveness of a system to execute specific actions in a given time
interval. Our system is better component design to get better performance at peak time
the system should accommodate all Debre Marko’s city who are already register in voter
data base .(how many users can access your system simultaneously).
Response time of e-vote should be less than 5 second most of the time by the use of
latest browser, high speed processor ,high speed server based network etc. response
time refers to the time that the user should wait for before getting a response from a
system after querying it.
There might be many users accessing to the web server simultaneously. As an online e-
voting tool performance shouldn’t be affected much and response time for submitted
page should be less than a minute.
D. Usability
A voter may only cast a vote if they are eligible to vote.
A voter may only cast one (1) vote per election.
Users should be understood the menu and options provided by the system.
The system shall provide an easy to use interface so that the users do not strain to
interact with the system.
Any notification or error messages generated by the system shall be clear, policy
and free of jargon.
The interface should be initiative and easily navigable
E. Availability and accessibility
The system should be up and running whenever needed by the enhancements of
facility such as generator, which is used to increase availability when the power is
goes out.
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Create Registrars: Before the registration process begins, the election committee has to
create the username and password of the registrars.
Create Polling Stations: The election committee has to create the codes of the selected
polling stations before the vote casting process begins.
Post Maintain Policy: The election committee has to postrules and regulations of election
process.
Post announcement: Committee can post new announcements for voters in the election
process.
Cast Vote: people can vote online anywhere at any time in the schedule When the voter
keys the correct VPIN and poll station code to the system, the system will extract the
eligible candidates on that polling station, then the voters casts the vote by keeping the
rules.
View result: - after election is completed anyone who want to see the result able to view.
Post information: - the valid user can post their information on the web.
View information: - users view information from the web.
View candidate: - the details of candidate should be seen by users.
Check eligibility to cast a vote: When the voter registers to cast a vote, the system will
check whether the user is eligible to cast a vote or not.
Voters Registration: After the eligible registrars are created, the registrar will register the
voters and check voter requirements.
Search information:-find information from the system using system queries.
Update information: -This use-case describes the process by which valid users may add, re-
move or update ballot items. trusted
Approve election committee: The HPR approves the election committee nominated by the
prime minister.
Give Feedback: -users forward comments on the election process.
Logout:-after task is finished any user must logout the system.
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
requirements. The use cases, which the specific roles are played by the actors within and around the
system. Now the below are our actors [3]:
Search
information
Create privilege
Post information
extend
Backup database
Send request Candid
View log file
View candidate
Generate report
Cast vote
Administrator
view result
Update
information Voter
<<Include>>
<<Include>>
Parties
<<Include>>
Register candidate
View information Regi
Approve election
<<Include>> <<Include>>
committee
Create registrar
Register voters
Election committee Election
Create polling
station Extend
22
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Name Login
Actor Users
Description This use case describes how to access to the e-voting system
Precondition: Users of the system should have user name and password
24
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
tion
1. Open website if you want to 3. Check password and username and
register. return message and page.
Alternative course 1. If password and username entered by administratoris not valid return to ba-
of action sic course of action step 2 and try again.
Description Election committee can approve candidate that participate in the election as a
candidate.
Precondition: The candidate should have filled his/her application form that specified by
Electioncommittee.
Alternative course of If candidates do not full fill the criteria of the election, the EC can change
action other candidate.
Precondition: When there is relevant information or result that should be addressed to target
users
Basic course of ac-
User action System response
tion
1. The users login to the system by 2. Check if username and password are
their username and password. correct system responded valid page.
3. If username and password are 4. If not correct display error message.
correct page is displayed.
6. prepare report
7. end use case
Alternative course of If you are not able to report information right now, is better to try again.
action
Post condition Generate final Report.
Alternative course of 1 If the username and password is not correct go to step 1 basic course of ac-
action tion and login again.
2. If the voter votes more than one candidate. Then the system confirms please
vote only one candidate.
1. User of the system wants to search 5. The system responds the re-
data from the system. quested action.
2. User of the system opens the site of 6. The system display searched data
the system. or information to the wanted per-
3. Go to search button text area write son.
information search from database.
4. Click on search button.
7. The user views searched informa-
tion.
8. Use case ends.
Alternative course of 1 If the searching word not available the system generates alternative retry
action message to the web users, the user go to step 3 basic course of action and try
again.
1. The user should open the website. 4. The system respond requested ac-
2. The user can search information tion to the administrator.
they want to know. 5. The system display searched data
3. After searching necessary infor- or information.
mation click on view button. 7. System display successfully mes-
6. After getting necessary information sage.
they can view.
Alternative course of If all users can’t see the result of the election, try again and login to the sys-
action tem.
Alternative If the candidate is not valid agent or have note correct profile the election com-
mittee try to check candidate’s profile whether the candidate is valid or not.
course of action
Post condition Register candidate correctly.
1. Open website if you want to register. 3. Check password and username and
2. Enter password and username to go return message and page.
registration form. 6. Displaysuccessfully registered mes-
4. Password and username is valid fill sage.
the form correctly.
Alternative course 3. If password and username entered by people is not valid return to basic course
of action of action step 2 and try again.
1. The voter clicks view candidate 2. The system checks whether the
button. candidate registered to the system
3. The system displays the candidate or not.
details.
4. Use case ends.
Alternative course of Try again
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
action
Select the user data manipu- 3. The system check the user informa-
1.
lation page. tion is correctly registered or not.
2. Select the user data to be
modified.
4. The valid user performs oper-
ation.
5. Used case ends.
Alternative course of A. system check the operation
action 2. If user did not select the option.
3. The system display error message & go to step 2.
4. Use case ends
Post condition information is updated successfully
Actor Administrator
Alternative 4. If any complain make from people return to registrarprofile and check again.
course of ac-
tion
Post condition Selected registrar created successfully.
Alternative course 4. If administratoris not take backup correctly and the system of the database
of action cannot display necessary information and try again.
Description The election committee can post new announcements after getting login
Precondition: Login to the system using username and password and check existing policies
Alternative course Try again If the system should not successfully maintain policy.
of action
Post condition post announcement for improving policy
Description This describes the process of how the users view the information from the
website.
1. The user wants to open the 4. The system respond requested ac-
website. tion to the administrator.
2. The user can ask information 5. The system display searched data
they want to know. or information.
3. After searching necessary in- 7. System display successfully mes-
formation click on view but- sage.
ton.
6. After getting necessary infor-
mation they can view.
Alternative course If all users can’t see available information, try again and login to the system.
of action
Alternative course Comments not successfully send to the system, try again and fill the feedback
of action form.
53
CHAPTER THREE
3. SYSTEM DESIGN
54
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Voter's
Design Class Diagram
Can see Parties
-VPIN: Varchar(10)
-VFname varchar(50) Candidate's -Pname :varchar(50)
-VLname varchar(50) -CPIN:varchar(10) -Psymbol :varchar(20)
-Sex: Varchar(30) +CFname:varchar(50)
*
-Age: Varchar(30) Cast vote +CLname:varchar(50) +login( )
1 1
+CRD:date +post informarion( ) *
-Adress: Varchar(15) -CPIN:varchar(10) has +Status:varchar(15) 1 +search info()
can 1
-VPSN:
-VRD date
Varchar(10) 1 cast 1 -VPIN:varchar(10)
+TimeStamp:varchar(12)
1 * +party_symbol
Name
1
+view result()
+Login()
1 has + Login() +submite vote( ) + view result() c
+View result()
User account's +cancel vote( ) +post info() Election officer
-cast vote()
+View candidate() *
* +send feedback()
-cast vote()
+Name:string(15) o
-username:varchar(50) +View announcement() +search info()
+adress:string(20) n
-password:varchar(50) +search info() *
-Role: varchar(50) +give feedback() logical relation
Administrator
+view result()
t
-AFname varchar(50)
schedule
1
-ALname varchar(50) 1 +search info() r
+start date Log file -address varchar(24) o
+create account() +end date
set schedule updates
+Login()
l
setschedule() 1 check validation() +viewlogfile() Add & Manage
+backup() update 1
1 +update info ()
1
1system -give privileg() Election Committee
+generate report() 1
display +reg electionResult
committee() +login( )
+check eligibility()
+date +post announce( )
+setschedule() +party_name 1 +view vote result( )
can register +create registrar()
manage +display result()
<<publish>> +post maintan policy()
1 1
can see +approve candidate()
1 Registrar Approve +create pollistation ()
HPR +generate report()
-RFname varchar(50)
+view candidate()
-RLname varchar(50) Name 1 1 Prime minister
-sex varchar(5) +approve election committee ( can post -Name:string(20)
-adress varchar(50) ) -Status:string(25)
-PSN:varchar(20) +view info()
-religion type(20) +view result()
+Post nominated
election committee()
+login( )
+register voters( )
+view result()
+update info()
+generate report()
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
This section discusses classes and their variations, including templates and instantiated classes, and the relationships between classes
association and the contents of classes (attributes and operations).Class diagrams show the static structure of the model, in particular, the
things that exist (such as classes and types), their internal structure, and their relationships to other things
Figure 3.18Design Class Diagram
Tables: As shown in Fig.20, the database will consist of several tables. The tables are used for
storing the attributes of voters, candidates, polling stations, votes, election committee, administrator,
and registrar and election officer. The design is constructed to be used for the parliamentary
elections. To read the attributes of the tables easily, the following abbreviations are described as
follows.
Abbreviation Description
Voter table
57
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Candidate table
Administrator table
Parties table
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Registrar table
RID Registrar id
There are two tables with the same attributes (see Fig.3.20), i.e., PEVotes and PDVotes . The
PEVotes tables will hold votes submitted to parliament candidates. CPIN and VPSN are two of the
attributes in these tables, which are stored with encrypted format. But at the end of the election, the
content of PEVotes table will be copied to the corresponding PDVotes tables by decrypting the
encrypted attributes in the previous tables. The content of PDVotes will remain empty until the
votes become decrypted. The voter table will consist of VPIN, VFirstName, VLastName,
VPSN,Vsex,Vadress,Vage,Vphone and VRegDate. The VPIN will uniquely identify each record of
the voters .This attribute will be stored by converting its value into hashed format. The reason of
hashing the VPIN is to hide its identity. In case, if an attacker gets the chance to access the
database, it will be difficult to use the PIN. The voter table will be associated with PEVotes tables
with one-to-many relation. This is because with one VPIN, the voter will give votes for more than
one candidate, i.e., at least for one parliament candidates. The Candidates table will consist of
CPIN, CFirstName, CLastName, PatrySymbol, CCN and CRegDates. The CPIN attribute is the
primary key which will uniquely identify each of candidate’s record. CCN represents the
constituency number where the candidate registered. In one constituency, there can be many polling
stations. This tables associates with the PEVotes table with one-to-many relationship. This is to
enforce that with one CPIN, so many votes can be given. Similarly, Polling Station table will hold
PSN and PSName for identifying the selected polling stations.
WEB BASED ELECTION SYSTEM FOR ETHIOPIAN ELECTION BOARD
Home Page
Reference
http://www.electionethiopia.org.com(visited on June 20017,12:00 AM)
[1]
[2]
Douglas Bell “Software Engineering for Students,”, (4rd Edition), 2001
James Rumbaugh, “The Unified Modeling Language User Guide” (2rd Edition), 2004
[4]
Joseph Schuller, SAMS Teach Yourself UML in 24 Hours (3nd Edition), 2003
[5]
14, 2013