Documente Academic
Documente Profesional
Documente Cultură
A passport is a must when you plan to travel out of your country of residence.
It is an identity card that endorses your legitimate citizenship. Without a valid
passport, you will not be allowed to enter any country. When you book your travel
through MakeMyTrip.com, we ensure that your passport is safe and well taken care of.
Here youll find all the essential information you need about rules & regulations
regarding passports, including the process for procuring a new passport and renewing
an existing one.
For Online Registration, the applicant has to submit the print outs of the
application form along with required documents to the respective passport office in
the appointment date and time printed. If you are a holder of a passport, then you are
entitled to an automatic re-issue of a passport, without prior police verification
provided the original passport was issued from the same Passport Office. You can
apply one year before the passport expires or within 5 years after it expires to obtain
this expeditious service.
1. PROBLEM DEFINITION
Multiple
state-of-the-art
sophisticated
technologies
are
seamlessly
integrated
in
the
was developed to support and control the issue of new electronic passport (epassport) as well as other electronic travel documents of the Hong Kong Special
Administrative
Region
(HKSAR)
and,
with
the
application
of
advanced
technologies, the system results in huge benefits to passport applicants, the Hong
Kong Immigration Department (ImmD) and also the society as a whole.
After the tragic 911 incident, governments all over the world dedicate to enhance their
capability in identifying and deterring the entry of suspect travelers and in particular terrorists so as
to uphold their homeland security. One very effective means to distinguish undesirables who may
attempt to circumvent immigration control by using forged travel documents or identities is to
issue e-Passport incorporating holders biometric information.
In this connection, the e-Passport System was developed to support and control the issue of
new HKSAR e-Passport and also other electronic HKSAR travel documents such as electronic
Document of Identity (e-Doc/I). Advanced technologies are applied and integrated in the
complicated e-Passport System which, in specific, handles application processing, case
assessment, personalization and issuance of e-Passport.
This module gives the renewal form of the existed passport which had completed its time
period .There are some rules for the renewal of the passport and the fee particulars also change.
This module binds with the ECR/ECNR module to specify the requirement of the emigrated check.
3) ECR/ECNR module:
This module maintains the data of the emigration check required or not.
This module
fairly maintains the integration between the modules related to the new passport application and
the renewal of the passport. This module also binds the information of the dependants and
housewives.
4) Passport Enquiry module:
This module manages and keeps track of the details of the complete information of the epassport maintenance. And gives the process of how to apply the new passport and the fee details
also. It gives the information about, if the passport is lost or stolen and the process of the child
passport. This module also contains the information about the emigrated check required or not.
5) Special Branch module:
This module maintains the details of the special branch for the police enquiry purpose.
Before issuing the passport to the applicant the special branch police conform whether the
applicant is authenticated or not with the details mentioned in the application. And also verifies the
witnesses of the issuing passport to the applicant.
2. REQUIREMENT ANALYSIS
Keeping
the
following
aspects
in
mind,
the
the
Create a system definition that performs the foundation for the sub sequent
work.
2.4.2 Estimation:
Software project planning estimate can be done in many ways such as Lines of
Code (LOC) based estimation, Functional Point Estimation (FP), Process Based
Estimation. We should select best one depending on the requirement.
2.4.3 Resource availability:
The resources, which are common to any system, consist of human effort,
information and development resource. Developing any system without satisfactory
resources is in appropriate and impossible. The design development team for this
project consists of five members or roles that are responsible for software
development and internal testing and its usage. Information assembly is vital to this
project. Various sources of information are available.
procedure is to determine the benefits and savings that are expecting from a client
system and compare them with cost.
2.5.2 Technical Feasibility
Technical feasibility centers on the existing computer system (hardware,
software etc) and to what extent it can support the proposed addition. The benefits
such as high accuracy, minimum response time and user friendliness of the proposed
system over weights cost for designing and implementing the new system.
through which the system exists and the cardinalities that are necessary for
the system state to continue.
The Entity Relationship Diagram (ERD) depicts the relationship between the
data objects.
The ERD is the notation that is used to conduct the date modeling activity the
attributes of each data object noted is the ERD can be described resign a data
object descriptions.
The set of primary components that are identified by the ERD are
Data object
Relationships
Attributes
Various types of indicators
The primary purpose of the ERD is to represent data objects and their relationships.
We can express the overall logical structure of a database graphically with an E-R
diagram.
Its components are:
Rectangles: representing entity sets.
Ellipses: representing attributes.
Diamonds: representing relationship sets.
Lines: linking attribute to entity sets and entity sets to relationship sets.
Rectangles
Ellipses
Representing attributes
Diamonds
Lines
Data Flow
One to One
One to Many
Many to One
Many to Many
E R DIAGRAM
Name
Id
Profe
Password
Occu
Admin
Special
Branch
Police
User
Witness2
New passport
Name
DOB
Profe
Addr
Renewal
Enquiry
Name
New
Passport
Addr
Crimes
Conduct
Witness1
Ecr/Ecnr
Name
Pass no
Renewal
Pass no
Profe
Ecr/Ecnr
Fee amt
SB
Fee amt
Pass no
POI
DOI
details of the system that is being modeled. Numerous levels may be required to
explain a complicated system.
Therefore, the principle for creating a DFD is that one system may be
disintegrated into subsystems, which in turn can be disintegrated into subsystems at
a much lower level, and so on and so forth. Every subsystem in a DFD
represents a
process. In this process are activity the input data is processed. Processes can not be
decomposed
an entire system. In a DFD system, data is introduced into the system from the
external environment. Once entered the data flows between processes. And then
processed data is produced as an output or a result.
10
S.NO
1
COLUMN
PASS_NO
DATATYPE
Numeric
LENGTH
10
DESCRIPTION
Passport Reference Number
2
3
4
SIGN
FEEAMT
CASHDD
Varchar
Numeric
Varchar
30
5
20
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
BANKCODE
DDNO
DOI
SURNAME
FSTNAME
ECRECNR
SEX
DOB
POB
DIST
QUALI
PROF
PADD
PERADD
PHNO
MOBNO
EMAIL
MSTATUS
FNAME
MNAME
FHPROF
OCCU
EDUQUA
PRPSVISIT
ITAX
CASES
PROOF
GETSIGN
Varchar
Numeric
Datetime
Varchar
Varchar
Varchar
Varchar
Datetime
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Numeric
Number
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
20
10
20
30
10
20
50
50
30
30
50
50
10
10
30
20
20
20
20
20
50
500
20
100
50
20
DATA DICTIONARY
3. SYSTEM DESIGN
11
update.
Normal Forms:
12
13
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
SIGN
Varchar
30
NOT NULL
FEEAMT
Numeric
NOT NULL
CASHDD
Varchar
20
NOT NULL
BANKCODE
Varchar
20
NOT NULL
DDNO
Numeric
10
NOT NULL
DOI
Datetime
SURNAME
Varchar
20
NOT NULL
FSTNAME
Varchar
30
NOT NULL
ECRECNR
Varchar
10
NOT NULL
SEX
Varchar
20
NOT NULL
DOB
POB
Datetime
Varchar
50
NOT NULL
NOT NULL
DIST
Varchar
50
NOT NULL
QUALI
Varchar
30
NOT NULL
PROF
Varchar
30
NOT NULL
PADD
Varchar
50
NOT NULL
PERADD
Varchar
50
NOT NULL
PHNO
Numeric
10
NOT NULL
MOBNO
Number
10
NOT NULL
Varchar
30
NOT NULL
MSTATUS
Varchar
20
NOT NULL
FNAME
Varchar
20
NOT NULL
MNAME
Varchar
20
NOT NULL
NOT NULL
14
A relation is said to be in second Normal form if it is in first normal form and not
should satisfy any one of the following rules.
1) Primary key is not a composite primary key.
2) No non-key attributes are present.
3) Every non-key attribute is fully functionally dependent on full set of primary key.
In this project E-Passport Maintenance System the attribute pass_no is a
primary key and not having a composite primary key. According to 2NF the primary
key pass_no only present in the table and the non-key attributes are deleted.
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
15
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
FEE
Numeric
NOT NULL
16
1)
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
SIGN
Varchar
30
NOT NULL
FEEAMT
Numeric
NOT NULL
CASHDD
Varchar
20
NOT NULL
BANKCODE
Varchar
20
NOT NULL
DDNO
Numeric
10
NOT NULL
DOI
Datetime
NOT NULL
SURNAME
Varchar
20
NOT NULL
FULLNAME
Varchar
30
NOT NULL
ECRECNR
Varchar
10
NOT NULL
SEX
Varchar
20
NOT NULL
DOB
Datetime
NOT NULL
POB
Varchar
50
NOT NULL
DIST
Varchar
50
NOT NULL
QUALI
Varchar
30
NOT NULL
PROF
Varchar
30
NOT NULL
PADD
Varchar
50
NOT NULL
PERADD
Varchar
50
NOT NULL
PHNO
Numeric
10
NOT NULL
MOBNO
Number
10
NOT NULL
Varchar
30
NOT NULL
MSTATUS
Varchar
20
NOT NULL
FNAME
Varchar
20
NOT NULL
MNAME
Varchar
20
NOT NULL
Description:
17
2)
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
SIGN1
Varchar
30
NOT NULL
FEEAMT
Numeric
NOT NULL
CASHDD
Varchar
20
NOT NULL
BANKCODE
Varchar
20
NOT NULL
DDNO
Numeric
10
NOT NULL
DOI
Datetime
NOT NULL
SURNAME
Varchar
20
NOT NULL
FULLNAME
Varchar
30
NOT NULL
PPID
Number
10
NOT NULL
ECRECNR
Varchar
10
NOT NULL
SEX
Varchar
20
NOT NULL
DOB
Datetime
NOT NULL
POB
Varchar
50
NOT NULL
DIST
Varchar
50
NOT NULL
QUALI
Varchar
30
NOT NULL
PROF
Varchar
30
NOT NULL
PADDR
Varchar
50
NOT NULL
PERADD
Varchar
50
NOT NULL
PHNO
Numeric
10
NOT NULL
MOBNO
Number
10
NOT NULL
Varchar
30
NOT NULL
MSTATUS
Varchar
20
NOT NULL
FNAME
Varchar
20
NOT NULL
MNAME
Varchar
20
NOT NULL
18
COLUMN
DATATYPE
LENGTH
CONSTRAINTS
PASS_NO
Numeric
10
PRIMARY KEY
NAME
Varchar
50
NOT NULL
PROF
Varchar
NOT NULL
OCCU
Varchar
20
NOT NULL
EDUQUA
Varchar
50
NOT NULL
PRPSVISIT
ITAX
Varchar
Varchar
50
20
NOT NULL
NOT NULL
FHNAME
Varchar
20
NOT NULL
FHPROF
Varchar
20
NOT NULL
SIGN1
Varchar
10
NOT NULL
19
4)
COLUMN
DATATYPE
LENGTH
NAME
Numeric
10
NOT NULL
DOB
Datetime
NOT NULL
POB
Varchar
20
NOT NULL
FNAME
Varchar
20
NOT NULL
MNAME
Varchar
50
NOT NULL
CASES
Varchar
100
NOT NULL
PROOF
Varchar
50
NOT NULL
GETSIGN
Varchar
20
NOT NULL
FHPROF
Varchar
20
CONSTRAINTS
NOT NULL
20
21
ARCHITECTURE DIAGRAM:
SQL
App Development
Tech
Request
(ASP, Win Forms)
Data Base
Server (SQL
Server)
Class Libraries
(ADO.Net)
.
Reply N
E
T
Data
APPLICATION
CLIENT
E-PASSPORT
MAINTENANCE
SYSTEM
F
R
A
Change M
E
Notificat-
Storage
ion
Local
Replicatio
ns
22
4. CODING
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
As
Object,
ByVal
As
23
End Sub
Protected
Sub
Button1_Click1(ByVal
System.EventArgs) Handles Button1.Click
sender
As
Object,
If DropDownList1.SelectedIndex = 0 Then
MsgBox("authorization is not provided to otheres")
ElseIf DropDownList1.SelectedIndex = 1 Then
MsgBox("your password is user ")
ElseIf DropDownList1.SelectedIndex = 2 Then
MsgBox("your password is police")
End If
End Sub
End Class
24
ByVal
As
Imports System.Data
Imports System.Data.SqlClient
Partial Class Default2
Inherits System.Web.UI.Page
Dim dr As SqlDataReader
Dim d As Date
Dim a As Integer
Dim f As Integer
Dim cmd As New SqlCommand()
Dim cn As New SqlConnection("data source=SSB-AFE0BB85816;Initial Catalog=epass1;Integrated Security=true")
Protected
Sub
Button3_Click(ByVal
sender
System.EventArgs) Handles Button3.Click
As
Object,
ByVal
As
Response.Redirect("home.aspx")
End Sub
25
TextBox21.Text = dr.Item(0)
TextBox21.ReadOnly = "true"
dr.Close()
cn.Close()
End Sub
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
As
Object,
cmd.Connection = cn
cn.Open()
cmd.CommandText = "select ident_current('newpassport1')"
dr = cmd.ExecuteReader()
dr.Read()
a = dr.Item(0) + 1
dr.Close()
cn.Close()
cn.Open()
26
ByVal
As
TextBox4.Focus()
ElseIf TextBox5.Text = "" Then
MsgBox("Please enter Credit Card No.")
TextBox5.Focus()
ElseIf TextBox20.Text = "" Then
MsgBox("Please enter Date Of Issue.")
TextBox20.Focus()
ElseIf TextBox8.Text = "" Then
MsgBox("Please enter Date Of Birth.")
TextBox8.Focus()
ElseIf TextBox9.Text = "" Then
MsgBox("Please enter Place Of Birth.")
TextBox9.Focus()
ElseIf TextBox11.Text = "" Then
MsgBox("Please enter District.")
TextBox11.Focus()
ElseIf TextBox10.Text = "" Then
MsgBox("Please enter Qualification.")
TextBox10.Focus()
ElseIf TextBox12.Text = "" Then
MsgBox("Please enter Profession.")
TextBox12.Focus()
ElseIf TextBox13.Text = "" Then
MsgBox("Please enter Present address.")
TextBox13.Focus()
ElseIf TextBox14.Text = "" Then
MsgBox("Please enter Permanent address.")
TextBox14.Focus()
27
28
d = dr.Item(1)
dr.Close()
If f = 0 Then
MsgBox("Not Inserted")
Else
MsgBox("Your Application is Successfully Uploaded & Passport ID
date is:")
MsgBox(a)
MsgBox(d)
cn.Close()
Response.Redirect("newpassport.aspx")
TextBox1.ReadOnly = False
TextBox1.Text = ""
End If
End If
End Sub
As
Object,
ByVal
As
End Sub
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
TextBox1.Text = " "
TextBox2.Text = " "
TextBox3.Text = " "
TextBox4.Text = " "
29
As
Object,
ByVal
As
30
Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
Inherits System.Web.UI.Page
Dim cn As SqlConnection
Dim cmd As SqlCommand
Dim dr As SqlDataReader
Dim i As String
Protected
Sub
Button3_Click(ByVal
System.EventArgs)
sender
As
Object,
ByVal
As
Response.Redirect("home.aspx")
End Sub
31
dr.Read()
TextBox22.Text = dr.Item(0)
TextBox22.ReadOnly = "true"
dr.Close()
cn.Close()
End Sub
Protected
Sub
Button4_Click(ByVal
sender
System.EventArgs) Handles Button4.Click
As
Object,
ByVal
As
32
TextBox12.Text = dr.Item(16)
TextBox13.Text = dr.Item(17)
TextBox14.Text = dr.Item(18)
TextBox15.Text = dr.Item(19)
TextBox16.Text = dr.Item(20)
TextBox17.Text = dr.Item(21)
TextBox18.Text = dr.Item(23)
TextBox19.Text = dr.Item(24)
DropDownList2.Text = dr.Item(22)
dr.Close()
cn.Close()
End Sub
Protected
Sub
Button5_Click(ByVal
System.EventArgs) Handles Button5.Click
sender
As
Object,
ByVal
As
33
TextBox5.Text & ",'" & TextBox20.Text & "','" & TextBox6.Text & "','" &
TextBox7.Text & "','" & RadioButtonList1.Text & "','" & DropDownList1.Text &
"','" & TextBox8.Text & "','" & TextBox9.Text & "','" & TextBox10.Text & "','"
& TextBox11.Text & "','" & TextBox12.Text & "','" & TextBox13.Text & "','" &
TextBox14.Text & "','" & TextBox15.Text & "','" & TextBox16.Text & "', '" &
TextBox17.Text & "','" & DropDownList2.Text & "','" & TextBox18.Text & "','" &
TextBox19.Text & "')"
cmd.ExecuteNonQuery()
cn.Close()
MsgBox("Your Application is Successfully Renewaled and Renewal date
is::")
MsgBox(d)
Else
MsgBox("* Still U Have to be Wait For Renewal")
End If
TextBox1.Text = " "
TextBox2.Text = " "
TextBox3.Text = " "
TextBox4.Text = " "
TextBox5.Text = " "
TextBox6.Text = " "
TextBox7.Text = " "
TextBox8.Text = " "
TextBox9.Text = " "
TextBox10.Text = " "
34
Imports System.Data
Imports System.Data.SqlClient
35
Inherits System.Web.UI.Page
Dim cn As SqlConnection
Dim cmd As SqlCommand
Dim dr As SqlDataReader
Dim necr As Char
Protected
Sub
Button1_Click(ByVal
System.EventArgs) Handles Button1.Click
sender
As
Object,
ByVal
As
36
,
&
&
&
Protected
Sub
Button4_Click(ByVal
System.EventArgs) Handles Button4.Click
sender
As
Object,
ByVal
As
37
TextBox12.Text = dr.Item(2)
dr.Close()
cn.Close()
End Sub
Protected
Sub
Button3_Click(ByVal
System.EventArgs) Handles Button3.Click
sender
As
Object,
ByVal
As
Response.Redirect("home.aspx")
End Sub
Protected
Sub
Button1_Click(ByVal
System.EventArgs)
sender
As
Object,
ByVal
As
As
Object,
ByVal
As
Response.Redirect("enqnewpass.aspx")
End Sub
Protected
Sub
Button2_Click(ByVal
System.EventArgs)
sender
Response.Redirect("enqrenewal.aspx")
38
End Sub
Protected
Sub
Button3_Click(ByVal
System.EventArgs)
sender
As
Object,
ByVal
As
As
Response.Redirect("enqecr.aspx")
End Sub
Protected
Sub
System.EventArgs)
Button4_Click(ByVal
sender
As
Object,
ByVal
Response.Redirect("enqfees.aspx")
End Sub
Protected
Sub
System.EventArgs)
Button5_Click(ByVal
sender
Response.Redirect("home.aspx")
End Sub
End Class
Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
Inherits System.Web.UI.Page
39
As
Object,
ByVal
As
Dim cn As SqlConnection
Dim cmd As SqlCommand
Dim dr As SqlDataReader
Dim n As Integer
Dim i As String
Dim f As Integer
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
As
Object,
ByVal
As
End If
End Sub
40
for issueing
if you need
Protected
Sub
Button3_Click(ByVal
System.EventArgs)
sender
As
Object,
ByVal
As
Response.Redirect("home.aspx")
End Sub
Protected
Sub
Button4_Click1(ByVal
System.EventArgs) Handles Button4.Click
sender
As
Object,
ByVal
As
41
n = dr.Item(0)
End If
n = n + 1
End While
dr.Close()
cn.Close()
End Sub
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
As
Object,
42
ByVal
As
Protected
Sub
System.EventArgs)
Button1_Click(ByVal
sender
As
Object,
ByVal
As
Response.Redirect("enquiry.aspx")
End Sub
End Class
Protected
Sub
Button1_Click(ByVal
System.EventArgs)
sender
As
Object,
Response.Redirect("enquiry.aspx")
End Sub
End Class
43
ByVal
As
Protected
System.EventArgs)
Sub
Button1_Click(ByVal
sender
As
Object,
ByVal
As
As
Object,
ByVal
As
Response.Redirect("enquiry.aspx")
End Sub
End Class
Protected
System.EventArgs)
Sub
Button1_Click(ByVal
sender
Response.Redirect("enquiry.aspx")
End Sub
End Class
44
sender
As
Object,
ByVal
As
End Sub
Protected
Sub
LinkButton1_Click(ByVal
sender
System.EventArgs) Handles LinkButton1.Click
As
Object,
ByVal
As
As
Object,
ByVal
As
As
Object,
ByVal
As
As
Object,
ByVal
As
As
Response.Redirect("npr.aspx")
End Sub
Protected
Sub
LinkButton2_Click(ByVal
sender
System.EventArgs) Handles LinkButton2.Click
Response.Redirect("rpr.aspx")
End Sub
Protected
Sub
LinkButton3_Click(ByVal
sender
System.EventArgs) Handles LinkButton3.Click
Response.Redirect("er.aspx")
End Sub
Protected
Sub
LinkButton4_Click(ByVal
sender
System.EventArgs) Handles LinkButton4.Click
Response.Redirect("sb1.aspx")
End Sub
Protected
Sub
Button5_Click(ByVal
sender
System.EventArgs) Handles Button5.Click
Response.Redirect("home.aspx")
End Sub
End Class
45
As
Object,
ByVal
Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
Inherits System.Web.UI.Page
Dim ds As DataSet
Dim cn As New SqlConnection
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
As
Object,
ByVal
As
As
Object,
ByVal
As
Response.Redirect("report.aspx")
End Sub
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
Dim flag As Integer = 0
46
GridView1.DataBind()
cn.Close()
End Sub
End Class
Imports System.Data
Imports System.Data.SqlClient
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
Response.Redirect("report.aspx")
End Sub
47
As
Object,
ByVal
As
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
As
Object,
ByVal
As
Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
Inherits System.Web.UI.Page
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
48
As
Object,
ByVal
As
Response.Redirect("report.aspx")
End Sub
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
As
Object,
ByVal
As
GridView1.DataSource = ds
GridView1.DataBind()
cn.Close()
End Sub
End Class
Imports System.Data
Imports System.Data.SqlClient
49
Protected
Sub
Button1_Click(ByVal
sender
System.EventArgs) Handles Button1.Click
As
Object,
ByVal
As
As
Object,
ByVal
As
Response.Redirect("report.aspx")
End Sub
Protected
Sub
Button2_Click(ByVal
sender
System.EventArgs) Handles Button2.Click
Dim flag As Integer = 0
50
Imports System.Data
Imports System.Data.SqlClient
Protected
Sub
Button1_Click(ByVal
System.EventArgs) Handles Button1.Click
sender
As
Object,
ByVal
As
51
GridView1.DataBind()
cn.Close()
End Sub
End Sub
sender
As
Object,
ByVal
As
As
Response.Redirect("report.aspx")
End Sub
End Class
52
sender
As
Object,
ByVal
Imports System.Data
Imports System.Data.SqlClient
sender
As
Object,
ByVal
As
53
sender
As
Object,
ByVal
As
TextBox1.Focus()
End Sub
sender
As
Object,
Response.Redirect("report.aspx")
End Sub
End Class
54
ByVal
As
LOGIN FORM
6. SYSTEM TESTING
6.1 TEST CASE DESIGN
55
Testing
Testing is the phase where the errors remaining from all the previous phase
must be detected. Hence, testing is very critical role for quality assurance and for
ensuring the reliability of software.
Testing of designed software consists of providing the software with a set of
test outputs and observing if the software behaves as expected. If the software fails
to behave as expected, then the conditions under which failure occurs when needed
for debugging and correction.
Presence of an error implies that a failure must have occurred, and the
observation of a failure applies that a fault does not imply a failure must occur.
We have tested our project in many ways for e.g., by storing information of
users, police etc., into the database and checking the information by retrieving them
from the database.
Verification and Validation
Verification is the process of determining whether one phase of the software
product confirms to its previous phase. Verification is concerned with phase
containment of errors.
Validation is the process of determining whether a fully developed system
confirms to its required specification. The aim to make the final product error free.
We have validated our project by checking the date format, by checking the
date of birth field in passport application form, and renewal form, and by checking the
date of issue in the ECR form and we have validated all the fields and forms of our
project.
Testing objectives
A good case is one that has a high probability of finding an undiscovered error.
A testing is a process of executing a program with the intent of finding an error.
56
57
2. Exercise all logical decisions on there true and false sides are Condition Testing.
3. Exercise internal data structure to assure their validation is called Data Flow
Testing.
4. Exercise all loops at their boundaries and within their operation bounds is called
Loop.
6.1.3 Basis Path Testing
The Basis Path method enables the test case designer to derive a logical
complexity measure of a procedural design and use this measure as a guide for
defining a basis set of execution paths. Test cases derived to exercise the basis test
are guaranteed to execute every statement in the program at least one time during
testing. It consists of Flow Graph Notation, Independent Program paths, Deriving Test
Cases, Graph Matrices.
58
customer
requirements.
Software testing is one element of verification and validation .verification refers
to
the set of
function .validation refers to a different set of activities that ensure the software has
been built is traceable to user requirements.
6.2.1 UNIT TESTING
Unit testing focuses verification effort on the smallest unit of software design.
59
60
tested. The drivers are removed and clusters are combined and moving upward in the
program structure.
6.2.2.1 Top-Down Integration
Top-Down Integration testing is an incremental approach to construction of the
software architecture. Modules are integrated by moving downward through the
control hierarchy, beginning with the main control module. Modules subordinate to
the main control module are incorporated into the structure in either a depth-First or
Breadth-First manner.
61
To access and ensure the quality of various products generated during software
development and modifications.
62
physical
security
and
safety
against
external
threats
such
as
63
64
Server side constraint has been imposed to check for the validity of primary
key and foreign key. A primary key value cannot be duplicated. Any attempt to
duplicate the primary value results into a message intimating the user about
those values through the forms using foreign key can be updated only of the
existing foreign key values.
Various Access Control Mechanisms have been built so that one user may not
upon another. Access permissions to various types of users are controlled
according to the organized structure.
Only permitted users can log on to the system and can have access according
to their category. User name, passwords and permissions are controlled to the
server side.
65
We have delivered our project to passport office, chittoor and the office
members (staff, admin, police etc.) are using our project and the feedback is taken
from them. If any modifications are required, they will inform us and we deliver the
software according to their experiences.
7. SYSTEM IMPLEMENTATION
66
HARDWARE REQUIRMENTS:
8. SYSTEM MAINTENANCE
67
After the installation of the system successfully, first the user will run the
login form by providing the Username and Password.
The Login dialog will contain the Username, Password and two command
buttons.
After that it displays the form with buttons in which user can select
required form or report.
The user can create the new passport by choosing the image also.
User can view the reports like date wise, district wise, new passport
wise, renewal wise, ecr/ecnr wise and special branch wise details etc by
giving necessary input.
The police can able to do the special branch enquiry for the issuing of
the passport.
Similarly all the above operations are carried out in all the forms.
So, a demonstration is enough to make the user to get familiar with the
system. The User Manual had been prepared for the future reference of the system.
68
8.2.2 ASP.NET
SERVER APPLICATION DEVELOPMENT
69
provides you with all the features of the common language runtime and class library
while gaining the performance and scalability of the host server.
The following illustration shows a basic network schema with managed code
running in different server environments. Servers such as IIS and SQL Server can
perform standard operations while your application logic executes through the
managed code.
SERVER-SIDE MANAGED CODE
ASP.NET is the hosting environment that enables developers to use the .NET
Framework to target Web-based applications. However, ASP.NET is more than just
runtime host;
It is a complete architecture for developing Websites and Internet-distribution objects
using managed code. Both web Forms and XML Web services use IIS and ASP.NET as
the publishing mechanism for applications, and both have a collection of supporting
classes in the .NET Framework.
XML Web services, an important evaluation in Web-based technology, are
distributed, server-side application components similar to common web sites.
However, unlike Web-based application components have no UI and are not targeted
for browsers such as Internet Explorer and Netscape Navigator, Instead, XML Web
services consist of reusable software components designed to be consumed by other
applications, such as traditional client applications, web-based applications or even
other XML web services. As a result, XML web services technology is rapidly moving
application development and deployment into the highly distributed environment of
the internet.
ACTIVE SERVER PAGES.NET
ASP.NET is a programming framework built on the common language runtime
that can be used on a server to build powerful Web applications. ASP.NET offers
several important advantages over previous Web development models:
Enhanced Performance:
70
71
Manageability:
ASP.NET employs a text-based, hierarchical configuration system, which
simplifies applying settings to your server environment and Web applications.
Because configuration information is stored as plain text, new settings may be
applied without the aid of local administration tools. This zero local administration
philosophy extends to deploying ASP.NET Framework as well. An ASP.NET Framework
application is deployed to a server simply by copying the necessary files to the
server. No server restart is required, even to deploy or replace running compiled
code.
72
ASP.NET Web Forms pages are text files with an .aspx file extension. They can
be deployed throughout an IIS virtual root directory tree. When a browser client
request .aspx resources, the ASP.NET runtime parses and compilers the target file into
a .NET Framework class. This class can then be used dynamically process incoming
requests. (Note that the .aspx file compiled only the first time it is accessed; the
compiled type instance is then reuse across multiple requests).
An ASP.NET page can be created simply by taking an existing HTML file and
changing its file name extension to .aspx (no modification of code is required). For
example, the following sample demonstrates a simple HTML page that collects a
users name and category preference and then performs a form post back to the
originating page when a button is clicked.
ASP.NET provides syntax compatibility with existing Asp pages. this includes
support for <%%> code render blocks that can be intermixed with HTML content
73
within an .aspx file. These code blocks execute in a top-down manner at page render
time.
CODE-BEHIND WEB FORMS
ASP.NET supports two methods of authoring dynamic pages. The first is the
method shown in the preceding samples, where the page code is physically declared
within the originating .aspx file. As alternative approachknown as the code-behind
method enables the page code to be more cleanly separated from the HTML content
into an entirely separate file.
INTRODUCTION TO ASP.NET SERVER CONTROLS
In addition to (or instead of) using <% %> code blocks to program dynamic
content. ASP.NET page developers can use ASP.NET page developers can use .NET
server controls to program Web pages. server controls are declared within an .aspx
file using custom tags or intrinsic HTML tags that contain a runat=server
attributes value. Intrinsic HTML tags are handling by the one of the control in the
System.Web.UI.HtmlControls namespace. Any tag that doesnt explicitly map to
one
of
the
controls
is
assigned
the
type
of
System.Web.UI.HtmlControls.HtmlGenericControl.
Server controls automatically maintain any client-entered values between
round trips to the server. This controls state is not stored on the server (it is instead
stored with in an <input type=hidden> from field that is round-tripped between
requests). Note also that no clients-side script is required.
In addition to supporting standard HTML input controls, ASP.NET enables
developers to utilize richer custom controls on their pages. For example, the following
sample demonstrate how the <asp: adrotator> control can be used to dynamically
displays rotating ads on a page.
1. ASP.NET Web Forms provide an easy and powerful way to build dynamic WebUI.
2. ASP.NET Web Forms pages can target any browser client (there are no script
library or cookie requirements).
74
3. ASP.NET Web Forms pages provide syntax compatibility with existing ASP
pages.
4. ASP.NET
functionality
5. ASP.NET ships with 45 built-in server controls. Developers can also use controls
built by third parties.
6. ASP.NET server controls can automatically project both up level HTML.
7. ASP.NET templates provide an easy way to customize the look and feel of list
server controls.
8. ASP.NET validation controls provide an easy way to declarative client server
data validation.
75
PRIMARY KEY
Every table in SQL Server has a field or a combination of fields that uniquely
identifies each recode in the table. The Unique identifier is called the Primary Key, or
simply the Key. The primary key provides the means to distinguish one record from all
other in a table. It allows the user and the database system to identify, locate and
refer to one particular record in the database.
RELATIONAL DATABASE
Some times all the information of interest to a business operation can be
stored in one table. SQL Server makes it very easy to link the data in multiple tables.
Matching an employee to the department in which they work is one example. This is
what makes SQL Server a relational database management system, or RDBMS. It
stores data in two or more tables and enables you to define relationships between the
table and enables you to define relationships between tables.
FOREIGN KEY
When a field is one table matches the primary key of another field is referred to
as a foreign key. A foreign key is a field or a group of fields in one table whose values
match those of the primary key of another table.
REFERENTIAL INTEGRITY
Not only does SQL Server allow you to link multiple tables, it also maintenance
consistency between them. Ensuring that the data among related tables is currently
matched is referred to as maintaining referential integrity.
DATA ABSTACTION
A major purpose of a database system is to provide users with an abstract view
of the data. The system hides certain details of how the data is stored and
maintained. Data abstraction is divided into three levels.
Physical Level: This is the lowest level of abstraction at which one describes how
the data are actually stored.
76
Conceptual Level: At this level of data base abstraction all the attributed and what
data are actually stored is described and entries and relationship among them.
View Level: This is the highest level of abstraction at which one describe only part
of the database.
ADVANTAGES OF RDBMS
DISADVANTAGES OF DBMS
A significant disadvantage of the DBMS system is cost. In addition to the cost
of purchasing of developing the software, the hardware has to be upgraded to allow
for the extensive programs and the work space required for their execution and
storage. While centralization reduces duplication, the lack of duplication requires that
the database be adequately backed up so that in case of failure the data can be
recovered.
77
application that require simultaneous DSS and OLTP access to the same critical data,
SQL Server leads the industry in both performance and capability.
SQL SERVER is a truly portable, distributed, and open DBMS that delivers
unmatched performance, continuous operation and support for every database.
SQL SERVER RDBMS is high performance fault tolerant DBMS which is specially
designed for online transaction processing and for handling large database
applications.
9. CONCLUSION
The entire project has been developed and deployed as per the requirements
stated by the user, it is found to be bug free as per the testing standards that are
78
implemented.
successfully completed and the final threshold of application has been crossed.
Weaving through the system developed, brief idea can be given as studying the
existing system, designing the problem, visualizing the solution as reports, preparing
the screen outputs, testing with test data, documenting the software developed.
The software comes up to the expectations but as it happens, we still believe
it can be improved further, and we openly expect a lot of feedback which helps us to
improve the effectiveness of the system and our efforts are paid. In short the system
is user friendly.
During the phase of treatment checking various difficulties were encountered
joining different tables created ant problems. The updating of stock has done well.
Logical errors were spotted during the system testing.
SCREEN SHOTS
79
HOME PAGE
80
81
82
ECR FORM
83
ENQUIRY FORM
84
85
86
87
88
89
90
91
SEARCH FORM
92
REPORTS
93
94
95
96
97
DATEWISE REPORT
98
99
100