MINOR PROJECT REPORT ON ELECTION MODERNISINGSYSTEM Submitted by JOSE THOMAS P In partial fulfillment of the requirements for the award of the Degree of Bachelor of Technology in COMPUTER SCIENCE & ENGINEERING Of COCHIN UNIVERSITY OF SCIENCE AND TECHNOLOGY March 2009 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Toc H INSTITUTE OF SCIENCE & TECHNOLOGY Arakkunnam P.O, Ernakulam District, KERALA – 682313
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
MINOR PROJECT REPORTON
ELECTION MODERNISINGSYSTEMSubmitted by
JOSE THOMAS P
In partial fulfillment of the requirements for the award of the
Degree of Bachelor of Technology in
COMPUTER SCIENCE & ENGINEERING
Of
COCHIN UNIVERSITY OF SCIENCE AND TECHNOLOGY
March 2009DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Toc H INSTITUTE OF SCIENCE & TECHNOLOGY
Arakkunnam P.O, Ernakulam District, KERALA – 682313
module Equipment Storage, Counting process, Tabulation and declaration. In candidates’ list allocation
module, the eligible candidates list created after checking some criteria, like checking whether the
candidate is involved in any criminal cases, murder etc. It is mainly done by election commission. In
Booth allocation module, place for election is selected and allocated in each Panchayath. Collector,
RDO, thahasildhar is involved in this allocation. In equipments allocation & management module, voting
machine for each place is allocated by the collector. In Security procedures module, collector is
checking whether proper security is allocated to each place. If any additional security is required in
some specific area can also be request to him through it.
In Staff delication module, staffs and reserved staffs are allocated for each place. It’s
done by Collector on behalf of election commission. In Expense management module, funds for
elections are calculated as soon as possible after the day the writs are issued for the election .The
entitlement of eligible parties, candidates and groups are calculated. Storage Information about voting
equipments is included Equipment storage module. In counting process module, the entered valid votes
are counted and find out the winner. In Tabulation and declaration, it gives the information about the
results and finally declare the result.
Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
TABLE OF CONTENTS
1. INTRODUCTION………………………………………………………………….. 12.SYSTEM ANALYSIS……………………………………………………………… 3 2.1 EXISTING SYSTEM…………………………………………………………. 4 2.2 PROPOSED SYSTEM………………………………………………………..5 2.3 FEASIBILITY STUDY…………………………………………………………63. SYTEM REQUIREMENT STUDY…………………………………………….….8 3.1 SYSTEM CONFIGURATION…………………………………………...…...9 3.2 ABOUT THE DEVELOPING SYSTEM……………………………………..10 3.3 OPERATING SYSTEM…………………………………………………….…11 3.4GRAPHICAL USER INTERFACE: MS VISUAL STUDIO 2005……….…134. SYSTEM DESIGN……………………………………………………………….…14 4.1 LOGICAL SYSTEM DESIGN………………………………………………..15 4.2 PHYSICAL SYSTEM DESIGN……………………………………………....205. SYSTEM IMPLEMENTATION………………………………………………….…25 5.1 IMPLEMENTATION DETAILS…………………………………………….…28 5.2 CODING…………………………………………………………………….…..296. SYSTEM TESTING…………………………………………………………….…...507. FUTURE ENHANCEMENT………………………………………………………...428.CONCLUSION…………………………………………………………………….….589. BIBLIOGRAPHY……………………………………………………………….……60
Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:1 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Our project election modernizing system as the name implies aims at modernizing the
election procedure.This site can be accessed by only few authorized clients which include
collector,rdo,tahsildar of each states and the staff allocated to election job.This site is
managed by a single administrator that is by the election commissioner of India.He can
administer the whole election operation by login this site.election commissioner can allocate
staff,check status of equipments used,accept or reject nomination of candidates,can provide
security to violent prone areas.After the elections are over results are displayed in this site .
Today elections are moving in a slow manner .If a candidate wants to participate in election
he should go to tahsildar’s office and submit his details ,all this can be done online in this
site.Each and every action happening in the country can be quikly bring to the notice of
election commissioner with this site.
Page No:2 Toc H Institute of Science &Technology
Arakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE ELECTION MODERNISING SYSTEM
Page No:3 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
2. SYSTEM ANALYSIS
System analysis is the process of gathering and interpreting facts, diagnosing problems, and using
the information to recommend improvements to the system. This is the job of the system analyst. System
analysts do more than solve current problems. They are frequently called upon to help handle the
planned expansion of a business. Analysts assess as carefully as possible what the future needs of the
business will be and what changes should be considered to meet these needs.
The various tasks in the system analysis include the following.
Understanding application.
Planning.
Scheduling.
Developing candidate solution.
Performing trade studies.
Performing cost benefit analysis.
Recommending alternative solutions.
Selling of the system.
Supervising, installing and maintaining the system
Page No:4 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
2.1 EXISTING SYSTEM Today election procedure is mainly through courier, paper working, It is found to be time
consuming and highly confusing. There are lots of procedures to be done at each section of work. One
has to wait for a long time to get a final submission from one department .There is no provision to view all
procedures happened in the election and confirm the security.
Advantage of existing system
Easy to understand
2.1.1 LIMITATIONS OF EXISTING SYSTEMAccuracy is not reached
It is prone to errors
It is time consuming
No security is provide
Highly confusing
Employees are overloaded with work.
Inefficient, poorly managed, and Lacks Flexibility.
.
2.2 PROPOSED SYSTEM In order to over come the difficulties, election modernizing system is used. One of the important
qualities of the system is its security. It’s a highly secured system. Only state election commission,
collector, RDO and thahasildar can access the system. No other access is allowed in the system. Main
advantage is that the allowed users can lively view the entire system and can confirm that each section is
working perfect.
Page No:5 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Advantages of the Proposed System: Accuracy is attained
It is fast and consumes less time
Reduced manpower
Security is provided
Less complexity
Confidentiality and anonymity issues.
In the fast moving world, if people lack something it is time. All are busy in their world. It will be
welcomed if services are provided at their will. So the main objective of our product is better
communication, better leadership, reducing crime and disorder etc.The product provides a framework
within which a user can easily work with. That was our next objective. So it should be user friendly.
The product provides a framework, which is error free. We know a election process is actually a
serious process. So even a simple error lead to big problems. So it should be error free and our objective
is to build error free software.
Page No:6 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:7 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
SOFTWARE REQUIREMENT SPECIFICATIONS
3.1 SYSTEM CONFIGURATION:
3.1.1 HARDWARE CONFIGURATION
PROCESSOR -Pentium 4
RAM SIZE -256MB
HARD DISK DRIVE -40GB
CD ROM DRIVE -52X
KEYBOARD -108 keys
MONITOR -SVGA 15 inch
MOUSE -PS/2
3.1.2 SOFTWARE CONFIGURATIONFRONT END -ASP.NET
BACK END -MS SQL SERVER 2000
OPERATING SYSTEM -WINDOWS XP
SCRIPT LANGUAGE -C#
BROWSER -MS INTERNET EXPLORER
Page No:8 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
3.2 ABOUT THE DEVELOPING SYSTEMThe system has developed in ASP.NET as front end and SQL server 2000 as back end.
3.2.1 FRONT END TOOL: ASP.NET(Active Server Pages.net)
WHAT IS ASP.NET: Microsoft ASP.NET is a free technology that allows programmers to create dynamic
web applications.ASP.NET can be used to create anything from small, personal websites to large,
enterprise-class web applications. ASP.NET is the latest version of Microsoft's Active Server Pages
technology (ASP).ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating
dynamic and interactive web pages.
ASP: ASP is a server side scripting technology that enables scripts (embedded in web pages) to be
executed by an Internet server ASP is a program that runs inside IIS.IIS stands for Internet Information
Services. IIS comes as a free component with Windows 2000.IIS is also a part of the Windows NT 4.0
Option Pack. The Option Pack can be downloaded from Microsoft.
An ASP file is just the same as an HTML file. An ASP file contains text, HTML, XML and
scripts. Scripts in an ASP file are executed on the server. An ASP file has the file extension “.asp”. When
a browser requests an HTML file, the server returns the file. When a browser requests an ASP file, IIS
passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the
scripts in the file .Finally, the ASP file is returned to the browser as plain HTML.
Uses of ASP: Dynamically edit, change or add any content of a web page.
Customize a web page to make it more useful for individual users.
Another advantage of ASP is its simplicity and speed.
Provide security since your ASP code cannot be viewed from the browser.
Clever ASP programming can minimize the network traffic.
Page No:9 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
3.2.2 BACK END TOOL: SQL Server 2000
Microsoft SQL Server 2000 is a relational database management system (RDBMS)
produced by Microsoft. Its primary query language is Transact SQL, an implementation of the ANSI/ISO
standard SQL used by both Microsoft and Sybase.
SQL Server allows multiple clients to use the same database
concurrently. SQL Server provides two modes of concurrency control: pessimistic and optimistic
concurrency. When pessimistic concurrency control is being used, SQL Server controls concurrent
access by using locks. Locks can be either shared or exclusive. Exclusive lock grants the user exclusive
access to the data no other user can access the data as long as the lock is held. Shared locks are used
when some data is being read-multiple users can read data locked with a shared lock, but not acquire an
exclusive lock. SQL Server also provides the optimistic concurrency control mechanism, which is similar
to the multiversion concurrency control used in other databases.
3.3 OPERATING SYSTEM: WINDOWS XP Windows has graphical based multitasking windowing environment that allows programs
written specifically for windows to have a consistent appearance and command structure. This capability
makes even new programs easier to master.
Windows provides several built in routines that allow easy implementation of pull down menus,
scrollbars and dialogue box icons and many other features of a user friendly graphical interface. Starting
with Windows 3.0 through Windows XP, programs can take advantage of new dialog control, menu types
and owner draw control. Our application uses Windows XP Platform.
Page No:10 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Characteristics:
Input/Output Input and Output is essential to the operation of any computer. Input-Output allows the computer to
store and receive data on disks or tapes, to interact with the users terminals and to print the output on
paper. This form of input-output is provided by the chosen Operating system.
Time Sharing Time-Sharing is a way of allowing several people to run programs on different terminals
concurrently. This introduces the facility of enabling a group of people to simultaneously approach a
problem on different levels or at the same level, when the need arises.
Communication Communication refers to the ability of one computer to communicate with other computer and
terminals, to transfer programs and/or data.
Security The OS invokes security that protects one user from another and the OS from all users. Its main
function is to make sure that only authorized users gain access to the computer and its data and those
users do only things that they are authorized to do. As time sharing is available in the OS, a large degree
of security is provided.
Page No:11 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Modularity The design of the OS is modular which allows new capabilities to be added as required.
Reliability Applications are run in their own memory and are unable to corrupt other applications or the system.
System errors are logged.
Portability Allows Windows XP to run on various platforms.
Page No:12 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
3.4: GRAPHICAL USER INTERFACE:- MS VISUAL STUDIO 2005
Microsoft Visual Studio is the main integrated Development Environment (IDE) from Microsoft. It can be
used to develop console and Graphical User Interface applications. Visual studio supports languages by
means of language services, which allow any programming language to be supported (to varying
degrees) by the code editor and debugger, provided a language specific service has been authored.
Some important components of Visual Studio 2005 are :
Visual Studio like any other IDE includes a code editor that supports syntax highlighting and code
completion.
Visual Studio also includes a web site editor and designer that allow web pages to be authored by
dragging and dropping widgets. It is used for developing ASP.net applications, and supports
HTML, CSS and JavaScript.
The data designer can be used to graphically edit database schemas, including typed tables,
primary and foreign keys and constraints.
The object browser is a namespace and class library browser for Microsoft .NET. It can be used to
browse the namespaces
The solution Explorer is used to manage and browse the files in a solution.
Data Explorer is used to manage databases on Microsoft SQL sever instances. It allows creation
and alteration of database tables.
Visual Studio 2005 also includes a local web server, separate from IIS that can be used to host
ASP.NET applications during development and testing. It also supports all SQL Server2005
databases.
Page No:13 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:14 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION
MODERNISING SYSTEM
The most creative and challenging phase of the system life cycle is system design. The
term design describes a final system and the process by which it is developed. It refers to the technical
specifications that will be applied in implementing the proposed system. It also includes the construction
of program and designing of output, input, code, database and process of the system.
4.1 LOGICAL SYSTEM DESIGN: The logical system design reviews the present system and prepares input and output specifications,
editing, security and control specification details of the implementation plans.
4.1.1 USECASE DIAGRAM: In designing an efficient and effective system it is important to consider usecase diagram.Usecase
diagram is one of the five diagrams in uML or modeling the dynamic aspects of the system.Usecase
diagram is central to modeling the behaviour of a system, a subsystem or a class.Usecase diagram are
more important for visualizing, specifying and make systems, subsystems and classes approachable and
view of how those elements may be used in context.
Page No:15 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION
MODERNISING SYSTEM
USECASE DIAGRAM
The citizen can report crimes. He will enter all details about the crime. It contains the date, time,
spot, nature of crime, location of crime etc.He can view all crimes accepted and closed by the
administrator. Thus he can see whether the crime reported by him has been accepted or not.
The Administrator will accept the complaints if it is genuine. He can create a new police station,
view complaints from the citizens, crime details, criminal details, and victim details, witness details etc.He
can create a new investigation team and assign them to the investigation of a crime. Removal of old and
outdated crime details will be done by him.
Page No:16 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
4.1.2 DATAFLOW DIAGRAMDataflow diagram is used to define the flow of the system and their resources .It is the way of expressing
system requirements in a graphical manner. It is one of the most ingenious tools used for structured
analysis. It is the starting point of design phase.
Context level
User UserELECTION
MODERNISINGSYSTEM
request response
Page No:19 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
LEVEL1
Admin
RegistrationProcess
1.0
ViewComplaints
2.0
ApprovalProcess
3.0
Add/ViewComplaint
4.0
VottingProcess
5.0
RDO/CollectorThahasildar/CEO
AllocationProcess
6.0
UpdationProcess
7.0
view process
Updation Process
AddProcess
ViewReports
8.0
Reportdetail
Admin
RDO/CollectorThahasildar/CEO
view process
Votting Process
Reportdetail
Page No:20 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Level2 Admin registrationRegistration
1.0Admin
StaffRegistration
1.1.0
StateEntry1.5.0
DistrictEntry1.2.0
BlockEntry1.6.0
state
district
AddAssembly1
1.4.0
Legislative_assembly
block
Staff _regn
AddTaluk1.3.0
taluk
Page No:21 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Level2 Staff allocation process
RDO/CollectorThahasildar/CEO
AllocationProcess
6.0
StaffAllocation
6.1.0 CandidateAllocation
6.2.0 EquipmentAllocation
6.5.0
ExpenseEntry6.6.0
EquipmentStorage
6.4.0SecurityOfficer
Allocation6.3.0
boothAllocation
6.7.0Candidateallocation
expenditure
Eqp_allocation
Eqp_storage
booth
Staff_allocation
Security
Page No:22 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
4.2 PHYSICAL SYSTEM DESIGN: Following the logical design is the physical design. This produces the working system by
defining the design specifications that tell the programmers exactly what the candidate system must do.
4.2.1 ARCHITECTURAL DESIGN: Architectural design is a comprehensive framework that describes its form and a structure its
components and how they fit together. Architectural design is a software component that can be
something as simple as program module, but it can also be extended to include database and
middleware that enable the configuration of a network of client and servers .Architectural design focuses
on the representation of the structure of software components their properties and interaction.
This project consists of different modules. The Administrator module helps the administration
of the entire site. The complaints send by the citizen cannot be viewed by all police stations. The
administrator will decide which station should view the complaint.
4.2.2 INTERFACE DESIGN: Interface design creates an effective communication medium between a human and a
computer. In this project it is the communication between Administrator and station in-charge design.
Since this project requires a database, the client machines require proper connection with the server
machine. The users will interact with the software through the user friendly web pages.
4.2.3 DATABASE DESIGN: Database design is the most important part of the system design phase. In a database
environment common data are available and are used by several users. Instead of each program
managing its own data, authorized users share data across application with the database software
managing the data as an entity
Page No:23 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
DATABASE TABLES: 1.Designtion It contains designation details.
Field name Data type Constraint DescriptionDesign_Id varchar Primary key Designation idDesign Name varchar Designation name
2.State
It contains the state details.
Field name Data type Constraint Descriptionstate_Id varchar Primary key State idState_Name varchar State name
3 .District
It contains the district details.
Field name Data type Constraint DescriptionDist_Id varchar Primary key District idState_Id varchar Foreign key State idDist_Name District name
4 Taluk It contains the taluk details
Field name Data type Constraint DescriptionTaluk_Id varchar Primary key Taluk idDist_Id varchar Foreign key District idTaluk Name varchar Taluk name
Page No:24 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
5 .Block It contains the block details.
Field name Data type Constraint DescriptionBlock_Id varchar Primary key Block idTaluk_Id varchar Foreign key Taluk idBlock_Name varchar Block name
6 .Legislative assembly It contain legislative assembly details
Field name Data type Constraint DescriptionAssembly_Id varchar Primary key Assembly idAssembly_Name varchar Assembly nameAssembly_TotalVote varchar Assembly Total VoteAssembly_Description varchar Assembly Description
7 .Polling Booth It contains the poling booth details.
Field name Data type Constraint DescriptionBooth_Id varchar Primary key Polling booth idBlock_Id varchar Foreign key Block idAssembly_Id varchar Foreign key Assembly idAuthority_Type varchar Authority typeBooth_Name varchar Booth nameBooth_Location varchar Booth location
Page No:25 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
8. Staff_Regn It contain staff registration details.
Field name Data type Constraint DescriptionStaff_Id varchar Primary key Staff idStaff_Name varchar Staff nameDesign_Id varchar Designation idAddress varchar AddressGender varchar GenderAge varchar AgeAssembly_Id varchar Foreign key Assembly idBooth _Id varchar Foreign key Booth idBlock_id varchar Foreign key Block idStatus varchar To Give
Field name Data type Constraint DescriptionAlloc_Staff_Id varchar Primary key Staff idBooth_Id varchar Foreign key Poll_booth idDesign_Id varchar Foreign key Design idReporting_Date varchar Reporting_DateReporting_Time varchar Reporting_Time
10 Login_tab It contain login details.
Field name Data type Constraint DescriptionLogin_Id varchar primary key Login idLog_Name varchar Login nameLog_Pwd varchar PasswordLog_Type varchar Login type
Page No:26 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
11. Eqp_storage
It contain equipment storage details.
Field name Data type Constraint DescriptionEqp_Id varchar Primary key Equipment idEqp_Name varchar Equipment nameDist_Id varchar Foreign key District idRemarks varchar Remarks
12. Equipment_Allocation
It contain equipment allocation details.
Field name Data type Constraint DescriptionEqp_Alloc_Id varchar Primary key Eqp Allocation idEqp_Id varchar Foreign key Equipment idBooth_Id varchar Foreign key Booth_idEqp_No varchar Eqp number
13 Sign_ tab
It contain Sign details
Field name Data type Constraint DescriptionSign_Id varchar Primary key Sign_IdSign_Name varchar Sign_NameSign_Image varchar Sign_Image
Page No:27 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
14. Expenditure_Tab
It contain expenditure details
Field name Data type Constraint DescriptionExp_Id varchar Primary key Expenditure idCand_Id varchar Foreign key Candidate idAmount varchar AmountRemarks varchar Remarks
15. Votting_tab
It contain votting details
Field name Data type Constraint DescriptionVotting_Id varchar Primary key Votting idCand_Id varchar Foreign key Candidate idStaff_Id varchar Foreign key Staff idVote_Count varchar Vote countVote_Total varchar Vote total
16 . Candidate_Allocation
It contain candidate allocation details.
Field name Data type Constraint DescriptionCand_Id varchar Primary key Candidate idSign_Id varchar Foreign key Sign IdCand_Name varchar Candidate nameCand_Address varchar Candidate AddressCand_Gender varchar Candidate GenderCand_Age varchar Candidate AgeCand_Assembly_id varchar Cand_Assembly_idParty_Name varchar Party_Name
Page No:28 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
17. Complaint/Suggestion/Requirement
It contain Complaint details
Field name Data type Constraint DescriptionComplaint_id varchar Primary key Complaint idBooth_id varchar Foreign key Booth idComplaints varchar ComplaintsStatus varchar Status
18 Security_Tab
It contain security details
Field name Data type Constraint DescriptionSecurity_Id varchar Primary key Security IdBooth_Id varchar Foreign key Booth IdSecurity_Leader varchar Security LeaderSecurity_Contactno varchar Security ContactnoNo_Of_Supporting_Officials
varchar No_Of_SupportingOfficials
19 Result_tab
It contain Complaint details
Field name Data type Constraint DescriptionResult_Id varchar Primary key Result IdCand_Id varchar Foreign key Cand IdAssembly_Id varchar Foreign key Assembly IdYear varchar YearMonth varchar MonthDate varchar DatePublic_Vote varchar Public VotePostal_Vote varchar Postal VoteTotal_Vote varchar Total Vote
Page No:29 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VIII
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:30 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
5.1 IMPLEMENTATION DETAILS: System implementation is the important stage of project when the theoretical design is turned
into a practical system. It includes all those activities that take place to convert an old system to a new
one. Replacing an existing manual or automated system may be a major modification to an existing
system
SCREEN SHOTS.
LOGIN PAGE
Page No:31 Toc H Institute of Science &Technology
Arakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
HOME PAGE OF ADMINISTRATOR
Page No:32 Toc H Institute of Science &Technology
Arakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
HOME PAGE OF CEC
Page No:33 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
HOME PAGE OF COLLECTOR
Page No:34 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
FOR EDITING ADMIN DETAILS
Page No:35 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
UPDATING STAFF DETAILS
Page No:36 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
CODING: The goal of coding phase is to translate the design of the systemIn to code in a particular
programming language.For a givev design, The aim of coding phase is to implement the design in the
public partial class expenditure : System.Web.UI.Page{ Class2 ob = new Class2(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) {
Page No:47 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Class2 ob = new Class2(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { for (int i = 1990; i < DateTime.Now.Year; i++) { Dyear.Items.Add(i.ToString());
} protected void Button1_Click(object sender, EventArgs e) { Panel1.Visible = true; string s1 = "Select max(Poll_Vote) from Result where year='" + Dyear.SelectedItem.Text + "'"; string s2 = ob.exe_scalarstring(s1); string st = "select C.Cand_Name,S.Sign_Image,R.Poll_Vote from result as R join candidate_allocation as C on R.Candidate_Id=C.Cand_Id join sign_tab as S on C.sign_Id=S.sign_id where R.Poll_Vote ='"+s2+"'"; SqlDataReader dr = ob.exe_reader(st); while (dr.Read()) { Label2.Text = dr["Cand_Name"].ToString(); Image1.ImageUrl = dr["Sign_Image"].ToString(); Label3.Text = dr["Poll_Vote"].ToString(); } }}
Page No:48 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:49 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Page No:50 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
Testing is the process of executing the program to find if there are any errors. It is the final
verification and validation activity .In testing phase we have tried to affirm the quality of the product. We
have also tried to eliminate errors in the previous stages.
7.1System TestingTesting is the process of executing a program with the indent of finding any errors. Testing is
vital to the success of the system. Without proper testing, hide errors will surface after sometime of use
and perhaps irreversible damage has been done to valuable data. A series of tests like responsiveness,
its value, stress and security are performed before the system is ready for user acceptance testing.
System testing follows the logical conclusion that is all the part of the system are tested and found to be
working properly under all kinds of situations, and then the system is achieving its goal of processing the
data perfectly according to user rules and requirements.
System testing is aimed at ensuring the system works accurately before live operation
commences. Testing is vital to the system. System testing makes a logical assumption that if all parts of
the system are correct, the goal will be successfully achieved. The candidate system is subjected to a
verity of tests: Online Response, Volume, Stress Recovery & Security and Usable tests. A series of
testing are performed for the proposed system before the system is ready for user acceptance testing.
Nothing is complete without testing, as it is vital success of the system.
7.2Unit Testing
Unit testing is a software development process in which the smallest testable parts of an
application called units are individually and independently scrutinized for proper operation. In this project
unit test had conducted by calling a connection class variable. This class contains some methods. Each
modules of this project works under this connection class variable. This project contains different
modules. For example a login operation to be happening it will be tested by checking the username or id
and password entered by the user .It also check data are correctly stored in the data base & data base
are properly connected. In this way each module is tested. All the unit tests got executed successfully for
the application.
Page No:51 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI
BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
7.3 Integration Testing
Integration testing is the activity of software testing in which individual software modules
are combined and tested as a group. It occurs after unit testing .In this project integration testing was
conducted by running the modules together. The application was integrated to the main user application
successfully. This module was introduced as a part of main module. The entire module is tested as a
whole. In this it checks whether the valid user can login and perform the necessary functions. All
requirement areas were integrated successfully to the existing application. Testing has been done to see
whether the administrator could allocate a new user. Also the information entry by each user has been
tested
7.4 Validation Testing
Validation can be defined in many ways, but a simple definition is that validation succeeds when
software functions in a manner that can be reasonably expected by the customer. Software validation is
achieved through a series of black – box tests that demonstrate conformity with requirements. A test plan
outlines the classes of tests to be conducted and a test procedure defines specific test cases that will be
used to demonstrate conformity with requirements.
7.5 Alpha Testing
The alpha test is conducted at the developer’s site by a customer. The software is used in a
natural setting with the developer looking over the shoulder of the user and recording errors and usage
problems. Alpha tests are conducted in a controlled environment.
Page No:52 Toc H Institute of Science &TechnologyArakkunnam – 682313
SEMESTER: VI BRANCH: COMPUTER SCIENCE& ENGINEERING
PROJECT TITLE :ELECTION MODERNISING SYSTEM
7.6 Beta Testing
The beta test is conducted at one or more customer sites by the end-user of the software.Unlike
alpha testing,the developer is generally not present.Therefore,the beta-test is a live application of the
software in an environment that cannot be controlled by the developer.The customer records all problems
that are encountered during beta testing and reports these to the developer at regular intervals.As a
result of problems reported during beta tests,software engineers make modifications and then prepare for
release of the software product to the entire customer base.
7.7 Test Cases
Page No:53 Toc H Institute of Science &TechnologyArakkunnam – 682313