Upload
aishwarya3112
View
219
Download
0
Embed Size (px)
Citation preview
Election Management SystemElection Management System
A A Mini Project Report submitted to University of PuneMini Project Report submitted to University of Pune
In partial Fulfillment for the awards of Degree of Engineering inIn partial Fulfillment for the awards of Degree of Engineering in Information TechnologyInformation Technology
Submitted By
Mr. Boraste Sagar ArunMr. Bochare Rahul Bharat
Mr. Dhake Rohan Shashikant
Under the Guidance of
Ms. A.G.Khairnar
Octomber, 2013
Department of Information Technology
NDMVPS’s KBT College Of Engineering,
Nasik-13Maratha Vidya Prasarak Samaj’s
K.B.G.T College Of Engineering,Nasik
CERTIFICATE
This is to certify that a mini project entitled “ Election
Management System ” has been carried out by the following
students under my guidance in partial fulfillment of the
requirements graduate degree course in T.E of Engineering in
Informat ion Technology under the University of Pune
during the academic year 2013-14.
Name Of The Students:
Mr. Boraste Sagar Arun
Mr. Bochare Rahul Bharat
Mr. Dhake Rohan Shashikant
Date : ……………….
Place:……………….
Dept Of Information Technology ii
Ms. A.G.Khairnar Proff. V.S .Pawar
Dr.J.T.Pattivar
Project Guide H.O.D
Principal
Acknowledgement
We take this occasion to thank God, almighty for blessing
us with his grace and taking our endeavor to a successful
culmination. We extend our sincere and heartfelt thanks to our
esteemed guide, Ms. A.G.Khairnar for providing us with the
right guidance and advice at the crucial junctures and for showing
us the right way. We extend our sincere thanks to our respected
head of the department H.O.D. Prof. V.S. Pawar for allowing us
to use the facilities available. We would like to thank the other
faculty members also, at this occasion. Last but not the least; we
would like to thank friends for the support and encouragement
they have given us during the course of our work.
Dept Of Information Technology iii
Abstract
The election process is crucial so we want to reduce the
paper work .The “Election Management” is a deal with software
is for the automation of Election process.It provides three parts is
voter registration,candidate registration,management of voting.In
this project collection of data from different wards will be
automatic.Data caputre by employees during survey will be
automatically updated.The ideas of election are used as per norms
of Election Commission of India,all the rules and regulation are
strictly followed by us.
Dept Of Information Technology iv
Table of Contents
CHAPTER
PAGE NO
1. Introduction……………….
1
2. System Analysis……………
2
2.1 Hardware Requirements
2.2 Software Requirements
3. System Design………………
3
3.1 E-R Diagram
3.2 DFD
3.2.1 Level 0
3.2.2 Level 1
Dept Of Information Technology v
3.3 E-R Diagram
3.3 Tables
4. Normalization…………….
6
4.1.1 1NF
4.1.2 2NF
4.1.3 3NF
5. Form Design………………
8
6. Testing…………………….
27
7. Conclusion…………………
28
8. Bibliography………………..
29
List of Figures
Figure 3 System Design
3.1 Data Flow Diagram
3.2 E-R Diagram
Figure 5 VB Design
Dept Of Information Technology vi
5.1 Loading Form
5.2 Main Form
5.3 Voter Registration Form
5.4 Candidate Registration Form
5.5 Election Analysis Form
List of Tables
Table No.3
3.3 Data Dictionary
3.3.1 Voter Table
3.3.2 Candidate Table 3.3.3 Analysis Table
Dept Of Information Technology vii
Table No.4 Normalization 4.1 First NF 4.2 Second NF
4.3 Third NF
Dept Of Information Technology viii
Chapter 1
Introduction
In the past few years the election system in India has
undergone drastic change. The traditional system of voting has
been replaced by electronic voting machines. Thereby the number
of administrative work is also increasing for the maintaining
record of the voters. And hence there is a lot of strain on the
person who are working on clerical job. And software’s are not
usually used in this context. This particular project deals with the
problems on managing voter information, candidate information
and the entire voting procedure and avoids the problems which
occur when carried manually. Identification of the drawbacks of
the existing system leads to the Time consuming, overhead for
both voters & election commission that will be compatible to the
existing system with the system which is more user friendly and
more GUI oriented. We can improve the efficiency of the system,
thus overcome the following drawbacks of the existing system.
More human error
Low security
Data redundancy
Proxy Voting
Difficult to handle
Difficult to update data
Backup data can be easily generated
Improper election analysis
As above draw-back, we design project on Election
Management system which consist registration of candidates,
registration of voters, secure voter login, secure voting &
proper election analysis with display of final result.
Dept Of Information Technology ix
Our software gives following feature :-
1. Less time consuming
2. Avoid proxy voting
3. Safe & easy registration of candidates as well as voters
4. Gives simplicity to the administrative works
CHAPTER 2
SYSTEM ANALYSIS
2.1 Requirements of system 1. Hardware Requirements
2. Software Requirements
2.2 Hardware Requirements Intel Pentium IV processor
32 MB of RAM
100 MB free space on Hard disk
1 MB of Graphics card
Color Monitor
Mouse
Keyboard
2.3 Software Requirements Programming Tools
1. Microsoft Visual Basic 6.0
2. Oracle 10g
Operating System
1. Windows 98 and above.
Other Utilities
1. Microsoft Office
Dept Of Information Technology x
CHAPTER 3
SYSTEM DESIGN
3.1 Data Flow Diagram
Fig 3.1.1 Context level DFD
3.2Entity-Relationship Diagram
Dept Of Information Technology xi
VOTER CANDIDATEVOTES
Age
vAddr
vIDMobNo
DOB
vNAME
Gender
Vote Given
ELECTION MANAGE
MENT SYSTEM
Voter Table Candidate Table
SrNocName
DOBcAddr
cParty
Gendererer
MobNo
Age
Income
Fig 3.2: Entity Relationship Diagram
3.3Data Dictionary(Tables)
Table 3.3.1.Voter Table
Dept Of Information Technology xii
Sr. No Field Name Data Type1 VID NUMBER2 VNAME CHAR(20)3 VADD CHAR(20)4 VPASSW CHAR(10)5 DOB DATE6 AGE NUMBER7 GENDER CHAR(7)8 MOBNO NUMBER9 VOTE GIVEN CHAR(5)
Sr. No Field Name Data Type1 SRNO NUMBER2 CNAME CHAR(20)3 CADD CHAR(20)4 CPARTY CHAR(10)5 GENDER CHAR(7)6 INCOME NUMBER7 AGE NUMBER8 MOBNO NUMBER9 DOB DATE
ADMIN TABLEuserName
Elc_year
Password
Savepoint
Table 3.3.2 Candidate Table
Table 3.3.3. Analysis Table
Dept Of Information Technology xiii
Sr. No Field Name Data Type1 SRNO Number2 CNAME Char(20)3 TOTAL VOTES Number4 WINNING VOTES Number
CHAPTER 4
NORMALIZATION
4.1 Database NormalizationNormalization is an essential part of database design. A
good understanding of the semantics of data helps the designer to
build efficient data design using the concept of normalization.
4.1.1 First NF: - A relation is said to be in First normal form if
it is already in normalized form and it has no repeating group.
Table 4.1.1: First NF
4.1.2 Second NF: - A relation is said to be in Second normal
form if it is already in First normal form and it has no partial
dependency.
Dept Of Information Technology xiv
Sr. No Field Name Data Type1 VID NUMBER2 VNAME CHAR(20)3 VADD CHAR(20)4 VPASSW CHAR(10)5 DOB DATE6 AGE NUMBER7 GENDER CHAR(7)8 MOBNO NUMBER9 VOTE GIVEN CHAR(5)
Sr. No Field Name Data Type1 VID NUMBER2 VNAME CHAR(20)3 VADD CHAR(20)4 VPASSW CHAR(10)5 DOB DATE6 AGE NUMBER7 GENDER CHAR(7)8 MOBNO NUMBER
Table 4.1.2.1: Second NF
4.1.3 Third NF: A relation is said to be in Third normal form
if it is already in Second normal form and it has no Transitive
dependency.
Table 4.1.3.1. Third NF
Table 4.1.3.1. Third NF
Dept Of Information Technology xv
Sr. No Field Name Data Type1 VID NUMBER2 VNAME CHAR(20)3 VADD CHAR(20)4 DOB DATE5 AGE NUMBER6 GENDER CHAR(7)7 MOBNO NUMBER
Sr. No Field Name Data Type1 VID NUMBER2 PASSW CHAR(10)3 VOTEGIVEN CHAR(5)
CHAPTER 5
FORM DESIGN
VB Forms:
5.1 Loading Form :
Fig 5.1 Snapshot of loading form
Dept Of Information Technology xvi
5.2 Main form with Admin login Form :
Fig 5.2 Snapshot of Main form with Admin login Form
Dept Of Information Technology xvii
5.3 Voter Registration Form :
Fig 5.3 Snapshot of Voter Registration Form
Dept Of Information Technology xviii
5.4 Candidate Registration Form:
Fig 5.4 Snapshot of Candidate Registration Form
Dept Of Information Technology xix
5.5 Election Option Form:
Fig. 5.5 5 Election Option Form
Dept Of Information Technology xx
Coding of Voter Registration Form:-
Dim check, flag, aflag As Integer
Private Sub cmdcancel_Click()mdielc.StatusBar.Panels(4).Text = "Election Management System"
Unload MeEnd Sub
Private Sub cmdnew_Click()txtcpaasw = ""txtmobno = ""txtpassw = ""txtvaddress = ""txtvage = ""txtvname = ""'cmbgender.Text = ""lblvid.Caption = ""cmdreg.Enabled = TrueEnd Sub
Private Sub cmdreg_Click()checkingIf check = 0 Then voter_reg cmdreg.Enabled = False Else MsgBox "Registring not done", , "Register Message"
Dept Of Information Technology xxi
End IfEnd SubPrivate Sub cmdvshow_Click() voterregreport.ShowEnd Sub'Private Sub DTPicker1_Change()' txtvage.Text = Year(Date) - DTPicker1.Year'End SubPrivate Sub Form_Load() mdielc.StatusBar.Panels(4).Text = "Voter Registration" check = 0End SubPrivate Sub checking()If txtvname.Text = "" Or txtvaddress.Text = "" Or txtpassw = "" Or txtcpaasw = "" Then MsgBox "Field(s) can't be empty", , "Error" check = 1ElseIf txtvage = "" Or txtmobno = "" Then MsgBox "Field(s) can't be empty", , "Error" check = 1ElseIf txtpassw.Text <> txtcpaasw Then MsgBox "Your Password is not confirmed", , "password error" txtpassw = "" txtcpaasw = ""ElseIf txtvage < 18 Then MsgBox "Your age is not valid", , "Age Problem" check = 1End If
End Sub
Private Sub txtcpaasw_LostFocus()If txtpassw.Text <> txtcpaasw Then MsgBox "Your Password is not match", , "password error" txtpassw = "" txtcpaasw = "" lblpw.Visible = TrueEnd IfEnd Sub
Dept Of Information Technology xxii
Private Sub txtmobno_Change()If flag = 1 Then txtmobno_LostFocusEnd IfEnd Sub
Private Sub txtmobno_KeyPress(KeyAscii As Integer)If KeyAscii < 48 Or KeyAscii > 57 Then If KeyAscii <> 8 Then flag = 1 MsgBox "Characters can'be entered" txtmobno = "" End IfEnd IfEnd Sub
Private Sub txtmobno_LostFocus() If flag = 1 Then txtmobno.Text = "" flag = 0 End If If Len(txtmobno.Text) < 10 And txtmobno.Text <> "" Then MsgBox "Mobile no is not valid", , "Voter Registration" txtmobno.Text = "" End IfEnd Sub
Private Sub txtpassw_Change()lblpw.Visible = FalseEnd Sub
Private Sub txtvage_Change()If flag = 2 Thentxtvage_LostFocusEnd IfEnd Sub
Private Sub txtvage_KeyPress(KeyAscii As Integer)If KeyAscii < 48 Or KeyAscii > 57 Then If KeyAscii <> 8 Then aflag = 1
Dept Of Information Technology xxiii
MsgBox "Characters can'be entered" End If End IfEnd Sub
Private Sub txtvage_LostFocus() If flag = 2 Then txtvage.Text = "" flag = 0 End If If txtvage.Text > "100" Or txtvage.Text < "18" And txtvage.Text <> "" Then MsgBox "This is not valid age" End IfEnd SubCoding of Candidate Registration Form:-
Dim check, flag As IntegerPrivate Sub cmdcancel_Click()mdielc.StatusBar.Panels(4).Text = "Election Management System"Unload MeEnd Sub
Private Sub cmdnew_Click()txtcaddress = ""txtcname = ""txtage = ""txtincome = ""txtmobno = ""End Sub
Private Sub cmdreg_Click()checkingIf check = 0 Thencandidate_regload_cand frmclEnd IfUnload frmcr1mdielc.StatusBar.Panels(4).Text = "Candidate List"End SubPrivate Sub cmdvshow_Click()Candidatereport.Show
Dept Of Information Technology xxiv
End SubPrivate Sub Form_Load()mdielc.StatusBar.Panels(4).Text = "Candidate Registration"check = 0End SubPrivate Sub checking()If txtcname.Text = "" Or txtcaddress.Text = "" Or txtincome = "" Then MsgBox "Field(s) can't be empty", , "Error" check = 1ElseIf txtage = "" Or txtmobno = "" Then MsgBox "Field(s) can't be empty", , "Error" check = 1ElseIf Val(txtage) < 25 Then MsgBox "Your age is not valid", , "Age Problem" check = 1End If
End SubPrivate Sub txtage_Change()If flag = 2 Thentxtage_LostFocusEnd IfEnd Sub
Private Sub txtage_Click()lblage.Visible = TrueEnd Sub
Private Sub txtage_KeyPress(KeyAscii As Integer)If KeyAscii < 48 Or KeyAscii > 57 Then If KeyAscii <> 8 Then flag = 2 MsgBox "Characters can't be entered", , "Candidate Registration" End IfEnd IfEnd Sub
Private Sub txtage_LostFocus()
If flag = 2 Then
Dept Of Information Technology xxv
txtage.Text = "" flag = 0 End If If Val(txtage.Text) < 25 Or Val(txtage.Text) > 100 And txtage.Text <> "" Then MsgBox "This is not Valid age", , "Age Error" txtage.Text = "" End If lblage.Visible = FalseEnd Sub
Private Sub txtincome_Change()If flag = 3 Thentxtincome_LostFocusEnd IfEnd Sub
Private Sub txtincome_KeyPress(KeyAscii As Integer)If KeyAscii < 48 Or KeyAscii > 57 Then If KeyAscii <> 8 Then flag = 3 MsgBox "Characters can't be entered" End IfEnd IfEnd Sub
Private Sub txtincome_LostFocus() If flag = 3 Then txtincome.Text = "" flag = 0 End IfEnd Sub
Private Sub txtmobno_Change()If flag = 1 Thentxtmobno_LostFocusEnd IfEnd Sub
Private Sub txtmobno_KeyPress(KeyAscii As Integer)If KeyAscii < 48 Or KeyAscii > 57 Then If KeyAscii <> 8 Then
Dept Of Information Technology xxvi
flag = 1 MsgBox "Characters can't be entered" txtmobno.Refresh End IfEnd If
End Sub
Private Sub txtmobno_LostFocus()
If flag = 1 Then txtmobno.Text = "" flag = 0 End If If Len(txtmobno.Text) < 10 And txtmobno.Text <> "" Then MsgBox "Mobile no is not valid", , "Candidate Registration" txtmobno.Text = "" End IfEnd SubModule:-
Dim rs As New ADODB.RecordsetDim cn As New ADODB.ConnectionDim cnstr As StringDim counter, last_rec, cvotes(1 To 9), vyesno(1 To 2), temp, i, j As IntegerDim counter2 As StringPublic projectflag, votingflag As IntegerDim id, password, vid As StringDim votegiven, votername, cname(1 To 9), tempstr As String
Function getconnect()cn.Provider = "MSDASQL"cn.Open "DSNelect", "SYSTEM", "system"End Function
Function voter_reg()obtain_last_record "voter"rs.Open cnstr, cn, adOpenDynamic, adLockOptimisticrs.AddNew
Dept Of Information Technology xxvii
rs.Fields(0) = counterrs.Fields(1) = frmvr1.txtvname.Textrs.Fields(2) = frmvr1.txtvaddress.Textrs.Fields(3) = frmvr1.txtcpaasw.Textrs.Fields(5) = frmvr1.txtvage.Textrs.Fields(6) = frmvr1.cmbgender.Textrs.Fields(7) = frmvr1.txtmobno.Textrs.Fields(8) = "no "rs.Updaters.Properties.RefreshMsgBox ("Successfully Registered")rs.Closeid = counterfrmvr1.lblvid.Caption = "Your Voter ID is " + Str(id)End FunctionFunction candidate_reg()obtain_last_record "candidate"cnstr = "select * from candidate"rs.Open cnstr, cn, adOpenDynamic, adLockOptimisticrs.AddNewrs.Fields(0) = counterrs.Fields(1) = frmcr1.txtcname.Textrs.Fields(2) = frmcr1.txtcaddress.Textrs.Fields(3) = frmcr1.cmbparty.Textrs.Fields(4) = frmcr1.cmbgender.Textrs.Fields(5) = frmcr1.txtincome.Text'rs.Fields(6) = frmcr1.DTPicker1rs.Fields(7) = frmcr1.txtage.Textrs.Fields(8) = frmcr1.txtmobno.Textrs.Fields(9) = 0
rs.Update
rs.Properties.RefreshMsgBox ("Successfully Registered")rs.CloseEnd FunctionFunction load_cand(frmcl As Form)Dim listitem1 As New ListItemcounter2 = "1"obtain_last_record "candidate"While counter2 <= last_reccnstr = "select * from candidate where cno=" + counter2
Dept Of Information Technology xxviii
rs.Open cnstr, cn, adOpenDynamic, adLockOptimisticSet listitem1 = frmcl.ListView1.ListItems.Addlistitem1.Text = rs.Fields(1)cname(Val(counter2)) = rs.Fields(1)cvotes(Val(counter2)) = rs.Fields(9)listitem1.SmallIcon = Val(counter2)counter2 = Val(counter2) + 1rs.Properties.Refresh
rs.CloseWendEnd FunctionFunction cnclose()cn.Close
End Function
Function checklogin()
vid = login.txtvid.Text cnstr = "select * from voter where vid=" + vid rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic If Not rs.EOF Then votername = rs.Fields(1) password = rs.Fields(3) votegiven = rs.Fields(8) rs.Close If login.txtpw.Text = password Then login.Hide frmv.Show mdielc.mnuvs.Caption = "Vote Next" mdielc.mnuvf.Enabled = True mdielc.StatusBar.Panels(3).Text = votername If votegiven = "yes" Then frmv.cmdvote.Enabled = False MsgBox "You have already given a vote", , "Voter Login" MsgBox "You can't give vote again.So logout", , "Voter login" End If Else
Dept Of Information Technology xxix
MsgBox "Wrong Password", , "Password Error" End If Else login.txtvid.Text = "" login.txtpw.Text = "" MsgBox "Wrong Voter ID", , "Voter ID Error" End IfEnd FunctionFunction registervote()id = Str(frmv.ListView1.SelectedItem.Index)cnstr = "update candidate set votes=votes+1 where cno=" + idrs.Open cnstr, cn, adOpenDynamic, adLockOptimisticMsgBox "Your vote is successfully registered"MsgBox "Thank You!For given your precize vote"cnstr = "select * from voter where vid=" + vidrs.Open cnstr, cn, adOpenDynamic, adLockOptimisticrs.Fields(8) = "yes"rs.Updaters.Properties.Refreshrs.Close End FunctionFunction drawchart()frmea.MSChart1.DataGrid.ColumnLabelCount = last_recfrmea.MSChart1.ColumnLabelCount = last_recfrmea.MSChart1.DataGrid.ColumnLabel(1, 1) = cname(1)frmea.MSChart1.ChartData = cvotesEnd FunctionFunction checkvoting() Dim vpercentage(1 To 2) As Integer obtain_last_record "voter" counter = 1 vyesno(1) = 0 vyesno(2) = 0 While counter < last_rec + 1 cnstr = "select votegiven from voter where vid=" + Str(counter) rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic
Dept Of Information Technology xxx
votegiven = rs.Fields(0) If votegiven = "yes" Then vyesno(1) = vyesno(1) + 1 ElseIf votegiven = "no " Then vyesno(2) = vyesno(2) + 1 End If counter = counter + 1 rs.Properties.Refresh rs.Close Wend vpercentage(1) = (vyesno(1) * 100) / last_rec vpercentage(2) = 100 - vpercentage(1) frmea.MSChart2.ChartData = vyesno frmea.MSChart2.DataGrid.ColumnCount = 2 frmea.MSChart2.DataGrid.RowCount = 1 frmea.MSChart2.Row = 1 frmea.MSChart2.Column = 1 frmea.MSChart2.ColumnLabel = "Vote Given=" + Str(vpercentage(1)) + "%" frmea.MSChart2.Row = 1 frmea.MSChart2.Column = 2 frmea.MSChart2.ColumnLabel = "Vote Not Given=" + Str(vpercentage(2)) + "%" End FunctionFunction winner() For i = 1 To last_rec - 1 For j = 2 To last_rec If cvotes(i) < cvotes(j) Then temp = cvotes(i) tempstr = cname(i) cname(i) = cname(j) cname(j) = tempstr cvotes(j) = cvotes(i) cvotes(i) = temp End If Next Next frmea.txtfr.Text = cname(1) + "is win by " + Str(cvotes(1)) + " votes"End FunctionFunction submitadmin()
Dept Of Information Technology xxxi
cnstr = "select pw from admin where USERNAME='" + frmeditadmin.txtun + "'" rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic oldpw = rs.Fields(0) rs.Close If oldpw = frmeditadmin.txtop Then cnstr = "select * from admin" rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic 'rs.AddNew rs.Fields(0) = frmeditadmin.txtun.Text rs.Fields(1) = frmeditadmin.txtpw.Text rs.Fields(2) = Year(Date) rs.Update rs.Close MsgBox "Password Changed Successfully", , "Change Password" End IfEnd FunctionFunction checkadmin() cnstr = "select * from admin where username='" + frmadmin.txtun + "'" rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic oldpw = rs.Fields(1) votingflag = rs.Fields(3) If oldpw = frmadmin.txtpw Then If projectflag = 1 And votingflag <> 1 Then allowcontents End If If projectflag = 2 Then rs.Fields(3) = 0 rs.Update End If If projectflag = 3 Then rs.Fields(3) = 1 rs.Update End If adminok Else MsgBox "Your Login is Incorrect,Try Again" End If rs.CloseEnd Function
Dept Of Information Technology xxxii
Function allowcontents() mdielc.mnucl.Enabled = True mdielc.mnuvoter.Enabled = True mdielc.mnuv.Enabled = True mdielc.mnunewelc.Enabled = TrueEnd FunctionFunction deletecr() cnstr = "truncate table candidate" rs.Open cnstr, cn, adOpenDynamic, adLockOptimisticEnd FunctionFunction deletevr() cnstr = "truncate table voter" rs.Open cnstr, cn, adOpenDynamic, adLockOptimisticEnd FunctionFunction refreshvoters() obtain_last_record "voter" counter = 1 While counter <= last_rec cnstr = "select * from voter where vid=" + Str(counter) rs.Open cnstr, cn, adOpenDynamic, adLockOptimistic If Not Err Then
rs.Fields(8) = "no " rs.Update End If counter = counter + 1 rs.Properties.Refresh rs.Close WendEnd FunctionFunction obtain_last_record(table As String)cnstr = "select * from " + tablers.Open cnstr, cn, adOpenDynamic, adLockOptimisticIf Not rs.EOF Thenrs.MoveLastlast_rec = rs.Fields(0)counter = rs.Fields(0) + 1Else counter = 1End Ifrs.CloseEnd FunctionFunction refreshcn()
Dept Of Information Technology xxxiii
Load DataEnvironment1 Load DataEnvironment1End FunctionFunction adminok() If projectflag = 1 Then frmnewelc.Show ElseIf projectflag = 2 Then mdielc.mnuea.Enabled = True mdielc.mnuvs.Caption = "Voting Stop" mdielc.mnuvs.Enabled = False ElseIf projectflag = 3 Then mdielc.mnuadmin.Enabled = False mdielc.mnuvoter.Enabled = False mdielc.mnucl.Enabled = False mdielc.makereg login.Show End If projectflag = 0End Function
5.6 Election Analysis
Dept Of Information Technology xxxiv
Fig 5.5 Snapshot of Election Analysis Form
CHAPTER 6
TESTING
Dept Of Information Technology xxxv
System testing is the stage of implementation, which is
aimed at ensuring that the system works accurately and efficiently
before live operation commences. Testing is the process of
executing the program with the intent of finding errors and
missing operations and also a complete verification to determine
whether the objectives are met and the user requirements are
satisfied. The ultimate aim is quality assurance. Tests are carried
out and the results are compared with the expected document.
6.1 Unit Testing
The software units in a system are modules and routines that
are assembled and integrated to perform a specific function. Unit
testing focuses first on modules, independently of one another, to
locate errors. This enables, to detect errors in coding and logic
that are contained within each module. This testing includes
entering data and ascertaining if the value matches to the type and
size supported by VB. The various controls are tested to ensure
that each performs its action as required.
6.2 Integration Testing
Data can be lost across any interface, one module can have
an adverse effect on another, sub functions when combined, may
not produce the desired major functions. Integration testing is a
systematic testing to discover errors associated within the
interface. The objective is to take unit tested modules and build a
program structure. All the modules are combined and tested as a
whole. Here the Server module and Client module options are
integrated and tested. This testing provides the assurance that the
application is well integrated functional unit with smooth
transition of data.
6.3 User Acceptance Testing
Dept Of Information Technology xxxvi
User acceptance of a system is the key factor for the success of
any system. The system under consideration is tested for user
acceptance by constantly keeping in touch with the system users
at time of developing and making changes whenever required.
CHAPTER 7
CONCLUSION
To conclude the description about the project : The
project, developed using MYSQL is based on the requirement
specification of the user and the analysis of the existing system,
with flexibility for future enhancement.
The expanded functionality of today’s software requires
an appropriate approach towards software development. This
college receipt management software is designed for people who
want to manage various exam related receipts in the college. For
the past few years the number of educational institutions is
increasing rapidly. There is a lot of strain on the person who are
running the college and software’s are not usually used in this
context. This particular project deals with the problems on
managing a college and avoids the problems which occur when
carried manually.
Identification of the drawbacks of the existing system
leads to the designing of computerized system that will be
compatible to the existing system with the system which is more
user friendly and more GUI oriented.
Dept Of Information Technology xxxvii
CHAPTER 8
BIBLIOGRAPHY
8.1 Book References:-1] Visual Basic 6 Programming, “Steven Holzner” ,Black Book.
2] Software Testing ,”Ron Patton” , Low Price Edition, Third
Edition.
3] PL/SQL Oracle 10g, “P. L. Deshpande”, Black Book
8.2 Web References:-http://www.vb6.us/tutorials/vb6-string-functions
http://en.wikipedia.org/wiki/Visual_Basic
http://support.microsoft.com/kb/192461
http://msdn.microsoft.com/en-us/vbasic/ms788229.aspx
http://www.iaps.com/Oracle9i-with-SQL.html
http://www.vb6.us/tutorials/understanding-timer-control-vb6
Dept Of Information Technology xxxviii
Dept Of Information Technology xxxix