Professional Documents
Culture Documents
Online Student Union Voting Management System
Online Student Union Voting Management System
Online Student Union Voting Management System
SCHOOL OF INFORMATICS
DEPARTMENT OF COMPUTER SCIENCE
TITLE:WEB BASED STUDENT UNION VOTING
MANAGEMENT SYSTEM FOR WSU
PREPARED BY:
NAME OF GROUP MEMBER ID NO
This group project proposal entitled “WEB BASED STUDENT UNION VOTING
MANAGEMENT SYSTEM(VMS) FOR WSU” has been read and approved as
meeting the preliminary final project requirements of the department of Computer
Science in Partial Fulfillment for the award of the degree of BSc. in Computer Science in
Wolaita Sodo University, Ethiopia. This senior group project proposal has been approved
with the signature of Advisor, Examiners and Department Head of Computer Science.
Examiner 1 Signature
Date
Examiner 2 Signature
Date
Table of Contents
Approval sheet...................................................................................................................ii
List of figures.......................................................................................................................v
2|Page
List of table..........................................................................................................................v
Acknowledgment................................................................................................................vi
Abstract..............................................................................................................................vii
Acronyms.........................................................................................................................viii
CHAPTER ONE: INTRODUCTION..................................................................................1
1.1. Existing system 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 Objective...............................................................................................3
1.4. Scope and Limitation of the Project..........................................................................4
1.4.1. Scope of the Project............................................................................................4
1.4.2. Limitation of the project.....................................................................................4
1.5. Significance of the Project........................................................................................4
1.6. Methodology.............................................................................................................5
1.6.1. Data gathering technique....................................................................................5
1.6.2. Design Methodology..........................................................................................5
1.6.3. Implementation Methodology............................................................................6
1.6.4. Testing Methodology.........................................................................................7
1.7. Feasibility study........................................................................................................7
1.7.1. Technical feasibility...........................................................................................7
1.7.2. Operational feasibility........................................................................................8
1.7.3. Economic feasibility...........................................................................................8
CHAPTER TWO: REQUIREMENT ANALYSIS DESCRIPTION..................................9
2.1. Overview of the existing system...............................................................................9
2.1.1 Activities of the existing system.......................................................................10
2.1.2 Problem of Existing System..............................................................................10
2.1.3. Strength, Weakness, opportunity, and threats (SWOT)...................................11
2.2. Overview of the proposed system...........................................................................12
3|Page
2.2.1. Functional Requirements..................................................................................13
2.2.2. Non-Functional Requirement...........................................................................15
2.2.3. Systems Requirement.......................................................................................16
2.2.4. User Requirement.............................................................................................16
2.2.5. Business Rules..................................................................................................17
CHAPTER THREE: SYSTEM MODELING...................................................................17
3.1 Use case Model........................................................................................................17
3.1.1. Actor Specification...........................................................................................18
3.1.2. Use case Diagram.............................................................................................18
3.1.3. Use case description.........................................................................................19
Table 3.8 Use case description for View result..........................................................25
Table 3.9 Use case logout...........................................................................................26
3.2. Sequence Diagram..................................................................................................30
3.3. Class diagram..........................................................................................................38
3.4 Activity diagram......................................................................................................39
CHAPTER FOUR: SYSTEM DESIGN............................................................................42
4.1 Design Goals............................................................................................................43
4.2. System Decomposition...........................................................................................44
4.3. System architecture.................................................................................................46
4.4. Deployment Diagram..............................................................................................47
4.5. Persistence Data Management................................................................................48
4.6. Access Control and security....................................................................................49
4.7. User Interface Design..............................................................................................50
CHAPTER FIVE...............................................................................................................50
5. Implementation Techniques and tools.......................................................................50
5.1 Over view of the programming language used............................................................51
5.2 Techniques of implementation....................................................................................51
5.3 . Hardware....................................................................................................................51
5.4. Software:.....................................................................................................................51
4|Page
5.5. Major activities of system implementation in our system..........................................52
5.5.2. Installation...............................................................................................................52
List of figures
Figure3.1Use case diagram................................................................................................19
Figure3. 2 Sequences diagram of login into the system....................................................31
Figure3. 3 Sequence diagram for Approve committee......................................................32
Figure3. 4 Sequence diagram for candidate register.........................................................33
5|Page
Figure3. 5 Sequence diagram for approve candidates.......................................................34
Figure3. 6 Sequence diagram for Search...........................................................................35
Figure3. 7Sequences diagram for generate report.............................................................36
Figure3. 8Sequences diagram for vote/choose..................................................................37
Figure3.9Sequences diagram for logout for all users........................................................38
Figure3.10 Class diagram..................................................................................................39
Figure3.11 Activity diagram of login to the system..........................................................40
Figure3.12 Activity diagram of vote.................................................................................41
Figure3. 13 Activity diagram for create account...............................................................42
Figure4.1 System Decomposition diagram........................................................................45
Figure4. 2 System architecture.........................................................................................47
Figure4. 3 Deployment diagram........................................................................................48
Figure4. 4 persistence data management diagram.............................................................49
List of table
Table 1.2 budget analysis....................................................................................................9
Table 3.1 actor specification..............................................................................................18
Table 3.2 Use case description for login...........................................................................19
Table 3.3 Use case description for Approve election committee......................................20
6|Page
Table 3.4 Use case description for register candidate.......................................................21
Table 3.5 Use case Approve candidate..............................................................................22
Table 3.6 Use case description for vote.............................................................................23
Table 3.7 Use case Generate reports..................................................................................24
Table 3.8 Use case description for View result.................................................................25
Table 3.9 Use case logout..................................................................................................26
Table 3.10 Use case description for Create Account.........................................................27
Table 3.11 Use case documentation for Post announcement............................................28
Table 3.12 Use case description for view candidate..........................................................29
Table 4. 1 System access control.......................................................................................49
Acknowledgment
First of all we want to thanks the glorious and almighty ‘GOD’ for each and everything
throughout our life for keeping our safe, staying power and energy starting from to get in
to the friendship up to the day we have prepared this project documentation successfully.
Secondly we want to take this opportunity to express deepest appreciation and heart full
thanks to the respected adviser Temesgen and Instructor Teachers for their great
7|Page
contribution and advice in our project documentation and source code what we have to do
timely and efficiently. And we would like to express more and more our supporter
Wolaita Sodo University’s student unions, their provide the information to support,
encouragement, comments and gives necessary information for us on during preparation
of this project. Finally we want to say special thanks to our classmates to gave more
information what our system would going well and supports us to continue at the end of
prepared this documentation.
Abstract
This documentation explains about online student’s union voting system which we would
develop for Woliata Sodo University. Currently the services that are given in student
union voting system is handled manually and the number of students who is getting
service that are increasing every year. So to give the services and manage become very
difficult as student union voting system handled its every day activity manually. Having
the above problem, we are going to solve this by making online student voting System.
8|Page
This voting system claims to change the manual voting system in to Online. The system
is very interactive and useful for Wolaita Sodo university students since it is applicable
anywhere in the same functionality. Online voting system used to register, vote, contest
online and count the votes casted by the voters. It is advantageous in reducing the
complexity of the election process. We have developed this project using PHP as front
end MY SQL as back end.
Acronyms
CPU: Central processing Unit
9|Page
GUI: Graphical User Interface
10 | P a g e
CHAPTER ONE: INTRODUCTION
Nowadays use of information and communication technology in all over the global world
is become very advantageous in each and every activity. Due to this advantage we are
interested to develop online student union voting system. Students union is the most
important and crucial thing to get proper attention to academic problems of students and
convey the same to the respective authority. Some of the problems that student union
addresses include academic problems such as, food, dormitory problem etc. To solve the
above problems effectively, we need an effective student union committee. The current
system aids us to elect an effective student union committee. Online Student voting
development is to provide all students of the Wolaita Sodo University with the ability to
quickly, easily and securely vote in their Student Union voting when one or more of the
various elections held each year. By circumventing the need for students to attend voting
stations in person, saving time, effort and the other barriers to voting this will help to
increase voter turnout and thereby make any decision more representative of the
electorate’s views.
1|Page
1.2. Statement of the problem
The existence system has a number of problems in the working procedure for university
and students. At present Wolaita Sodo University does not having any computerized
system to deal with the vote system. The only thing is the employer or whoever
concerned needs to contact the office of registrar or academic record office for such
purposes can contact the registrar and then get the information or the process. This is one
of the great impacts on Wolaita Sodo University. Some of these problems are:
Lack of security in the existing system: Poor security system because one can get
easily the document and change whatever they want, loss of information etc. The
manual election systems may not secure
Time and resource consumption: WSU student union by using such manual
election system time and materials are wasted. For example to record voters
information and to give candidate cards the Student union needed organize the
committee that implement these mission, the committees who give these service
until the elections are completed they loss their time
2|Page
1.3. Objective of the Project
3|Page
1.4. Scope and Limitation of the Project
Since our system works online, it needs internet connection. While the voting is going, if
suddenly internet is disconnected, it will difficult to proceed the voting. Even if our
system is precise, being dependent on internet makes it difficult to use it in the absence of
internet connection.
The system will use for WSU student union voting only.
The system uses only English language.
It allows only regular students to participate in voting system.
4|Page
It improves time, fraud detection and resource expenditure of the university that
exposed to election.
It provides distributed and equal information through online for all voters
(students) and Information available at time and security for the data.
It gives private online voting system.
Increases accuracy and availability and quality of the voting process and number
of voters as individual will find it easier and more convenient to vote.
Minimize corruption, manpower and working load for the election committee.
To distinguish the candidate by their specific information
The system able to allow the voters to get fair voting
1.6. Methodology
5|Page
1.6.2. Design Methodology
To design the system the project team has choose Object Oriented Modeling techniques
and unified modeling language tools. Reason for choosing:
It enables us to comprehensively model a system before we develop it.
Modification of the object implementation is easy because objects are loosely
coupled.
Understanding of the structure is easy because object oriented modeling and
tools used to represent real world entities.
In the system analysis and design phase of a project we use the web design approach that
examines requirements from the perspective of the web pages and web servers found in
the problem domain.
6|Page
PHP: hypertext preprocessor language. It will use to implement server side sub
system of the system.
Dreamweaver: Used to write the specific code.
Microsoft office word 2007 and above(For writing documentation)
Microsoft PowerPoint 2007(For presentation )
Window 7 Operating system and above
Edraw max and Microsoft vision: For drawing UML diagrams
1. Unit Testing
Unit testing is essentially for the verification of the code produced during the coding phase and
the goal is test the internal logic of the module/program. In the Generic code project, the unit
testing is using when coding phase of data entry forms whether the functions are working
properly or not. In this phase all the drivers are willing to test they are rightly connect or not.
2. Integration Testing
All we want to test modules are combined into sub systems, which are then testing. The goal is to
see if the modules are properly integrated, and the emphasis being on the testing interfaces
between the modules. In the generic code integration testing is we will test
7|Page
system. All these are the technology side and once the module is developed it
can be easily held by non-technical person, so a technically sound expert is not
required, hence this problem doesn’t arise at all.
Benefit Analysis
Tangible benefits
Those benefits that are easily quantified from our system that we inquire the vote will get are:
8|Page
Intangible benefits
Those benefits that are believed to be difficult or impossible to quantify from our system
are:
Budget analysis
9|Page
CHAPTER TWO: REQUIREMENT ANALYSIS DESCRIPTION
10 | P a g e
Voters take a lesson about how to perform and fill the election form
Voters get in to the secret box to give their voice
at the end of the day counting of each voice is made at voting
centre/station
finally the aggregate winner of among all candidates is announced as the
final winner
Data redundancy and duplication, when the same data is collected and
stored in different location or section.
Weakness
11 | P a g e
Waste of time for recording, processing and accessing the data.
Inefficient and hard to track who voted and who don’t
Does not give an instant poll result
Strength
The election board receives any complain and comment from the candidate
and voters
No need of internet connection during the voting process
The voter and candidate can physically communicate with their
administrator and election committees
Opportunities
More number of persons are employed during the voting system, so they
will be benefited.
Voters can know the process of traditional voting system.
Threats
12 | P a g e
Select students that have experience and best performance form registered one
and announce for university society.
After election tell for member’s election committee what does and how to do and
distribute works.
Give privilege in the system.
13 | P a g e
Who are regular student that learns in the university currently.
The voters can login/logout to the System.
He/ She can view his/her personal details and poll their vote.
The voter can just view the information whereas he/she could not make changes
in the database.
The system shall allow voters to view candidate’s information, election results,
and give only one vote/choose for their representatives
Login: The system shall allow login to the system only authorized and
authenticated system users.
Register: The system shall allow register candidates, election committee.
Post announcement: The system shall provide proper features to post
information like election date, registration date, end date and comments or
questions for all visitors.
Post result: The system shall allows to post result
View result: during election.
Administrator page: is a page that allows administrator can provide proper user
account management feature to authorized and authenticated system users, post
result, upload, videos regarding to voting, manage accounts and generate report
and view reports.
14 | P a g e
View candidate info: is a page that The Admin, voter and the election committee
have their own Credentials stored and system can display candidate’s information
from database.
Choose: the system shall allow using users’ friendly and dynamically interactive
online election system.
View result: The system shall allow visitors to view posted information after
election is completed.
Feedback: The system allows give feedbacks to union committee in different
aspects.
Create Account: is a page that allows to create new account for the user
Generates Report: At the end of the election, the system allows generate the
Reports of the election based on the candidate.
The system shall block Nominee/candidates from participation, if they are not
legally registered
Approve election committee: The system allows administrator to approve
election committee of the campus.
Approve candidate: The system allows election committee can approve students
that participate in the election as a candidate
Logout : The system shall allow administrator, election committee and voters can
logout to the system
Error handling Conditions: To reduce input fault, the system will enable the
user to confirm that details are correct before creation, deletion or modification
occurs. · Respond to error inputs by asking the user to reenter data in the correct
format.
15 | P a g e
Security issues: Changes to the information held within the system may produce
significant changes to the users of the system as these could lead to inconsistent
data. With the system recording confidential information of candidates, it is vital
that the users of the system can only access the information that the administrator
allows them to do.
Efficiency: Specifies how well the software utilizes scarce resources: CPU
cycles, disk space, memory, bandwidth, etc.
16 | P a g e
Back-End: MYSQL
Login: The Admin, voter and the election committee have their own
Credentials stored in the database.
Generates Report: At the end of the election, administrator will generate the
Reports of the election based on the candidate.
17 | P a g e
The administrator should manage the system and give accesses (views) to
those users as per their priority and privilege to the system and update the
Password.
Correct information: The user checks the filled information and the entered
information are correct.
Validate candidate Information: The authorized user/ constituency register
the candidate’s information and the system validates.
18 | P a g e
CHAPTER THREE: SYSTEM MODELING
3.1 Use case Model
The use case model provides detailed information about the behaviors of the system or
application that we are developing. A use case represents a discrete unit of interaction
between a user and the system. A use case is a single unit of meaningful work. Each use
case has a description which describes the functionality that will be built in the proposed
system. Use case my include another use case functionality or extend another use case
with its own behavior use cases are typically relate to actors.
Administrator This actor who control and manage the systems, and select election
committee from student that learns from the university.
Election Election committee approves the candidate who has the member of our
committee university and do all task related to this election together with student
dean.
Candidate The actor is one who has approved by election committee and who
has the member of our university student are candidate for this
election to represent student.
19 | P a g e
3.1.2. Use case Diagram
20 | P a g e
Use case ID UC-01
Name Login
Priority Must have
Actor Voter ,Election committee ,Administrator
Description This describes how the users log into the system
Precondition: Users of the system should have User name and password
Post The Voter, Election committee and Administrator successfully login and do
condition tasks properly.
Basic course User action System response
of action 1. Any user that has account enters his 1. The system check if the
login name and password. security password is
2.The user click on the login button correct or not. If it is
A. If the login name and password is correct return wanted
valid, a session is opened page. If not correct return
The security is verified you are not correct user
The specific page of every user massage.
is loaded 2. The user click on logout
button the system is
sleep.
Alternative If the login name or password is not valid, the login screen is redisplayed
course with an error message.
action The session is terminated.
The login screen is displayed.
21 | P a g e
Use case ID UC-02
Name Approve Election committee
Priority High
Actor Administrator
Description To elects the election committee for elections purpose.
22 | P a g e
Actor Candidate
Description In order to participate in the election as candidate the student must
register to system.
Precondition Student are valid that means there must have experience and best
performance form registered one and announce for university society.
Post condition Logout their account correctly
23 | P a g e
Description This describes how EC will approve the application form of candidate and
generate the new account to that candidate.
Precondition: The candidate should have filled his application form that specified by EC.
24 | P a g e
Table 7.6 Use case description for vote
25 | P a g e
Use case ID UC-05
Name Choose
Priority High
Actor Voter
Description This explains voting process by using the system.
Precondition: Voters must be registered student in the university.
Post condition Logout the account.
Basic course User action System response
of action 1. Open website to enter his/her username The system checks if
and password. username and password
2. Voter gets his validation form the system. is correct or not.
3. Voters must have Username and password Display online vote page
to login in to the system. You select successfully
4. If the Username and password is correct message displayed.
online vote page is opened.
5. Voter see candidate and then select only
one competitor.
6. Finally click on vote button.
7. Use case ends
Alternative If the Username and password is not correct go to step 3 basic course of
course of action and login again.
action If voter not selected one candidate try again to open the page and select the
candidate.
If candidate identification not happened back and open the page again.
26 | P a g e
Use case ID UC-06
Name Generate reports
Priority High
Actor Administrator
Description The administrator finally see total reports from the system
Precondition: The election process or time must finish.
Post condition Generate final Report Information
Basic course of User action System response
action 1. The administrator login to the Check if username and
system by their username and password are correct system
password. responded valid page.
2. If username and password are If not correct display error
correct page is opened. message.
4. Fetch Report
27 | P a g e
Priority Medium
Actor All user of the system
Description This describes the process of how the voters view the election results by
using the system.
Precondition: Time must be run over the limit.
Post condition The user knows the wanted information.
Basic course of User action System response
action 1. The user must be open The system respond
website. requested action to the
2. The user can ask information administrator.
they want to know. The system display searched
3. After searching necessary data or information.
information click on view button. System display successfully
4. After getting necessary message.
information they can view.
Alternative If all users can’t see the result of the election, try again and login to the
course of action system.
28 | P a g e
logout after you finish work properly.
Precondition: UC-1
Post condition The system logout
Basic course of User action System response
action
1. The Voter, Election committee, candidate and The system responds
Administrator went to logout from the site. the requested action.
2. The Voter, Election committee, Admin, and The system forms
Administrator click on logout button. that page to login
3. The use case exit. page.
Alternative If not successfully logout please try again it maybe connection problem
course of action go to basic course of action step two.
Actor Administrator
29 | P a g e
Pre- condition: The user must be approved as Election Committee
30 | P a g e
Post- condition Newer Information is posted
31 | P a g e
Precondition: Time must be run over the limit.
Post condition The user knows the wanted information.
Basic course of User action System response
action 3. The user must be open website. The system respond
4. The user can ask information requested action to
they want to know. the administrator.
3. After searching necessary The system display
information click on candidates searched data or
view button. information.
4. After getting necessary System display
information they can view. successfully
message.
5. Use case end.
Alternative If all users can’t see the candidates’ information, try again and
course of action login to the system.
32 | P a g e
Figure3. 2 Sequences diagram of login into the system
33 | P a g e
Figure3. 3 Sequence diagram for Approve committee
34 | P a g e
Figure3. 4 Sequence diagram for candidate register
35 | P a g e
Figure3. 5 Sequence diagram for approve candidates
36 | P a g e
Figure3. 6 Sequence diagram for Search
37 | P a g e
Figure3. 7Sequences diagram for generate report
38 | P a g e
Sequences diagram for vote
39 | P a g e
Figure3.9Sequences diagram for logout for all users
40 | P a g e
attributes, operations (or methods), and the relationships among objects. For this project
the project team develops the following class diagrams.
41 | P a g e
Activity diagram of login to the system
42 | P a g e
Figure3.12 Activity diagram of vote
43 | P a g e
Figure3. 13 Activity diagram for create account
44 | P a g e
CHAPTER FOUR: SYSTEM DESIGN
The system have client server architecture where the user access the website from the
server having WAMP server for manipulating information about registered users like
customers, employees and suppliers. Normally users are expected to browse the website
in order to view any information in each page of the website. The purpose of this part
(design) is to indicate the transformation of the analysis part into design and also show
how to convert analysis into implementation.
45 | P a g e
Security: Normal users are not allowed to edit any information that is displayed
in each page and also information that is stored in the web database. So only users
that are allowed by the administrator can use the system, so no one can create an
account by itself and access the system. But only legally person who has an
account can login to the system using his/her username and password. So, we can
ensure that our system is definitely secured.
Fault tolerance: The system should be able to give response (error message)
when the user enters incorrect input. If the user enter incorrect data like username,
password and other invalid inputs, then the system displays error message that
inform the user to enter the correct data, to do so, we apply validation to our
system using java script.
Assumptions and dependencies: Since we are going to develop a new
application, it is highly dependent on the existence of web server application
software, and on persistent database management (DBMS). End-users need to
have only basic knowledge on how to use computer application, and they need to
know English language since our system is to be developed using it.
End user Criteria: Usability is the extent to which a product can be used by
specified users to achieve specified goals with effectiveness, efficiency and
satisfaction in a specified context of use. From the end users’ perspective the
system should be designed in such a way that it is easy to learn and use
efficiently.
46 | P a g e
Figure4.14 System Decomposition diagram
47 | P a g e
4.3. System architecture
The architectural Design is a top level design which shows there entities, their
relationships. The objectives of designing are to model a system with high quality. The
ability of the programmers to implement a high-quality, error-free system depends very
much on the nature of the design created by the designer. System architecture is the
conceptual model that defines the structure, behavior, and more views of a student union
voting system. The system architecture diagram shows the connection between different
machines and the path they are connected to each other. The newly developed system
uses client/server architecture. In this type of architecture the server is responsible to
receive request from the client and respond to the request, where as the client is
responsible to interact with the users of the system.
48 | P a g e
Figure4. 15 System architecture
Manage users
account
Approve candidate
Approve EC
Apply registration
Choose
Post announcement
Create account
- WAMP server (which has MYSQL, PHP and APACHE embedded inside it) and
editor (sublime, notepad++ and bracket) is the main development tool for our system
since the system to be developed is web based system.
5.3 . Hardware
40 and above GB Hard disk
2 GB RAM
flash disc
external hard disk
mouse
key board
monitor
5.4. Software:
Language: PHP
XAMPP Server 2012
5.5.2. Installation
Our group member select parallel way of system installation because in parallel way of
installation the old system and the new system can work parallel to each other when in case
the new system fail the old system continue without affecting the organization.
Documentation:-in documentation part we will prepare user manual for system users. It helps
them to refer for any challenging things that occur in the system i.e. it support them to have
the knowledge of how to use this system.
Reference
(3rdEdition)[Online].http://www.agilemodeling.com/
artifacts/useCaseDi agram.htm.availa ble (January,
01, 2011).
[8]. https://www.smartdraw.com/sequence-diagram