You are on page 1of 31

COPYRIGHT

All rights reserved. No parts of this work may be reproduced or stored in any retrieval system, or transmitted in any form by any means electronic, mechanical, photocopying, recording or otherwise without the prior permission by the researcher or in writing from the Tumaini University, Iringa College (TUICO) on my behalf.

i

DECLARATION
This is to certify that work, which is being presented in the project entitled “IUCO ONLINE VOTING SYSTEM” submitted by undersigned students of final year BSCIT in partial fulfillment for award of degree of Bachelor of Science in Information Technology is a record of my own work carried out by me under guidance and supervision of Mr. Josephat Oling, Lecturer, Department of Computer Information Technology.

This work has not submitted elsewhere for award of any other degree.

STUDENT NAME JAMAL KHAN

SIGNATURE ………….......................

SUPERVISOR NAME MR.OLING

SIGNATURE ....................................

ii

ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of any task would be incomplete without the mention of people whose ceaseless cooperation made it possible, whose constant guidance and encouragement crown all efforts with success. I am grateful to my project supervisor Mr. Josephat Oroma Oling for the guidance, inspiration and constructive suggestions that helpful me in the preparation of this project. My sincere thanks go to my pretty wife to be (Neema Mality) who was there to support me in both ways (socially, economically and academically) during the development of my project. I also thank our colleagues who have helped in successful completion of the project.

iii

LIST OF ABBREVIATIONS AND ACRONYMS PHP UoI GUI PK FK SQL PHP Hypertext Preprocessor University of Iringa Graphical user interface Primary Key Foreign Key Structural Query Language iv .

.. Interface Design ...... Operational Feasibility ............... Overview .. 16 v ......................................................... 16 4......................................................................................................................... iv CHAPTER ONE: INTRODUCTION ......................................................................................... IUCO online voting system .............................................................................................4........ Validation of user ................................................................................... 1 1.......... 14 4............................................................2........................ Module and system Testing ......2....................... Scope ....2................. 15 4....................1..2......................................................................................1.............. System Architecture ........................ ii ACKNOWLEDGEMENT ...... Data Flow Diagram .. Non functional requirement ... 12 4........................................... 13 4.........................................1....... 4 2........................................ 9 3................................................................................................................... Technologies to be used ....................... 6 CHAPTER THREE: TECHNICAL DESIGN ..........................................................................................................................................................2...................................................................................................................................................................... Class diagram-: ............................................................... 4 2........................... 7 3...Contents COPYRIGHT ...............................5..... 8 3..2...................1....................................................................... 7 3................................................................. 15 4..................... Requirement collection .............. 1 1.....1...............................................................................3........................................................................ Security ................................ Detail Database Designing .........4........................... Communication interface: .....................3............................... i DECLARATION .......4......................... 1 1................................ 15 4...................................1.......... Entity Relationship Diagram............1..........................................................................................................4.........................................................................................................2..................................................... Schedule feasibility ...... 12 4.................................................................... 2 1.................................................................................................3.................................................2..................1.......................1....................................................................................... 13 4.................................... 3 CHAPTER TWO: FEASIBILITY STUDY......... Purpose of the project ............................................................................5........... iii LIST OF ABBREVIATIONS AND ACRONYMS ..........................................................1...3............. 15 4.........5......................................................................................6.............................. 6 2... 7 3................ Database Security.......5...................2............2....................................... 10 CHAPTER FOUR SYSTEM DESIGNING AND TESTING ....................... Technical feasibility ................ 15 4..................... Testing.............................................................................................. System Testing ................1. 1 1..................................... 2 1............ Functional requirement of the system ............................1............................... Project Objectives ...................................

... 20 B........................................................................3 The voting page .................. 17 5................................................. 19 A.........................................................................................6...........................................................................................3................. 24 APENDIX C: REFERENCES .........1 Time ....2 Shortage of electricity .................... 19 APPENDIX B: SYSTEM INTERFACES .....................................................................................6 voting once page....................2.................................... 25 vi ...5 Thanks for voting page ..... 20 B..........2 The login page ..................................................... 17 APPENDIX A: USER MANUAL ..................................................................................................................................................... 16 CHAPTER FIVE: PROBLEMS.............................................................................. How to use the application: ........................1..........................2..................................................................... 17 5....................... Recommendations ................................................................................................................................... Training ......... 19 A................. 17 5.......... Conclusion ...................................................................................1 The home page ........................................................................................................................................................................................................1..................................... Requirement of Tools: .......................... 22 B..................................................1..................................... 17 5.. RECOMMENDATIONS AND CONCLUSION .................................................... 23 B........................................................................................4 Official Ballot page ...4................... 17 5.......................................................................... 23 B......................1......................................... Problems faced ........... 21 B......................

The ballot must identify the voter as being permitted to vote. and the voter must also be given assurances of this. Once the ballot is used. 1 .CHAPTER ONE: INTRODUCTION 1.2. 1. Traditional polling methods trust a lot of parties during the election. 1. After direct person-person verification with some IDs. but not reveal their actual identity. it cannot be used again.1. If all the entries are correct then a USER ID and PASSWORD is given to the voter. There is a greater chance of getting caught as there will be physical evidence in the traditional polling. But in “ONLINE VOTING SYSTEM” voters can use their right to vote online without any difficulty. The voter is then given a ballot which allows a single vote. this ballot must also be anonymous. Voters must be the registered students only. Technologies to be used This project is a Web application. it is developed in PHP having      Database Design (My SQL) Form Design (HTML 4.0) Coding (PHP) Testing (XAMPP SERVER) Reporting Tool (Data Report). Scope There is a DATABASE which is maintained by the Student Organization Commission for election in which all the names of the voters with complete information is stored. All the entries are checked by the DATABASE which has already had all information about the voter. by using that ID and PASSWORD voters can use them to vote.3. the system will be conducted in Tumaini University’s intranet or to the link given in the university’s website. IUCO online voting system In traditional elections. So. The current methods require an attacker interact directly with the voting process to disrupt it. a voter usually goes to the voting stations. However. the voter is allowed to vote.

Overview  The project maintains two levels of users:        Administrator Level Voter Level Maintaining voter’s Identification. Voters can give their vote to any candidate they wish to vote for. Now they need to automate the whole process so as to make it more easy and accurate.  Main facilities available in this project are:- 1.  The objective of Online voting system is to help the organization in automating the whole manual processing of the existing system.1. Providing online voting management.  Various outputs (reports) should be available online any time. Providing Updating of voter’s information.  The main objective of the system is to make the accurate & efficient decisions in different tasks at different time at different situations.4.e.  System should be able to handle extremely large volumes of data (i. 2 . Student Organization Commission for election maintains the complete information of voter.5.  System should support multi-user environment. Provide voter information to Student Organization Commission for election.  System should be capable to keep track of all the detailed descriptions of the client and the whole details of services offered by the client organization. Project Objectives The following are the objectives of the project. The existing system is manual so members of the unit generally face a lot of embarrassing situations many times.  System should provide concrete security features like creating users and assigning privileges to users of the system. large database support).  System should be fully automated.

This would assure economic use of storage space and consistency in the data stored.  Accuracy: .  Reliability: .  No Redundancy: . All operation would be done correctly and it ensures that whatever information is coming from the center is accurate. in storage or otherwise.1.  Easy to Operate: .The main objective of proposed system is to provide for a quick and efficient retrieval of information. 3 .The reliability of the proposed system will be high due to the above stated reasons.6.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. The reason for the increased reliability of the system is that now there would be proper storage of information.In the proposed system utmost care would be that no information is repeated anywhere. Purpose of the project The purposes of this project are.In manual system there are many problems to store the largest amount of information.  Immediate storage of information: .  Immediate retrieval of information: .The level of accuracy in the proposed system will be higher.

2. Investigation and generating ideas about a new system does this.CHAPTER TWO: FEASIBILITY STUDY Depending on the results of the initial investigation the survey is now expanded to a more detailed feasibility study. Steps in feasibility analysis Seven steps involved in the feasibility analysis are:        Prepare system flowcharts. Weight system performance and cost data.    Can the work for the project be done with current equipment existing software technology & available personal? Can the system be upgraded if developed? If new technology is needed then what can be developed? 4 . ability to meet needs and effective use of the resources. What are the likely impacts of the candidate system on the organization? 4. What are the user’s demonstrable needs and how does a candidate system meet them? 2. Select the best-proposed system. It focuses on these major questions: 1. following primary areas of interest are to be considered. Whether it is worth to solve the problem? During feasibility analysis for this project. Prepare and report final project directive to management. “FEASIBILITY STUDY” is a test of system proposal according to its workability. Determine and evaluate performance and cost effective of each proposed system. Technical feasibility A study of resource availability that may affect the ability to achieve an acceptable system. Define and identify characteristics of proposed system. Enumerate potential proposed system.1. What resources are available for given candidate system? 3. impact of the organization. This evaluation determines whether the technology needed for the proposed system is available or not.

Efficient data retrieval and maintenance. 3. Back-end Selection: 1. Provide inherent features for security. Front end must support some popular back end like Ms Access. Front-end selection: 1. 4. Multiple user support. When we decided to develop the project we went through an extensive study to determine the most suitable platform that suits the needs of the organization as well as helps in development of the project. Flexibility. Easy to debug and maintain. 5. Stored procedures. 3. 8. 7. Robustness. 6. 4. Must provide excellent reporting features with good printing support. Platform independent. Event driven programming facility. According to the organization requirement and the culture. The technical needs of the system may include: Front-end and back-end selection An important issue for the development of a project is the selection of suitable front-end and backend. 7. 5. The aspects of our study included the following factors. According to the above stated features I selected PHP as the front-end for developing my project. 9. 2. Scalability and extensibility. 6. This is concerned with specifying equipment and software that will successfully satisfy the user requirement. Popularity. It must have a GUI that assists employees that are not from IT background. 5 . Operating System compatible. 10. Efficient data handling. 2.

can they be trained in due course of time? The system is operationally feasible as it very easy for the End users to operate it. Easy to implant with the Front-end. Various drivers must be available.2. It is essential that the process of analysis and definition be conducted in parallel with an assessment to technical feasibility. It centers on the existing computer system and to what extent it can support the proposed system. 2. 2. 10. According to above stated features I selected MY SQL as the back-end. Operational Feasibility It is mainly related to human organizations and political aspects.8. The time schedule required for the developed of this project is very important since more development time effect machine time. The technical feasibility is frequently the most difficult area encountered at this stage.3. 9. It only needs basic information about Windows platform. Easy to install. A reliable Online voting system can be developed in the considerable amount of time 6 . Schedule feasibility Time evaluation is the most important consideration in the development of project. cost and cause delay in the development of other systems. The points to be Considered are:    What changes will be brought with the system? What university structures are disturbed? What new skills will be required? Do the existing students have these Skills? If not.

1.1. The system provides a voting interface where users can see the candidate for president. Various operational works that are done in the system are:   Recording information of the Voter in Voter database.1. ONLINE VOTING SYSTEM contains-:     Voter’s information in database. The system provides a home interface where users (i.1 Input to the system The system provides interfaces with the following. d. vice-presidents and Faculty representatives according to their faculties. The system has the ability to give out updates on what is going on election and also to provide total votes in terms of numbers and percentage bar.1.1. 7 . The system enables students to login themselves to the system before starting choosing a candidate whom they wish to vote for.e. Calculation of total number of votes. b. Voter’s vote in a database. Functional requirement of the system 3. 3. Voter’s Names with ID. a. even not registered) can view updates going on different positions of candidates in the election.CHAPTER THREE: TECHNICAL DESIGN 3.1. c. e.1. Requirement collection ONLINE VOTING SYSTEM is a voting system by which any voter can use his\her voting rights to vote from anywhere in the world. The system rejects students from cheating by not allowing them to vote twice.2 Output from the system a. The system needs the students to confirm the selected candidate before making a vote on a wrong candidate. Checking of information filled by voter. Discard the false information. 3.

c. Non functional requirement a. f. Flexible service based architecture will be highly desirable for future extension. d. 8 . This is particularly important where public authorities have areas of high-staff turnover (Usability).1. g.1. b. The system provides a consistent user interface. The system provides means to secure data/information whenever any disaster happens (Back up/Recovery). The system is able to operate in Windows NT operating system and later version.3 Requirements processed by the system The system responds with message windows including dialogue for various operations that the user must be dealing with it. 3. menus and commands across all parts of the application to assist new users in getting “up to speed”. SSL can be used.2. Better component design to get better performance at peak time. (Operating environment). Secure access of confidential data (user’s details).3. e.1. 24 X 7 availability.

These are connected to the Xampp Server (XAMPP) by a TCP/IP which is a communication protocol used to connect the teachers or parents to the internet. Communication interface: HTML Client Client side Application server Database server The above diagram shows the connectivity between the client side.1. This XAMPP Server now directly communicates with the database made in MYSQL.3. 9 . All the queries or data will be retrieved from the database. The client or customer can access the HTML server or client software. application server and database server.3.

4. Data Flow Diagram 3. voting details etc. and view details of them and he can update those details.3. In online voting system the Administrator is the controller of the system and all the decisions are made by him.1. 10 .4.1 Data Flow Diagram Level-0 User Or Administrator System Output The above diagram is a 0-level DFD that only shows the flow of data between the various and the system. The Administrator can handle the entire voter and their details.1.

. The Administrator can register voter.4. The Administrator can register the voters and voter can use their voting rights to vote for any candidate they wish to vote for.1.2 Data Flow Diagram Level-1 Login Process Voter Registration Process Voter information checking process Voting Process Final Report The above shown diagram is a 1-level Data Flow Diagram for the online voting system. According to this DFD various process are done after login process.3. The voter can view the final report after giving vote. 11 .

the Classification Module might be included as a Web reference in any . provides various services. System Architecture The system is designed using multi tier architecture i. The three tier model involves three layers which are: Presentation layer This layer.NET application. and Java™ client APIs.CHAPTER FOUR SYSTEM DESIGNING AND TESTING 4. three tier model as shown in figure below. and management of the distribution of 12 . which communicates with the application layer through a client API. instance pooling of knowledge bases. which is the core of the system. In most cases. performs data layout and formatting actions. such as language analysis.e. you develop your own presentation layer that fits in with the rest of your application suite. The Classification Module includes C.1. For example. In addition. COM. applications can interact with the system by using the SOAP protocol. Application layer This layer.

Data layer This layer is responsible for storing configuration information. It is accessed through client APIs that are provided for writing client code that communicates with the system.2. Entity Relationship Diagram Admin. Registration Fail VOTER id Login VOTING Pass Voting Report Report View 13 . which is installed with the Classification Module core components. The system stores its data in a dedicated data server.1.2.tasks across computers. 4. Detail Database Designing 4.

Fig . Registration number that act as username Faculty Year of study Password 4. The VOTER has different attributes to store their data to data base are follows:     Name-Name contain first name. Class diagram-: The following entities have been realized with the system.2.E-R Diagram The entity relationship diagram shows the relationship between the various users and their attributes. There is a relationship between the election commission and voter. middle name.2. last name. 14 . The database called onlinevoting with the following entities and fields.

1. Interface Design The interface is the presentation layer placed on the client side. the privilege to create a data or delete data insert data to the database. Testing This is the last stage of the system development.1. It is customizable. 4. 2. Database Security Apart from the pages security. With this step. A number of technologies can be used to construct interfaces a bit fast.4. 4. but tactically the off work test was performed to identify errors as well as 15 . the database itself provides system authorization which is flexible allowing some or all database privileges (for example. Reasons for using PHP as the tool to develop interfaces involve the following.4. This is made possible as each user input is checked first before allowing the user to get access. 4. and modify keyboard shortcuts. Also only authorized users can be directed to the appropriate pages on which they have access to. though the system was not tested online if working.4. It is open source and therefore even its technical support can be easily obtained. modify data) to specific users or groups of users and passwords are encrypted. It assists in a cheap manner to create objects and commands.5.3. In this project. Security IUCO online voting makes use of various security means such as validation and authentication as can be described here below. Validation of user System users in this case students and administrator(s) are given usernames and passwords on which they can use to get access of the system according to their authorizations. PHP is used which consists of many components.2. 4.2.

2.5.5.6. Training Upon deployment. This is the point where if the system have no errors to launch ready to be used as intended i. Module and system Testing With this. deploying. And this in fact was always performed soon after the completion of the module. System Testing After developing a number of modules. the modules were integrated and then tested to identify if there is any malfunctioning of the integrated units as well as any errors that could have been generated. 4. The test phase is done via two means or sub stages as can be described below.e.make corrections in case of any errors before it reach to the users. However. 4.1. 4. 16 . to use the system it requires basic computer knowledge. each module was tested individually making sure each module is working properly. no need of training to administrators or other system users as the system is simple and self demonstrating for everyone to make application of it.

5.1 Time Time become one of the problem I faced because I had a less time compared to what I should do. 5.2 Shortage of electricity During the development of my project. Recommendations The time used to develop and conduct the project is too small compare to the actual time required to accomplish the all project depending on the user needs and resource needed.1. a number of projects have been performed by various scholars and are not yet finished. 5. electricity black out become a serious problems to the development of the project because it was happened like everyday. The system will incorporate all features of voting system. some of those problems are. Conclusion This Online Voting system will manage the Voter’s information by which voter can login and use his voting rights. of votes of every faculty.3. As a recommendation. RECOMMENDATIONS AND CONCLUSION 5. 5. Problems faced I have across with some problems that affect my project. 17 . There is a DATABASE which is maintained by the ELECTION COMMISION OF TUMAINI in which all the names of voter with complete information is stored. It provide the tools for maintaining voter’s vote to every faculty and it count total no.1.2. so because of that it hinder the development of the project.1.CHAPTER FIVE: PROBLEMS. It is recommended that they should be given to other students who wish to perform project on similar aspects and therefore develop the project from where it ends so we can at most come and have real products as the work of students as compared to the present situation.It is recommended that course of IT security should be shifted to fifth semester and leave the sixth semester for accomplishing the project only.

By online voting system percentage of voting is increases. 18 . It is very easy to use and it is vary less time consuming. It is very easy to debug. Voting detail store in database and the result is displayed by calculation.In this users should be the registered student who’s their information’s are on the database and when they want to vote they has to login by their registration number and password and can vote to any candidate only single time. It decreases the cost and time of voting process.

is connected to Internet through Lease Line. Requirement of Tools: This application is mounted on the Internet.74 and above must be installed on the machine.1.APPENDIX A: USER MANUAL A. user gets the homepage of the portal or the user can use hyperlink on the College main website. to user has to make sure that the machine. Then. which he is using.0 and above or Netscape Navigator 4. Microsoft Internet Explorer 4. 19 . Telephone line or Cable.2. A. How to use the application: To use the application the user has to give the URL into the address bar of the browser and press the “Enter” key. Also.

1 The home page 20 .APPENDIX B: SYSTEM INTERFACES B.

B.2 The login page 21 .

3 The voting page 22 .B.

4 Official Ballot page B.5 Thanks for voting page 23 .B.

B.6 voting once page 24 .

Filip Cherecheş-Toşa. Introduction to Information Systems 3rd Edition. Laura A. Mihai Bucica. XHTML. Custom Program for Computer Information Systems (CSC 110). Hevner. 2004. Kroenke. Brinzarea Bogdan. 2008. Rainer. R. March. (Pearson Custom Publishing. and CSS. 25 . 75-105. 2009) Glossary p. Kentucky Library Assocation. Using Management Information System 2nd Edition. 2006. Park & Ram (2004): Design Science in Information Systems Research. 2006.APENDIX C: REFERENCES Luke Welling and Laura Thomson. 2009. Casey G. Cristian Darie. Kelly and Cegielski. 28(1). Building Responsive Web Applications. 694 John Duckett. David. PHP and MySQL Web Development. Two information literacy standards address manageable comprehensive research at the master's level in organizational communication. AJAX and PHP. Pearson Custom Publishing & West Chester University. Beginning Web Programming with HTML. MIS Quarterly. Ewald. 2001. Wiley Publishing.