This action might not be possible to undo. Are you sure you want to continue?
“ONLINE VOTING SYSTEM”
BACHELOR OF TECHNOLOGY
“ONLINE VOTING SYSTEM” is an online voting technique. It is based on the other online services like “ONLINE RESERVATION SYSTEM” .In this system people who have citizenship of INDIA and whose age is above 18 years of any sex can give his\her vote online without going to any polling booth. There is a DATABASE which is maintained by the ELECTION COMMISION OF INDIA in which all the names of voter with complete information is stored. In “ONLINE VOTING SYSTEM” a voter can use his\her voting right online without any difficulty. He\She has to fill a registration form to register himself\herself. All the entries is checked by the DATABASE which has already all information about the voter. If all the entries are correct then a USER ID and PASSWORD is given to the voter, by using that ID and PASSWORD he\she can use his\her vote. If conditions are wrong then that entry will be discarded.
INTRODUCTION 1.1 Purpose
In “ONLINE VOTING SYSTEM” a voter can use his\her voting right online without any difficulty. He\She has to fill a registration form to register himself\herself. All the entries is checked by the DATABASE which has already all information about the voter. If all the entries are correct then a USER ID and PASSWORD is given to the voter, by using that ID and PASSWORD he\she can use his\her vote. If conditions are wrong then that entry will be discarded.
The scope of the project that is hosted on the server. complete information is stored.
There is a DATABASE which is
maintained by the ELECTION COMMISION OF INDIA in which all the names of voter with
Project is related to Online Voting System. The project maintains two levels of users:• • • • • • Administrator Level Voter Level Main facilities available in this project are:Maintaining voter’s Identification. Providing online voting management. Providing Updation of voter’s information. Provide voter information to ELECTION COMMISION OF INDIA. • ELECTION COMMISION OF INDIA maintains the complete information of voter.
In the proposed system utmost care would be that no information is repeated anywhere. Calculation of total number of votes. CHAPTER-2 OVERALL DESCRIPTION 2. Voter’s Names with ID. which will help in retrieval of information as well as its storage. 4. 7. ONLINE VOTING SYSTEM contains-: • • • • Voter’s information in database. . 5. The reason for the increased reliability of the system is that now there would be proper storage of information. Planned approach towards working: .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.1 Goals of proposed system 1. Easy to Operate: .The level of accuracy in the proposed system will be higher. 2. Immediate retrieval of information: .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. Accuracy: .The working in the organization will be well planned and organized.2 Background ONLINE VOTING SYSTEM is a voting system by which any Voter can use his\her voting rights from any where in India. Reliability: . in storage or otherwise. 6. The data will be stored properly in data stores. Voter’s vote in a database. No Redundancy: .In manual system there are many problems to store the largest amount of information. This would assure economic use of storage space and consistency in the data stored. All operation would be done correctly and it ensures that whatever information is coming from the center is accurate. Immediate storage of information: .• Voter can give his\her vote from any part of India. 2.
Minimum RAM Requirements : 128 megabytes (MB) (256 MB or higher recommended) .Computer/Processor : Intel Pentium class.Display : Video: 800x600. 256 colors .Various operational works that are done in the system are:• • • • Recording information of the Voter in Voter database. 133 megahertz (MHz) or higher . Each information is sent to ELECTION COMMISSION OF INDIA. 2. Discard the false information.3 Project Requirements Hardware Requirements . Checking of information filled by voter. .Hard Disk : o Hard disk space required to install: 600 MB o Hard disk space required: 370 MB .Input Device : Microsoft mouse or compatible pointing device SOFTWARE SPECIFICATION : Operating System : Windows 98.
He must have brief knowledge of voting system.5 Constraints GUI is only in English.Front end Tool Data Bases : VB. final result so it is generated at the end of the session.4 User Characteristics Every user should be: Comfortable with Internet Browser. And the voter not get a single chance to change his\her . Login and password is used for identification of Voter.6 Definitions of problems • Not User Friendly: The existing system is not user friendly because the retrieval of data is very slow and data is not maintained efficiently. 2. • Time consuming: Every work is done manually so we cannot generate report in the middle of the session or as per the requirement because it is very time consuming. He must also have basic knowledge of English too. • Difficulty in report generating: We require more calculations to generate the vote.NET : Ms access 2. 2.
What are the likely impacts of the candidate system on the organization? 4. Select the best-proposed system. Prepare system flowcharts. Determine and evaluate performance and cost effective of each proposed system. ability to meet needs and effective use of the resources.CHAPTER-3 FEASIBILITY STUDY Depending on the results of the initial investigation the survey is now expanded to a more detailed feasibility study. Define and identify characteristics of proposed system. It focuses on these major questions: 1. Weight system performance and cost data. “FEASIBILITY STUDY” is a test of system proposal according to its workability. Enumerate potential proposed system. Steps in feasibility analysis Eight steps involved in the feasibility analysis are: • • • • • • • • Form a project team and appoint a project leader. Investigation and generating ideas about a new system does this. . What resources are available for given candidate system? 3. Prepare and report final project directive to management. following primary areas of interest are to be considered. What are the user’s demonstrable needs and how does a candidate system meet them? 2. Whether it is worth to solve the problem? During feasibility analysis for this project. impact of the organization.
Easy to debug and maintain. Robustness. Multiple user support. 10. • • • Can the work for the project be done with current equipment existing software technology Can the system be upgraded if developed? If new technology is needed then what can be developed? & available personal? • This is concerned with specifying equipment and software that will successfully satisfy the user requirement. . Front-end selection: 1. 4. The aspects of our study included the following factors. 9. According to the organization requirement and the culture. 8. Flexibility. This evaluation determines whether the technology needed for the proposed system is available or not. 6. 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. It must have a GUI that assists employees that are not from IT background.1 Technical feasibility A study of resource availability that may affect the ability to achieve an acceptable system. 5. Event driven programming facility. Must provide excellent reporting features with good printing support.3. Back-end Selection: 1. Front end must support some popular back end like Ms Access. Platform independent. Scalability and extensibility. 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. According to the above stated features we selected PHP as the front-end for developing our project. 2. 3.
. The Online voting system does not require enormous amount of money to be developed. 9. Easy to install. 3. Various drivers must be available.2. Efficient data handling. profit making. The technical feasibility is frequently the most difficult area encountered at this stage. The proposed system will give the minute information. 3.2 Economical feasibility Economic justification is generally the “Bottom Line” consideration for most systems. It centers on the existing computer system and to what extent it can support the proposed system. 8. 4. as a result the performance is improved This feasibility checks whether the system can be developed with the available funds. the project is making to the analysis and design phase. 10. Economic justification includes a broad range of concerns that includes cost benefit analysis. • • The benefits in the form of reduced cost.e. 5. Efficient data retrieval and maintenance. Stored procedures. The cost of hardware and software for the class of application being considered. In this we weight the cost and the benefits associated with the candidate system and if it suits the basic purpose of the organization i. 6. According to above stated features we selected MY SQL as the backend. Operating System compatible. Easy to implant with the Front-end. 7. Provide inherent features for security. This can be . Popularity. It is essential that the process of analysis and definition be conducted in parallel with an assessment to technical feasibility. The financial and the economic questions during the preliminary investigation are verified to estimate the following: • • The cost to conduct a full system investigation.
The time schedule required for the developed of this project is very important since more development time effect machine time. so it is economically feasible.3 Operational Feasibility It is mainly related to human organizations and political aspects.done economically if planned judicially. The cost of project depends upon the number of man-hours required. The points to be considered are: • • What changes will be brought with the system? What organization structures are disturbed? • What new skills will be required? Do the existing staff members have these skills? If not. 3. 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. cost and cause delay in the development of other systems. It only needs basic information about Windows platform. A reliable Online voting system can be developed in the considerable amount of time . 3.4 Schedule feasibility Time evaluation is the most important consideration in the development of project.
1 Software Requirement Specification 4.1 Objective: The main objectives of system for Online voting system are: • The objective of Online voting system is to help the organization in automating the whole manual processing of the existing system.1. System should be fully automated. The main objective to develop the system is to make the accurate & efficient decisions in different tasks at different time at different situations. . • • • • • • System should support multi-user environment. System should provide concrete security features like creating users and assigning privileges to users of the system. Various outputs (reports) should be available online any time.CHAPTER-4 DESIGN 4. 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. Now they need to automate the whole process so as to make it more easy and accurate. The existing system is manual so members of the unit generally face a lot of embarrassing situations many times.
4. 4. • It reduces the paper work and makes the work less tedious for ELESTION COMMISION. Large database support) 4. • It is a better way for voting. • By this voting percentage will increase drastically.so it is easy to use. The online voting system provides a less time consuming .e.2 Scope:Advanced technology.1.4 Technologies to be used:This project will be having • Database Design (Ms Access) .• System should be able to handle extremely large volumes of data (i.It is an advanced technology used now a days.1.1. Voter has no need to go to any polling booth . It increases the E knowledge of the users which is very necessary for current generation.3 Advantages: • • Fast and easy service.
ASP. .NET right now! Rich Functionality out of the box NET framework provides a rich set of functionality out of the box. network communication and so on. That’s fine. Even primitive types like integer and characters can be treated as objects – something not available even in OO .. ASP. This means that if you have machine with .NET Framework SDK is available FREE of cost.NET server controls provide advanced user interface elements (like calendar and grids) that save lot of coding from programmer’s side. • Easy development of web applications ASP.NET has a complete Software Development Kit (SDK) .• • • Form Design (VB.NET) Testing (XAMP SERVER) About vb. The philosophy of . • OOPs Support The advantages of Object Oriented programming are well known. hundreds of classes that provide variety of functionality ready to use in your applications. Good news is that .NET Framework installed and a text editor such as Notepad then you can start developing for . interfaces and language compilers necessary to program for NET. But how? As with most of the programming languages.NET now support many of the OO features that were lacking traditionally.net: .NET is – “Object is mother of all.that provides classes.NET) Coding (VB. that help you learn .” Languages like Visual Basic. This means that as a developer you need not go into low level details of many operations such as file IO.NET platform for developing dynamic and data driven web applications.NET technologies with ease. .NET provides a fully object oriented environment.NET Framework SDK You can develop such varied types of applications. You can download it from the MSDN web site.more commonly referred to as .NET provides an event driven programming model (similar to Visual Basic 6 that simplify development of web pages (now called as web forms) with complex user interface. Additionally it contains excellent documentation and Quick Start tutorials.NET Framework SDK . It contains.NET is a technology available on .
An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. Assembly Assemblies are the building blocks of . The Main JIT compiler converts the MSIL code it to native code with out any optimizations. By using the JIT. once our code has been converted in to MSIL format. Microsoft has taken great efforts to make . Just-In-Time Compilation (JIT) The MSIL is the language that all of the . a type does not exist outside the context of an assembly The . reuse. it’s a known fact that compiler’s are going to generate a MSIL format. . from MSIL format all the code that we write will be converted to native code in the same way whether if it is a VB. it will never compile down to the native code. JIT allows “parts” of your application to execute when they are needed. • Security Windows platform was always criticized for poor security mechanisms. without going through the compilation process again.NET languages compile down to. etc.NET runtime/Common Language Runtime (CLR) ships three different classes of JITters. code access security and role based authentication make overall application more robust and secure. Features such as type safety. The JIT compiler takes the MSIL code and optimizes it. which means that if something is never needed.NET source or C# source. the CLR can cache code that is used more than once and reuse it for subsequent calls. larger memory footprint. they form the fundamental unit of deployment. An assembly provides the common language runtime with the information it needs to be aware of type implementations. version control.NET platform safe and secure for enterprise applications.languages like C++. No matter whatever language we used to develop the HelloWorld program. This compiler is usually used at the time of installation. activation scoping. So this compiler requires lot of resources like.NET Framework applications. After they are in this intermediate language. time to compile. The PreJIT is based on the Main JIT and it works like the traditional compilers (compiles MSIL to native code during compilation time rather than runtime). To the runtime. and security permissions. a process called Just-In-Time (JIT) compilation occurs when resources are used from your application at runtime.
Instead of referring to the memory location by the actual memory address you refer to it with a variable name. We can use the integrated debugger within Visual Studio . The second mapping between the MSIL code and native code is accomplished by setting the JITTracking attribute in our assembly.NET applications. at runtime. a debugger can be attached to an application loaded outside of the debugger. these two mappings must be available to the . There is also a command line debugger. this process works in reverse. When you declare a constant . Then.NET. use the/debug:pdbonly compiler switch to create the PDB file (Note: When building ASP. Variables are declared as follows Dim a as Integer They can also be initialized at the time of declaration as follows: Dim a as Integer = 10 Constants are very similar to variables. The MSIL code is then mapped back to the source code using the programmer's database (PDB) file.NET runtime environment. we can use DbgClr. In order to debug an application. The debugger first maps the native code to the MSIL code. specify the compilation setting debug="true" in the application’s Web.NET application. there are several means by which to debug our applications.config file). They are programming elements that can change during program execution. To accomplish the mapping between the source code and the MSIL. Constants &Variables A variable is a named memory location. or. Debugging is the most important feature of any programming language and Visual Studio NET IDE provides this feature in an effective manner (but you can still do pretty good.NET SDK alone). By specifying the /debug compiler switch. When we debug a . Once the required mappings exist. Data that needs to be stored in memory & accessed at a later time are stored in variables. The main difference is that the value contained in memory cannot be changed once the constant is declared. the source code is compiled to Microsoft Intermediate Language (MSIL) code using a .NET compiler. the PDB file is created and the JITTracking attribute is enabled. if we prefer. When using this compiler switch. job with the . Application source code goes through two distinct steps before a user can run it. the MSIL code is compiled to native code.NET Framework SDK. a GUI-based debugger. First.. CorDBG that is included in the .
Constants are used in situations where we need to keep the value in some memory location constant.5 OVERVIEW: 1. Reference type objects can be null. Instead if we are using constants. There are basically four reference types: classes.1. you have allocated the number of bytes associated with that type on the stack and are working directly with that allocated array of bits. In addition. Simple Types (Primitive Data types) Simple or value type variables are those. and the value is changed then it has to be changed in all the locations in the code where it has been used. 1. you are passing that variable’s value and not a reference to the underlying object. double etc are value type variables. The first rule of value types is that they cannot be null.its value is also specified and this value cannot be changed during program execution. delegates and arrays. Object Type Object type or reference type variables are those. When a reference type is allocated under the covers a value is allocated on the heap and a reference to that value is returned. all we will need to do is to change the value of the constant.NET framework in the form of classes or class type. interfaces. which are allocated storage space in the heap. when you pass a variable of value type. . All the primitive types such as int. The simple types basically consist of Boolean and Numeric types. Class Type Custom data types are available in . This would propagate the changes to our entire application. Requirements: • • FUNCTIONAL REQUIREMENTS: Registration of the voter is done by ELECTION COMMISION OF INDIA. If you use hard-coded values. which are assigned space in the stack instead of the heap. Anytime you declare a variable of value type. It is nothing but a set of data and related behavior that is defined by the developer. where Numeric is further divided into Integral and Floating Point.
SSL can be used. . • • • In the DATABASE information of every voter is stored. Voter is given a unique ID and PASSWORD. Voter can give vote after login and entering the ID and PASSWORD. 24 X 7 availability. Better component design to get better performance at peak time. Flexible service based architecture will be highly desirable for future extension 6. Testing is the process of trying to discover every conceivable fault or weakness in a work product. 3. sub assemblies. • • NON-FUNCTIONAL REQUIREMENTS: 1. Registration of the Voter depends upon the information filled by the user. Database shows the information of every user. There are various types of test. Each test type addresses a specific testing requirement. assemblies and/or a finished product It is the process of exercising software with the intent of ensuring that the Software system meets its requirements and user expectations and does not fail in an unacceptable manner. 2. 4. Secure access of confidential data (user’s details).• • ELECTION COMMISION OF INDIA can change the information any time if required. SYSTEM TESTING The purpose of testing is to discover errors. It provides a way to check the functionality of components.
Unit tests ensure that each unique path of a business process performs accurately to the documented specifications and contains clearly defined inputs and expected results. that relies on knowledge of its construction and is invasive. and/or system configuration. Unit tests perform basic tests at component level and test a specific business process. Integration testing is specifically aimed at exposing the problems that arise from the combination of components. This is a structural testing.it is done after the completion of an individual unit before integration. Testing is event driven and is more concerned with the basic outcome of screens or fields. Functional test .TYPES OF TESTS Unit testing Unit testing involves the design of test cases that validate that the internal program logic is functioning properly. It is the testing of individual software units of the application . as shown by successfully unit testing. the combination of components is correct and consistent. All decision branches and internal code flow should be validated. application. and that program input produces valid outputs. Integration tests demonstrate that although the components were individually satisfaction. Integration testing Integration tests are designed to test integrated software components to determine if they actually run as one program.
It is used to test areas that cannot be reached from a black box level. : identified classes of valid input must be accepted. additional tests are identified and the effective value of current tests is determined. predefined processes. : identified functions must be exercised. or special test cases. emphasizing pre-driven process links and integration points. systematic coverage pertaining to identify Business process flows. It tests a configuration to ensure known and predictable results.Functional tests provide a systematic demonstration that functions tested are available as specified by the business and technical requirements. An example of system testing is the configuration oriented system integration test. system documentation. Before functional testing is complete. structure and language of the software. In addition. : identified classes of application outputs must be . System Test System testing ensures that the entire integrated software system meets requirements. : identified classes of invalid input must be rejected. It is purpose. Organization and preparation of functional tests is focused on requirements. Functional testing is centered on the following items: Valid Input Invalid Input Functions Output exercised. Systems/Procedures: interfacing systems or procedures must be invoked. and user manuals. data fields. System testing is based on process descriptions and flows. key functions. and successive processes must be considered for testing. White Box Testing White Box Testing is a testing in which in which the software tester has knowledge of the inner workings. or at least its purpose.
. as a black box . such as specification or requirements document. structure or language of the module being tested. Test objectives • All field entries must work properly. The test provides inputs and responds to outputs without considering how the software works. • Pages must be activated from the identified link. Test strategy and approach Field testing will be performed manually and functional tests will be written in detail.Black Box Testing Black Box Testing is testing the software without any knowledge of the inner workings. • The entry screen.you cannot “see” into it. Black box tests. although it is not uncommon for coding and unit testing to be conducted as two distinct phases. It is a testing in which the software under test is treated. messages and responses must not be delayed. as most other kinds of tests. must be written from a definitive source document. Features to be tested • Verify that the entries are of the correct format • No duplicate entries should be allowed • All links should take the user to the correct page. 6. such as specification or requirements document.1 Unit Testing: Unit testing is usually conducted as part of a combined code and unit test phase of the software lifecycle.
The username should be retained throughout the application in the form of hidden variables or by using cookies.2 Integration Testing Software integration testing is the incremental integration testing of two or more integrated software components on a single platform to produce failures caused by interface defects. e. The XML file should retrieve only the records. components in a software system or – one step up – software applications at the company level – interact without error. Any modification in the Master server should be reflected in the Slave server. If the login user does not have enough privileges to invoke a screen. Integration testing for Database Synchronization: Testing the links that call the Change Username & password. the link should be disabled.6. which have been modified. The task of the integration test is to check that components or software applications. Migration and Synchronization screens etc. .g.
the Master server or Slave Server should not be stopped without notifying the other. Test Results: All the test cases mentioned above passed successfully. before the next modification occurs. Once the Synchronization starts.3 Acceptance Testing User Acceptance Testing is a critical phase of any project and requires significant participation by the end user. Acceptance testing for Data Synchronization: Users have separate roles to modify the database tables. The XML file should be generated in short time. Users should have the ability to modify the privilege for a screen. The timestamp for all insertions and updating should be maintained. No defects encountered. No defects encountered.Test Results: All the test cases mentioned above passed successfully. 4.. i.e. It also ensures that the system meets the functional requirements.2 Data Flow Diagram . 6.
DFD: Level 0 User or Administrator System Output DFD Level-0 The above diagram is a 0-level DFD that only shows the flow of data between the various and the system. voting details etc. In online voting system the Administrator is the controller of the system and all the decisions are made by him. . The Administrator can handle the entire voter and their details. and view details of them and he can update that detail also.
The Administrator can register voter.DFD: Level 1:- Login Process Voter Registration Process Voter information checking process Voting Process Final Report DFD Level 1 The above shown diagram is a 1-level Data Flow Diagram for the Online voting system. The ELECTION COMMISION can register the voters and voter can use their voting rights. . The voter can view the final report after giving vote.. . According to this DFD various process are done after login process.
DFD: Level 2 2.1 .1:- Administrator Voter Login Process Login Voter Registration Information checking Voting process Final Result voter data stored data voting data final result administrators ElectionCommission DFD: Level 2.
The above shown diagram is a 2. A voter can give vote if all the information filled by him\her are correct. .1 level Data Flow Diagram for the Online voting system. The Administrator can register the voter information. Administrator can allow or denies the voter. According to this DFD.
Registratio n Fail VOTER id Login VOTING Pas s Voting Report Report View Fig..E-R Diagram .CHAPTER-5 SYSTEM MODLING Entity Relationship Diagram Admin.
The entity relationship diagram shows the relationship between the various users and their attributes. Class diagram-: .
Fig: Relationship between the interface Actor List and its inheriting classes .
Fig: Association between Actor interface and other inheriting classes Registration. Actor List. Logoff . Login. Fig: Association between Registration. login. and logoff modules act as mediator.
There is a DATABASE which is maintained by the ELECTION COMMISION OF INDIA in which all the names of voter with complete information is stored. Singleton) CONCLUSION This Online Voting system will manage the Voter’s information by which voter can login and use his voting rights. It decreases the cost and time of voting process. . It is very easy to use and It is vary less time consuming. In this user who is above 18 year’s register his/her information on the database and when he/she want to vote he/she has to login by his id and password and can vote to any party only single time. By voting system percentage of voting is increases. The system will incorporate all features of Voting system. It is very easy to debug. Voting detail store in database and the result is displayed by calculation. of votes of every party.Fig: Association between Election and Ballot (Flyweight. Its provide the tools for maintaining voter’s vote to every party and it count total no.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.