Académique Documents
Professionnel Documents
Culture Documents
1
Citizen card
Organization Profile:
2
Citizen card
Investment in high-quality manpower has largely been the reason for the
success of the organization. The technical team is headed by B.Chandra
Sekhar, Viswanath, B.Uday Reddy and Ashok whom have substantial
industrial experience with numerous successful projects to their credit both
in the industry and the defence sector.
The following list represents a typical cross section of the clients who
have eulogised on the quality of services provided by us. We have built
confidence and trust into our clients through our quality services and
dependable on-going support.
Turbo Engineering
Prem Industries
JK Mills
Deepak Oils
Maheshwari Marriage Bureau
3
Citizen card
Jayasree Enterprises
DigitalAUM
Arithmatics
Gempac India
VishVision
Malhotra Shaving Products Limited
Bayer India Limited
Hoechst Pharmaceuticals Limited
Klockner Windsor Limited
Hindustan Dorr Oliver
Electronic Corporation of India (Bangalore)
4
Citizen card
5
Citizen card
Contents
• Introduction
• Organization Profile
• Problem Definition
• Software Design
• Software Requirements
Overview of Java
Java Database Connectivity
Java Servlets
JSP
HTML & Java Script
Oracle 8i
Overview of Testing
• Dataflow Diagram
• Data Dictionary
• ER Diagrams
• Operational Profile
• Implementation
• Use Case Document
• Software Testing Design
• Test Cases
• Performance Evaluation Report
• Conclusion and future scope
6
Citizen card
Introduction:
7
Citizen card
Project Description:
8
Citizen card
MODULES:
Personal Information :
This module contains the personal information like name , id ,
address etc., of citizen. If administrator want to view the personal details of
the citizen administrator can verify the personal information module.
Credit Rating :
This module gives the information about the character of the citizen. It
determines whether the citizen’s behavior basing on all the things is good or
bad.
It provides the information of the citizen .
Insurance :
This module provides the amount insured and regarding its installments.
Basing on citizen id the insurance details can be displayed.If the citizen
wants to make a policy in the insurance then citizen can make it by his
citizen id.
Taxation:
This module provides the information regarding the tax paid and tax to be
paid. If Administrator wants to know about the particular citizen details
9
Citizen card
whether he/she paid the tax or not then the administrator can check it basing
on id.
Gas :
This module provides the information regarding the deliveries of the gas.
The information provides the amount paid by the customer to the particular
gas no and gas type.
RTO :
This module provides information regarding licenses for vehicles.It gives
the information like vehicle name,vehicle reg number,engine
number,Service number,Owner address etc
Voting :
This module provides the online voting facility. Citizen can choose
particular area to the voting.citizen can vote according to his/her choice.
Banking :
This module allows all banking transactions. Citizen can make any bank
transactions basing on citizen id.Bank like SBI, ICICI, Andhra bank etc All
the banking transactions can be done with citizen id.
Telephone :
This module provides information about the telephone bill payments. It
provides the information about the STD calls/ISD calls and their charges of
particular citizen id..
10
Citizen card
Electricity :
This module provides information about electricity bill payments and all.It
provides the information like number of units and previous no of units and
the charge for that bill basing on id of particular citizen.
Passport:
This module provides information about particular citizen.Details like
citizen personal information and dateissued,issued govt ,renewal
date,validupto etc.,
Objectives
Purpose
Purpose of this document is to clearly describe all known classes,
processes,
GUI, and data fields for this software.
11
Citizen card
FEASIBILITY STUDY:
Feasibility considerations:
The feasibility study is carried out to find whether the proposed
system can be developed and implemented without any problem. The
following feasibility is considered for the project in order to ensure that the
project is viable and it does not have any major obstructions. In this regard
technical, behavioral, and economic feasibility are analyzed.
Technical feasibility:
Behavioral Feasibility:
12
Citizen card
Economic Feasibility:
Software Requirements
13
Citizen card
SOFTWARE SPECIFICATION:
JAVA
JDBC
SERVLETS
JSP
HTML
ORACLE
SCRIPT LANGUAGE:
JAVA SCRIPT
WEB BROWSER:
TOMCAT (OR) WEBLOGIC
Hardware Requirements
14
Citizen card
JAVA
The initial release of Java was nothing of revolutionary, but it did not mark
the end of java’s era of rapid innovation. Unlike most other software systems
that usually settle into a pattern of small, increment improvements, java had
already created java1.1 were more significant and substantial than the
increase 1 the minor revision number would have you think. Java1.1 added
many new library elements, redefined the way events are handled by applets,
and reconfigured many features of the 1.0 library .It also deprecated several
features originally defined by java1.0. Thus java1.1 both added and
subtracted attributes from its original specification. Continuing in this
evolution, java2 also and subtracts features.
• Java Beans, which are software components that are written in Java.
• Serialization, which allows you to save and restore the state of an object.
• Remote Method Invocation, which allows a Java, objects to invoke the
methods of another Java object that located on a different machine. This
is an important facility for building distributed applications.
15
Citizen card
As just mentioned java 1.1 depreciated many earlier library elements. For
example, most of the original Date class was deprecated. However, the
deprecated features did not go away. Instead, they were replaced with
updated alternatives. In general, deprecated 1.0 feature is still available in
java to support legacy code, but they should not be used by new
applications.
16
Citizen card
Building upon 1.1, java 2.0 adds many important new features. Here is a
partial list.
• Swing is a set of user interface components that is implemented entirely
in java You can use a look and feel that is either specific to a particular
operating system or uniform across operating systems. You can also
design your own look and feel.
• Collections are group of objects. Java 2.0 provides several types of
collection, such as linked lists, dynamic arrays and hash tables for use.
Collections offer a new way to solve several common-programming
problems.
• Digital certificates provide mechanism to establish the identity of a user.
You may think of them as electronic passports. Java programs can parse
and use certificates to enforce security policies.
• Text components can now receive Japanese, Chinese and Korean
characters from keyboard. Using a sequence of keystrokes to represent
one character does this.
• The Common Object request Broker Architecture (CORBA) defines an
Object request Broker (ORB) and an Interface Definition Language
(IDL). Java 2.0 includes an ORB and an IDL to java compiler. The latter
generates code from an IDL specification.
• Performance improvements have been made in several areas. A Just-In-
Time (JIT) compiler is included in JDK.
• Many browsers include a Java Virtual Machine that is used to execute
applets. Unfortunately, browsers JVM’s typically do not include the
latest java features. The java Plug-in solves this problem. It directs a
17
Citizen card
browser’s JVM .The JRE is a subset of the JDK.It does not include the
tools and classes that are used in a development environment.
Various tools such as Javac, Java and Javadoc have been enhanced.
Debugger and Profiler interfaces for the JVM arte available.
Features Deprecated by 2
Although not as extensive as the deprecations experienced between 1.0 and
1.1 some features of java 1.1 are deprecated by java 2.0. For example, the
suspend (), resume () and stop () methods of the Thread class should not be
used in new code
18
Citizen card
implemented for each platform. Once the runtime package exists for a given
system any java program can run on it. If java were a compiled langu8age
then different versions of the same program will have to exist for each type
of CPU connected to the Internet. Thus interpretation is the easiest way to
create truly portable programs.Although java was designed to be interpreted,
there is technically nothing about java that prevents on the fly compilation of
Byte Code into native code. However, even if dynamic compilation were
applied to Byte Code, the portability and safety would still apply, because
the run time system would still be in change of the execution environment.
19
Citizen card
PROCEDURAL LANGUAGES
20
Citizen card
21
Citizen card
Data Undervalued
22
Citizen card
It's like leaving your personal papers in the lobby of your apartment
building: Anyone can change or destroy them. In the same way, global data
can be corrupted by functions that have no business changing it.
Another problem is that, since many functions access the same data, the way
the data is stored becomes critical. The arrangement of the data can't be
changed without modifying all the functions that access it.
If you add new data items, for example, you'll need to modify all the
functions that access the data so that they can also access these new items. It
will be hard to find all such functions, and even harder to modify all of them
correctly. It's similar to what happens when your local supermarket moves
the bread from aisle 4 to aisle 12. Everyone who patronizes the supermarket
must figure out where the bread has gone, and adjust their shopping habits
accordingly.
What is needed is a way to restrict access to the data, to hide it from all but a
few critical functions. This will protect the data, simplify maintenance, and
offer other benefits as well.
Procedural programs are often difficult to design. The problem is that their
chief components--functions and data structures--don't model the real world
very well. For example, suppose you are writing a program to create the
elements of a graphics user interface: menus, windows, and so on. Quick
now, what functions will you need? What data structures? The answers are
not obvious, to say the least. It would be better if windows and menus
corresponded more closely to actual program elements.
23
Citizen card
24
Citizen card
If you want to modify the data in an object, you know exactly what functions
interact with it: the member functions in the object. No other functions can
access the data. This simplifies writing, debugging, and maintaining the
program.
An analogy
25
Citizen card
the sales department, and you need to know the total of all the salaries paid
in the southern region in July, you don’t just walk into the payroll
department and start rummaging through file cabinets. You send a memo to
the appropriate person in the department, and then you wait for that person
to access the appropriate person in the department, and then you wait for that
person to access the data and send you a reply with the information you
want. This ensures that the data is accessed accurately and that inept
outsiders do not corrupt it. (This view of corporate organization is show in
figure). In the same way, objects provide an approach to program
organization, while helping to maintain the integrity of the programs data.
Objects
When you approach a programming problem in an object oriented language,
you no longer ask how the problem will be divided into functions, but how it
will be divided into objects. Thinking in terms of objects, rather than
26
Citizen card
Physical objects
Automobile in a traffic-flow simulation
Electrical components in a circuit design to a program
Countries in an economics model
Aircraft in an air-traffic control system
• Elements of the computer-user environment
Windows
Menus
Graphics objects (lines, rectangles, circles)
The mouse and the keyboard
• Programming constructs
Customized arrays
Stacks
Linked lists
• Collection of data
An inventory
A personnel file
27
Citizen card
A dictionary
A table of the latitudes and longitudes of world cities
• User defined data types
Time
Angles
Complex numbers
Points on the plane
Classes
In OOP we say that objects are members of classes. What does this mean?
Let’s look at an analogy. Almost all computer languages have built-in data
types. For instance, a data type int, meaning integer is pre-defined in Java.
You can declare as many variables of type int as you need in your program:
Int day;
Int count;
Int divisor;
28
Citizen card
Int answer;
A class serves as a plan, or template. It specifies what data, and what
functions will be included in objects of that class. Defining the class doesn’t
create any objects, just as the mere existence of a type int doesn’t create any
variables.
A class is thus a collection of similar objects. This fits our non-technical
understanding of the word class, Prince, sting etc., are members of the class
of rock musicians. There is no person called rock musician but specific
people with specific names are members of this class if they possess certain
characteristics.
Abstraction
An essential element of object-oriented programming is abstraction.
Humans manage complexity through abstraction. For example, people do
not think of a car as a set of tens of thousands of individual parts. They
think of it as a well-defined object with its own unique behavior. This
abstraction allows people to use a car to drive to the grocery store without
being overwhelmed by the complexity of the parts that form the car. They
can ignore the details of how the engine, transmission, and braking systems
work. Instead they are free to utilize the object as a whole.
A powerful way to manage abstraction is through the use of hierarchical
classifications. This allows you to layer the semantics of complex systems,
breaking them into more manageable pieces. From the outside, the car is a
single object. Once inside, you see that the car consists of several
subsystems: steering, brakes, sound system, seat belts, heating, cellular
phone, and so on. In turn, each of these subsystems is made up of more
29
Citizen card
Object-oriented concepts form the heart of Java just as they form the basis
for human understanding. It is important that you understand how these
concepts translate into programs. As you will see, object-oriented
programming is a powerful and natural paradigm for creating programs that
survive the inevitable changes accompanying the life cycle of any major
software project, including conception, growth, and aging. For example,
once you have a well defined objects and clean, reliable interfaces to those
objects, you can gracefully decommission or replace parts of an older system
without fear.
Encapsulation
Encapsulation is the mechanism that binds together code and the
data it manipulates, and keeps both safe from outside interference and
misuse. One way to think about encapsulation is as a protective wrapper
that prevents the code and data from being arbitrarily accessed by other
30
Citizen card
code defined outside the wrapper. Access to the code and data inside the
wrapper is tightly controlled through a well-defined interface. To relate
this to the real world, consider the automatic
31
Citizen card
When you create a class, you will specify the code and data that
constitute that class. Collectively, these elements are called members of the
class. Specifically, the data defined by the class are referred to as member
variables or instance variables. The code that operates on that data is
referred to as member methods or just methods.
Inheritance
Inheritance is the process by which one object acquires the properties
of another object. This is important because it supports the concept of
hierarchical classification. As mentioned earlier, most knowledge is made
manageable by hierarchical (that is, top-down) classifications. For example,
32
Citizen card
Most people naturally view the world as made up of objects that are
related to each other in a hierarchical way, such as animals, mammals, and
dogs. If you wanted to describe animals in an abstract way, you would say
they have some attributes, such as size, intelligence, and type of skeletal
system. Animals also have certain behavioral aspects; they ear, breathe, and
sleep. This description of attributes and behavior is the class definition for
animals.
33
Citizen card
Polymorphism
Polymorphism (from the Greek, meaning “many forms”) is a feature that
allows one interface to be used for a general class of actions. The specific
action is determined by the exact nature of the situation. Consider a stack
(which is a last-in, first-out list). You might have a program that requires
three types of stack. One stack is used for integer values, one for floating-
point values, and one for characters. The algorithm that implements each
stack is the same, even though the data being stored differs. In a non-object-
oriented language, you would be required to create three difference sets of
stack routines, with each set using different names. However, because of
polymorphism, in Java you can specify a general set of stack routines that all
share the same names.
More generally, the concept of polymorphism is often expressed by
the phrase “one interface, multiple methods.” This means that it is possible
to design a generic interface to a group of related activities. This helps
reduce complexity by allowing the same interface to be used to specify a
general class of action. It is the compiler’s job to select the specific action
(that is, method) as it applies to each situation. You, the programmer, do not
need to make this selection manually. You need only remember and utilize
the general interface.
Extending the dog analogy, a dog’s sense of smell is polymorphic. If
the dog smells a cat, it will bark and run after it. If the dog smells its food, it
34
Citizen card
will salivate and run to its bowl. The same sense of smell is at work in both
situations. The difference is what is being smelled, that is, the type of data
being operated upon by the dog’s nose! This
same general concept can be implemented in Java as it applies to methods
within a Java program.
35
Citizen card
People interface with encapsulated features on cars all the time. The
brake and gas pedals hide an incredible array of complexity with an interface
so simple you can operate them with your feet! The implementation of the
engine, the style of brakes, and the size of the tires have no effect on how
you interface with the class definition of the pedals.
The final attribute, polymorphism, is clearly reflected in the ability of
car manufacturers to offer a wide array of options on basically the same
vehicle. For example, you can get an antilock braking system or traditional
brakes, power or rack-and-pinion steering, 4-, or 6-, or 8-cylender engines.
Either way, you will still press the break pedal to stop, turn the steering
wheel to change direction, and press the accelerator when you want to move.
JDBC is a set of specification that defines how a program written in java can
communicate and interact with a database. It provides a vehicle for the
exchange of SQL between java application and databases. Programs
developed with java and the JDBC are platform independent and vendor
independent.
The same java database program can run on PC, a workstation, or java
powered terminal. You can move your data from one database to another,
for example from Microsoft SQL Server to Oracle and the same program
can still read your data. This is in sharp contrast to the database
programming typically done on personal computers today. It is all common
that one writes the database application in proprietary database language,
36
Citizen card
using a database management system that is available only from one or two
platforms.
At the heart of the JDBC is the JDBC driver. JDBC driver is responsible for
ensuring that any requests made by the application are presented to the
database in away that is meaningful to the databases. JDBC was designed to
support the most common form of SQL known as ANSI SQL92 entry level
standard.
The JDBC consists of two layers .The top layer is the JDBC API. This API
communicates with JDBC manager driver API sending, it the various SQL
statements. The manager should communicate with the various third party
drivers that actually connect to the database and return the information from
the query or performed the action specified by the query.
37
Citizen card
Applications on the other hand have complete freedom. They can give the
application the total access to files and remote servers. We envision that
JDBC applications will be very common.
Components of JDBC
The JDBC driver test suite provides some confidence that JDBC drivers will
run your program. Only drivers that pass the JDBC driver test suite can be
designated JDBC COMPLIANT.
38
Citizen card
JDBC-ODBC Bridge:
ODBC driver is the only driver that can be used with the multiple databases
and is vendor independent. The ODBC interface remains constant no matter
which database is used. This means that this type of JDBC driver only needs
to speak only one language ODBC.
JDBC-Net-All-Java-Driver:
The main difference when using this driver is that the native CLI libraries
are placed on a remote server and the driver uses a network protocol to
facilitate communication between the application and the driver .All c
39
Citizen card
communication between the application and the database server are 100%
java to java. Communication between the database itself and the server
processes is still done with a native database CLI.
Native-Protocol-All-Java-Driver:
This kind of driver converts JDBC calls into the network protocol used by
DBMS directly. This allows a direct call from the client machine to the
DBMS server and is a practical solution for Internet access. Since many of
these protocols are proprietary, the database vendors themselves will be the
primary source and database vendors have these in progress
40
Citizen card
SERVLETS
41
Citizen card
First, assume that a user enters a Uniform Resource Locator (URL) to the
web browser. The Browser then generates a HTTP request for this URL and
sends it to the appropriate server.
Second, the web server receives this HTTP request. The server maps this
request to a particular servlet. This servlet is dynamically retrieved and
located into the address space of the server.
Third, the server invokes the init () method of the servlet. This method is
invoked only when the servlet is first loaded into the memory. You will see
42
Citizen card
The servlet remains in the servers address space and is available to process
any other HTTP requests received from clients. The service () method is
called for each HTTP request.
Finally the server may decide to unload the servlet from its memory. The
algorithms by which this determination is made are specific to each server.
The server calls destroy () method to relinquish any resources, such as file
handlers that are allocated for a servlet. Important data may be saved to a
persistent store. The memory allocated for the servlet and its objects can
then be garbage collected.
43
Citizen card
When a servlet accepts a call from client it receives two object one is servlet
request and the other is a servlet response. The servlet request class
encapsulates the communication from the back to the client.
The servlet request interface allows the servlet access to the information
such as the names of the parameters passed in by the client, the protocol
(scheme) being used by the client, and the names of the remote host that
made the request and the server that received it. It also provides the servlet
with access to the input stream. Servlet classes of servlet request allow the
servlet to retrieve more protocol specific data. Input stream, through which
the servlet gets data from clients that are using application, protocols such as
the HTTP POST and PUT methods. Subclasses of servlet request allow the
servlet to retrieve more protocol specific data.
The Servlet Response interfaces give the servlet methods to the client. It
allows the servlet to set the content length and mime type of the reply and
provides an output stream. Servlet output stream and a writer through which
the servlet can send the reply data. Subclasses of Servlet Response give the
servlet more protocol specific capabilities. For example, HTTP Servlet
Response contains methods that allow the servlet to manipulate the HTTP
specific header information.
44
Citizen card
Services load and run servlets, which then accept zero or more requests from
clients and return data to them. They can also remove servlets. These are the
steps of a servlets life cycle.
When a service () loads a servlet, it runs the servlets init () method. Even
though most servlets are run in multi-threaded services, there are no
concurrency issues during servlet initialization. This is because the service
calls the init () method once, when it loads the servlet, and will not call it
again unless it is reloading the servlet. The service cannot reload a servlet
until after it has removed the servlet by calling the destroy () method.
Initialization is allowed to complete before the client requests are handled or
the servlet is destroyed.
Each client’s request has its call to the service () method run in its own
servlet. The method receives the client’s request and sends the client its
response. Servlets can run multiple service () methods at a time .It is
important therefore that service () methods be written a thread -safe manner.
Servlets until they are removed from the service. When a service removes a
servlet, it removes a servlet, it runs the servlet destroy () method. The
method is run once; the service3 will not run it again until after it reloads the
reinitializes the servlet. When the destroy () method runs, however, other
threads might be running service request .If in cleaning up, it is necessary to
access shared resources that access should be synchronized.
45
Citizen card
The behind hypertext is that instead of reading text in rigid liner structure
you can easily jump from point to another point .You can navigate through
the information based on your interest and preferences.
Hyper Media: HTML pages audio and video files linked to them are Hyper
Media.
46
Citizen card
web document are through the usage of HTML tags. It is tags that describe
documents. Anything that is not a tab is part of a document itself.
Word for windows or Lotus AmiPro for example, have different styles for
Headings, fonts, size and identification. HTML does not have all these.
Advantages:
An HTML document is a small and hence easy to send over the net. It is
small because it does not include format information.
47
Citizen card
48
Citizen card
JAVA SCRIPT
Scripting Language:
JavaScript enables Web authors to write small scripts that execute on the
users’ browsers rather than on the server. An application that collects data
from a form and then posts it to the server can validate the data for
completeness and correctness, for example, before sending it to the server.
This can greatly improve the performance of the browsing session because
users don’t have to send data to the server until it has been verified as
correct.
49
Citizen card
Use of JavaScript:
JavaScript provides a fairly complete set of built-in functions and
commands, enabling you to perform math calculations, manipulate strings,
play sounds, open new windows and new URLs, and access and verify user
input to your Web forms.
JavaScript can also set the attributes, or properties, of Web page elements,
Active-x controls, Java applets and other objects present in the browser.
This way, you can change the behavior of plug-ins or other objects without
having to rewrite them. Your JavaScript code could automatically set the
text of an Active-X Label Control, for example, based on what time the page
is viewed.
50
Citizen card
51
Citizen card
The following are some simple rules to help you understand how the
language is structured:
• JavaScript is case sensitive.
• JavaScript is flexible about statements. A single statement can cover
multiple lines, and you can put multiple short statements on a single line -
just make sure to add a semicolon (;) at the end of each statement.
• Braces (the {and} characters) group statements into blocks; A block may
be the body of a function or a section of code that gets executed in a loop
or as part of the conditional test.
JavaScript is designed to resemble Java, which, in turn, looks a lot like C
and C++. The difference is that Java was built as a General-purpose object
language; JavaScript, on the other hand, is intended to provide a quicker and
simpler language for enhancing Web pages and servers.
52
Citizen card
ORACLE
53
Citizen card
The data is stored in the form of tables. The tables consist of one or
more records or rows. Each row has one or more fields or columns. The
unit of data is accessed by a row and column intersection. A column that
has a unique set of values through out the table can be used to access the
data. Such a column is called the “ key” or the “primary Key”. If no such
single column exists, using a set of columns such that when combined they
are unique throughout the table can access the data. These set of columns
are called “Composite Key”.
Data Abstraction
54
Citizen card
Physical Level: The lowest level of abstraction describes how the data is
actually stored.
View Level: The highest level of abstraction describes only part of the
entire database. The system may provide many views for the same
database.
Data Model:
Underlying the structure of a database is the concept of the data
model, a collection of conceptual tools for describing data relationships,
data semantics and consistency constraints.
The various data models fall into three groups. They are
Object Based logical model:
These are used in describing data at the conceptual and view levels.
Some of the object based logical models are
55
Citizen card
• Entity-relationship model
• Object-oriented model
• Binary model
• Semantic model
• Info logical model
• Functional data model
• Physical Data Model: Physical data models are used to describe data at
the lowest level. Two of the widely known ones are
Unifying model
56
Citizen card
Frame model
• Physical Schema
• Conceptual Schema
• Sub Schema
Data Independence:
The ability to modify a schema definition in one level without
affecting a schema definition in the next higher level is called data
independence.
The two levels of data independence are
57
Citizen card
• Procedural: - DML requires the user to specify what data is needed and
how to get it. Here the data gets modified in each procedure and
execution is in the form of procedure by procedure.
58
Citizen card
59
Citizen card
Normalization:
Relational databases a form of database specification based upon the
mathematical concept of a relation. The mathematical nature of the
concept is, however, not necessary to its appreciation and
60
Citizen card
1. To secure the data so that any pertinent relationship between entities can
be represented.
2. To simplify the maintenance of the data through updates, inserts and
deletions.
3. To reduce the need to restructure or re-organize data when new
application requirements arise.
61
Citizen card
INTERNET
62
Citizen card
Hyperlink:
63
Citizen card
Web:
Browsing:
Web Browser
It is basically a program that run on an Internet connected computer and
provides access to WWW resources.
Browser Types:
There are two types of Browsers
1. Text only browsers such as Linux are used on Shell accounts. This
is faster but does not provide GUI features and so not that user
friendly.
2. Graphical Web Browsers such as Netscape Navigator, Internet
Explorer is more popular. HotJava and Mosaic are also Web
64
Citizen card
Website:
The website is a computer system that runs on web server and has
been set up for publishing documents. Some websites have only a single
document while others consists of hundreds of pages, for example about
the services or products provided by the company.
Web Server:
65
Citizen card
Testing
design, the output is document that is usually textual and non-textual. After
the coding
phase, computer programs are available that can be executed for testing
purpose. This
implies that testing has to uncover errors introduced during coding phases.
Thus, the goal
66
Citizen card
coding errors. After this the modules are gradually integrated into subsystems,
which are
After the system was put together, system testing is performed. Here the
system
is tested against the system requirements to see if all requirements were met
and the system
67
Citizen card
For the testing to be successful, proper selection of the test case is essential.
There are two
different approaches for selecting test case. The software or the module to be
tested is
treated as a black box, and the test cases are decided based on the
specifications of the
system or module. For this reason, this form of testing is also called “black
box testing”.
The focus here is on testing the external behavior of the system. In structural
testing the test
cases are decided based on the logic of the module to be tested. A common
approach
The two forms of testing are complementary: one tests the external behavior,
the other tests
the internal structure. Often structural testing is used for lower levels of
testing, while
68
Citizen card
the overall testing process. Frequently the testing process starts with the test
plan. This plan
identifies all testing related activities that must be performed and specifies the
schedule,
allocates the resources, and specifies guidelines for testing. The test plan
specifies
different units to be tested, and the manner in which the module will be
integrated together.
Then for different test unit, a test case specification document is produced,
which lists all
69
Citizen card
the different test cases, together with the expected outputs, that will be used
for testing.
During the testing of the unit the specified test cases are executed and the
actual results are
compared with the expected outputs. The final output of the testing phase is
the testing
report and the error report, or a set of such reports. Each test report contains a
set
of test cases and the result of executing the code with the test cases. The error
report describes the errors encountered and the action taken to remove the
error.
Error Messages
The term error is used in two different ways. Errors refer to the discrepancy
between
computed and observed values. That is error refers to the difference between
the actual
70
Citizen card
output of the software and the correct output. In this interpretation, error
essentially is a
measure of the difference between the actual and the ideal. Error is also used
to refer to
human action that results in the software containing a defect or a fault. This
detection is
The consequence of thinking is the belief that the errors largely occur during
programming, as it is the can see, the errors occur through the development.
As we can
see, the errors occur throughout the development process. However, the cost
of
connecting the errors of different phases is not the same and depends upon
when the error
was detected and corrected. The cost of correcting errors in the function of
where they are detected.
71
Citizen card
As one would expect the greater the delay in detecting an error after it
occurs, the more
corrected after the coding then the cost is higher than correcting it in the
requirements phase
itself. The reason for this is fairly obvious. If there was error in the
requirements phase that
error will affect the design and coding also. To correct the error after coding is
done require
both the design and the code to be changed there by increasing the cost of
correction.
The main moral of this section is that we should attempt to detect the
errors that
occur in a phase during the phase itself should not wait until testing to detect
errors. This is
not often practiced. In reality, sometimes testing is the sole point where errors
are detected.
72
Citizen card
Besides the cost factor, reliance on testing as a primary source for error
detection and
Testing Techniques
set of conditions known as test cases and the output is evaluated to determine
whether the
73
Citizen card
In order to make sure that the system does not have errors, the different
levels of
Unit Testing
Unit Testing is done on individual modules as they are completed and become
In this strategy some test cases are generated as input conditions that fully
execute all
74
Citizen card
Functional requirements for the program. This testing has been uses to find
errors in the
Following categories:
In this testing only the output is checked for correctness. The logical flow of
the data is not checked.
In this the test cases are generated on the logic of each module by drawing
flow graphs of
that module and logical decisions are tested on all the cases.
It has been uses to generate the test cases in the following cases:
a) Guarantee that all independent paths have been executed.
b) Execute all logical decisions on their true and false sides.
75
Citizen card
Integration Testing
tests the interface of all the modules to make sure that the modules behave
properly when
integrated together.
System Testing
Involves in-house testing of the entire system before delivery to the user. Its
aim is to
satisfy the user the system meets all requirements of the client's
specifications.
76
Citizen card
Acceptance Testing
Validation Testing
The system has been tested and implemented successfully and thus
ensured that
COMPILING TEST
It was a good idea to do our stress testing early on, because it gave us time to
fix some of
77
Citizen card
the unexpected deadlocks and stability problems that only occurred when
components
EXECUTION TEST
OUTPUT TEST
The successful output screens are placed in the output screens section above.
78
Citizen card
This states a great deal about how organization objectives are accomplished in
the course
Used, changed and output. Data flow analysis studies the use of data in each
activity.
Data flow analysis examines the use of the data to carry out specific process
Data flow strategy shows the use of data in the system pictorially. The tools
79
Citizen card
A graphical tool is used to describe and analyse the movement of the data
through a
system manually or automate including the process of data storage, and delay
in the
the basis for the development of other components. The transformation of data
from one
show the actual implementation and movements of the data through people,
departments
and workstations.
Data flow diagram is a structure analysis tool that is used for graphical
representation of
80
Citizen card
Data processes through any organization. The data flow approach emphasis on
the logic
comprises of various levels. And initial over view model is exploded lower
level
diagrams that show additional feature of the system. Further each process can
be broken
down into a more detailed DFD. This occurs repeatedly until sufficient details
are described.
DFD SYMBOLS
81
Citizen card
82
Citizen card
DATA FLOW
DATA STRUCTURE
EXTERNAL ENTITY
OR DATA LINK
PROCESS
DATA BASE
83
Citizen card
DATA FLOW
DATA STRUCTURE
EXTERNAL ENTITY
OR DATA LINK
PROCESS
DATA BASE
84
Citizen card
85
Citizen card
Employee
Administrator
86
Citizen card
87
Citizen card
Insurance
Banking
citizen
Server
passport
Gas details
88
Citizen card
login
Add
ci
ti
DATABASE
Administ
rators
Update
citizen
details
View citizen
details
89
Citizen card
ADVANTAGES OF DFD’s:
Users, persons who are part of the process being studied, early
understand the
notations. So analysts can work with the users and involve them in
the study of
data flow diagram. For accurate business activity users can make
suggestions
for modification and also they examine charts and spot out the
problems
quickly. If the errors are not found in the development process they
will be very
90
Citizen card
and study them by examining the data that enters the process and
see how it is
- Administrators
91
Citizen card
UML Diagrams :-
`Usecasediagram of Citizen
Personal info
Voting
Passport
Municipality
Electricity
Gas
RTO
92
Citizen card
PERSONAL INFORMATION :
93
Citizen card
94
Citizen card
95
Citizen card
96
Citizen card
97
Citizen card
98
Citizen card
99
Citizen card
Persona
Credit rating Electricity Insurance Electricity Banking Tax
l
100
Citizen card
Login
Reports
101
Citizen card
Enter username
Enter
Password
Validat
ed?
Citizen Access
Admin Page
Apply Items
102
Citizen card
Remove Citizen
103
Citizen card
If Not Eligible
If Eligible
for Apply?
If Eligible for
the Options Apply for the Items
104
Citizen card
DATA DICTIONARY
Database tables
User Details
Personal Information
Taxation
105
Citizen card
Gas Details
RTO:
Banking:
106
Citizen card
citizenid varchar2(15),
balance number(8));
Voting:
Electricity:
107
Citizen card
Municipality:
Insurance:
Passport:
108
Citizen card
Provident Fund:
109
Citizen card
Drawbacks:
Citizen Card project has some drawbacks like
The details are maintained by the number of administrators.
There is a chance of gathering wrong information in personal information
details until administrator works good without fraud.
Conclusion:
Citizen card project maintains unique id to every citizen to utilize
there own services in private or Govt Organizations. A Citizen has unique Id
to find out the personal information in each and every department or service
wherever a citizen goes. This information can be found out by the unique Id
of the citizen. It maintains and manages the transactions easily in
different departments.
110