Data Flow Diagrams (DFD)
Data Flow Diagrams (DFD)
Data Flow Diagrams (DFD)
5.1.2Notation:
Process:
Data Flow:
Definition:
UML is a general-purpose visual modeling language
that is used to specify, visualize, construct, and document
the artifacts of the software system.
UML is a language:
It will provide vocabulary and rules for
communications and function on conceptual and physical
representation. So it is modeling language.
UML Specifying:
Specifying means building models that are precise,
unambiguous and complete. In particular, the UML address
the specification of all the important analysis, design and
implementation decisions that must be made in developing
and displaying a software intensive system.
UML Visualization:
The UML includes both graphical and textual
representation. It makes easy to visualize the system and
for better understanding.
UML Constructing:
UML models can be directly connected to a variety of
programming languages and it is sufficiently expressive
and free from any ambiguity to permit the direct execution
of models.
UML Documenting:
UML provides variety of documents in addition raw
executable codes.
Goal of UML:
The primary goals in the design of the UML were:
• Provide users with a ready-to-use, expressive visual
modeling language so they can develop and exchange
meaningful models.
Uses of UML
The UML is intended primarily for software intensive
systems. It has been used effectively for such domain as
• Enterprise Information System
• Transportation
• Defense/Aerospace
• Retails
• Medical Electronics
• Scientific Fields
• Distributed Web
Rules of UML
The UML has semantic rules for
• NAMES: It will call things, relationships and
diagrams.
2. Relationships
3. Diagrams
Things:
Things are the data abstractions that are first class
citizens in a model. Things are of 4 types
• Structural Things
• Behavioral Things
• Grouping Things
• Annotational Things
Relationships:
Relationships tie the things together.
Relationships in the UML are
• Dependency
• Association
• Generalization
• Specialization
UML Diagrams:
A diagram is the graphical presentation of a set of
elements, most often rendered as a connected graph of
vertices (things) and arcs (relationships).
There are two types of diagrams, they are:
• STRUCTURAL DIAGRAMS
• BEHAVIORAL DIAGRAMS
STRUCTURAL DIAGRAMS:-
The UML‘s four structural diagrams exist to visualize,
specify, construct and document the static aspects of a
system. we can View the static parts of a system using one
of the following diagrams.
Structural diagrams consists of
• Class Diagram
• Object Diagram
• Component Diagram
• Deployment Diagram
BEHAVIORAL DIAGRAMS :
The UML’s five behavioral diagrams are used to
visualize, specify, construct, and document the dynamic
aspects of a system. The UML’s behavioral diagrams are
roughly organized around the major ways which can model
the dynamics of a system.
Behavioral diagrams consists of
• Use case Diagram
• Sequence Diagram
• Collaboration Diagram
Class Diagram:
A class diagram is a type of static structure
diagram that describes the structure of a system by showing
the system's classes, their attributes, and the relationships
between the classes.
• Class: Class is a description of a set of objects that
share the same attributes, operations, relationships and
semantics. A class implements one or more interfaces.
• Interface: Interface is a collection of operations that
specify a service of a class or component. An interface
describes the externally visible behavior of that
element. An interface might represent the complete
behavior of a class or component.
• Collaboration: Collaboration defines an interaction
and is a society of roles and other elements that work
together to provide some cooperative behavior. So
collaborations have structural as well as behavioral,
dimensions. These collaborations represent the
implementation of patterns that make up a system.
Relationships such as
• Dependency: Dependency is a semantic relationship
between two things in which a change to one thing
may affect the semantics of the other thing.
• Generalization: A generalization is a specialization /
generalization relationship in which objects of the
specialized element (child) are substitutable for
objects of the generalized element (parent).
Association: An association is a structural relationship that
describes a set of links, a link being a connection among
objects. Aggregation is a special kind of association,
representing a structural relationship between a whole and
its parts.
Testing Methods:
Bottom-up approach:
Top-down approach:
Implementation
11.2Features of JAVA
• Object-Oriented
• Robust
• Architecture Neutral
• Java I/O: