You are on page 1of 9

DECLARATION

We hereby declare that this submission is my own work and that, to the best of my knowledge and belief, it contains no material previously published or written by another person nor material which to a substantial extent has been accepted for the award of any other degree or diploma of the university or other institute of higher learning, except where due acknowledgment has been made in the text.

Signature: Name:AKASH RAWAT Roll No:0906310009

Signature: Name:MANOJ KUMAR Roll No:0906310057

Signature: Name:HEMANT PALIWAL Roll No: 0906310042

Signature: Name:MANOJ KUMAR Roll No:0906310056

Signature: Name:JITENDRESH PRASHANT RollNo:0906310048

Date:

ii

CERTIFICATE

This is to certify that Project Report entitled Online Voting System which is submitted by Akash Rawat, Manoj Kumar, Hemant Paliwal , Jitendresh Prashant and Manoj Kumar in partial fulfillment of the requirement for the award of degree B. Tech. in Computer Science and Engineering from G.B. Technical University, is a record of the candidatesown work carried out by them under my supervision. The matter embodied in this report isoriginal and has not been submitted for the award of any other degree.

Date:

Prof. Krishna Kant (H.O.D. Dept of C.EA.)

Mr. Shashi Shekhar (Project Guide)

Mrs. Jyoti Bajpai (Project Incharge)

iii

ACKNOWLEDGEMENT

It gives us a great sense of pleasure to present the report of the B. Tech Project undertaken during B. Tech. Final Year. We owe special debt of gratitude to AssistantProfessor ShashiShekhar, Department of Computer Engineering& Application, G.L.A.I.T.M, Mathura for his constant support and guidance throughout the course of our work. His sincerity, thoroughness and perseverance have been a constant source of inspiration for us. It is only his cognizant efforts that our endeavors have seen light of the day. We also take the opportunity to acknowledge the contribution of Professor Krishna Kant, Head,Departmentof Computer Engineering & Application, G.L.A.I.T.M, Mathura for his fullsupport and assistance during the development of the project. We also do not like to miss the opportunity to acknowledge the contribution of all faculty members of the department for their kind assistance and cooperation during the development of our project. Last but not the least, we acknowledge our friends for their contribution in the completion of the project

Name:HEMANT PALIWAL Roll No:0906310042 Name:JITENDRESH PRASHANT RollNo:0906310048 Name:MANOJ KUMAR Roll No: 0906310057

Name:AKASH RAWAT Roll No:0906310009 Name:MANOJ KUMAR Roll No: 0906310056

iv

ABSTRACT
The project "Voting Software" aims at making the voting process easy in cooperative societies. Presently voting is performed using ballot paper and the counting is done manually, hence it consumes a lot of time. There can be possibility of invalid votes. All these makes election a tedious task. In our proposed system voting and counting is done with the help of computer. It saves time, avoid error in counting and there will be no invalid votes. It makes the election process easy. Functional Requirements : To count the total number of votes. To calculate the percentage of total votes. To calculate votes for each candidate. To calculate percentage of votes for each candidate. To check for duplication. To Find the winning persons in each section. All the process above mentioned should be done fast Details : Modules We have devised the following modules according to the requirements of the organization. Administrator Module User Module Candidate Module Administrator has the whole authority of the organization .He is the one who maintains all the aspects of voters and candidates. His functionalities include insertion, updation ,deletion of both the voter and the candidate. He is responsible for allowing persons to vote. User's have the provision to view the list of voters candidates and results and to vote for their desired candidate.

TABLE OF CONTENTS
DECLARATION ..ii CERTIFICATE..iii ACKNOWLEDGEMENT.....iv ABSTRACT .v LIST OF FIGURES...ix LIST OF TABLES ....x CHAPTER 1: INTRODUCTION 1-3

1.1 Purpose..1 1.2 Objective.......1 1.3 Need of online voting....2 1.4 Problems in Online Voting...2 1.5 Overview......3

CHAPTER 2: OVERALL DESCRIPTION

4-6

2.1 Goals of proposed system.4 2.2 Background......5 2.3 Project Requiremts.......5 2.4 User Characteristics...5 2.5 Constraints.5 2.6 Definitions of problems..6

CHAPTER 3: FEASIBILITY STUDY

7 - 10

3.1 Technical feasibility7 3.2 Economical feasibility.9 3.3 Operational feasibility.10 3.4 Schedule feasibility..10
vi

CHAPTER 4: DESIG

11-15

4.1 Software Requirement Specification....11 4.1.1. Scope..11 4.1.2. Advantage..12 4.1.3. Technologies to be used....12 4.1.4. Overview........................12 4.1.5 Summary..14 4.2 Data Flow Diagram..15

CHAPTER 5: DATABASE DESIGNING

17-21

5.1 E-R Diagram...17 5.2 Class Diagram.....18 5.3 Database Tables...21

CHAPTER 6: TECHNOLOGY DETAILS

22 - 37

6.1 Language.22 6.1.1. Java..22 6.1.2. JavaScript.26 6.1.3. HTML..28 6.2 Technology used..28 6.2.1 J2EE Architecture.........28 6.2.2. STRUTS Framework....29 6.2.3 Ajax...30 6.2.4 JSON..32 6.2.5 JSP.....33 6.2.6 jQuery....34 6.2.7 CSS....34
vii

6.3 Database system used...35 6.3.1 MySQL..35 6.4 Tools Used....36 6.4.1 Netbeans IDE.....36 6.4.2 Dreamweaver..37

CHAPTER 7: RESULT........39 CHAPTER 8: TESTING 44 - 48

8.1 Types of Tests.44 8.1.1 Unit Testing...44 8.1.2 Integration Testing.....44 8.1.3 Functional Testing.....45 8.1.4 System Testing..46 8.2 Testing.....46 8.2.1 Unit Testing.......46 8.2.2 Integration Testing....47 8.2.3 Acceptance Testing...48

CHAPTER 9: CONCLUSION..49 APPENDIX A.50 APPENDIX B.51 REFERENCES..............................................................................63

viii

LIST OF FIGURES
Figure No.
1 2 3 4 5 6 7 8 9 10 11 12 13 14

Name of figure
Communication Interface DFD Level 0 DFD Level 1 ER Diagram Class Diagrams J2EE Architecture Registration Page Voter Profile Candidate Profile Admin Profile For voting Choosing Candidate Already Voted

Page No
12 13 14 15 16 25 35 36 37 38 39 40 41 41

ix

LIST OF TABLES

Table No.
1 2

Name of Table

Page No
19 19

Admin table Voter information Data Table

You might also like