Escolar Documentos
Profissional Documentos
Cultura Documentos
Data flow: the route that data takes between the external entities,
processes and data stores. It portrays the interface between the other
components and is shown with arrows.
Context Diagram: Its a basic overview of the whole system or process being analyzed or
modeled. Its designed to be an at-a-glance view, showing the system as
a single high-level process, with its relationship to external entities.
Level 0: DFD Level 0 provides a more detailed breakout of pieces of the Context
Level Diagram. The main functions carried out by the system, as you break
down the high-level process of the Context Diagram into its sub
processes.
Conclusion:Hence we have studied Data Flow Diagram for Bank management system.
EXPERIMENT No:-03
Aim: - Develop a Use Case Diagram for Bank Management System.
Theory:Use Case Diagram: The use case diagram is dynamic in nature there should be some internal
or external factors for making the interaction.
These internal and external agents are known as actors. So use case
diagrams are consists of actors, use cases and their relationships.
The diagram is used to model the system/subsystem of an application. A
single use case diagram captures a particular functionality of a system.
Purpose:
Components of Use Case Diagram: Use cases: - Use cases are the horizontally shaped ovals. This represents
the different uses that a user might need.
Actors :- represented by stick figure people and are the people actually
employing the use cases
Associations: - represented by a line between actors and use cases. In a
more complex diagram, it is important to know which actors are
associated with which use cases.
System boundary boxes: - a box that sets a system scope to use cases. All
use cases outside the box would be considered outside the scope of that
system.
Packages: - A UML shape that allows you to put different elements into
groups. Just as with component diagrams, these groupings are
represented as file folders.
Conclusion:Hence we have studied Use Case Diagram for Bank management system.
EXPERIMENT No:-08
Aim: - Develop a sequence diagram for Bank Management System.
Theory:Sequence Diagram: A sequence diagram is a UML diagram that models the logic use of a use
case by depicting the interaction of message between objects in time
sequence. A full sequence diagram depicts the interaction between all
the object classes involved in the scenario.
A sequence diagram models the logic of a use case by depicting the
interaction between objects in the time sequence. The messages are
arranged in time sequence from top to bottom.
A sequence diagram can be seen as a way to integrate the steps of a use
case with the objects of a class diagram. A sequence diagram graphically
documents the use case by showing the classes the messages, and the
timing of the messages.
Purpose: The sequence diagram is used primarily to show the interactions between
objects in the sequential order that those interactions occur.
Much like the class diagram, developers typically think sequence diagrams
were meant exclusively for them
An organization's technical staff can find sequence diagrams useful in
documenting how a future system should behave.
One of the primary uses of sequence diagrams is in the transition from
requirements expressed as use cases to the next and more formal level of
refinement.
In addition to their use in designing new systems, sequence diagrams can
be used to document how objects in an existing (call it "legacy") system
currently interact.
Sequence diagram include symbols that represent classes, lifelines, messages
and focuses.
Classes a class is identified by a rectangle with the name inside. Classes
that send or receive messages are shown at the top of the sequence
diagram
Lifelines A lifeline is identified by a dashed line. The lifeline represent
the time during which the object above it is able to interact with the other
objects in the use case. An X marks the end of the lifeline
EXPERIMENT No:-09
Aim: - Develop a collaboration diagram for Bank Management System.
Theory:- Collaboration Diagram
The interactive behaviour is represented in UML by two diagrams known as
sequence diagram and Collaboration diagram.
Sequence diagram emphasizes on time sequence of messages
and collaboration diagram emphasizes on the structural organization of
the objects that send and receive messages.
Here in collaboration diagram the method call sequence is indicated by
some numbering technique .The number indicates how the methods are
called one after another.
The method calls are similar to that of a sequence diagram. But the
difference is that the sequence diagram does not describe the object
organization whereas the collaboration diagram shows the object
organization.
Purpose: Collaboration diagrams are used to describe the structural organizations
of the objects taking part in the interaction.
Collaboration diagram emphasizes on the structural organization of the
objects that send and receive messages.
Elements Of collaboration Diagram: Object: The objects interacting with each other in the system. Depicted
by a rectangle with the name of the object in it, preceded by a colon and
underlined.
Collaboration Diagram:-
EXPERIMENT No:-04
Aim: - Develop a class diagram for Bank Management System.
Theory: - Class Diagram
The class diagram is a static diagram. It represents the static view of an
application. Class diagram is not only used for visualizing, describing and
documenting different aspects of a system but also for constructing
executable code of the software application.
The class diagram describes the attributes and operations of a class and
also the constraints imposed on the system. The class diagrams are widely
used in the modelling of object oriented systems because they are the
only UML diagrams which can be mapped directly with object oriented
languages.
The class diagram shows a collection of classes, interfaces, associations,
collaborations and constraints. It is also known as a structural diagram.
Purpose: The purpose of the class diagram is to model the static view of an
application.
The purpose of the class diagram can be summarized as:
Analysis and design of the static view of an application.
Describe responsibilities of a system.
Base for component and deployment diagrams.
Forward and reverse engineering.
Now the following diagram is an example of a Bank management system.
So it describes a particular aspect of the entire application.
Bank management systems need to reflect the relationships between a
varieties of Bank-related objects.
These objects can be sorted into classes via a class diagram, which shows
the relationships between each object in the system or application.
Developing class diagram consist of following steps: Identifying classes
Identifying association
Identifying attributes
Identifying Inheritance
Identifying operation
Iterate and refine model
CLASS DIAGRAM:
EXPERIMENT No:-05
Aim: - Develop an Object diagram for Bank Management System.
Theory:Object Diagram: Object diagrams are derived from class diagrams so object diagrams are
dependent upon class diagrams.
Object diagrams represent an instance of a class diagram. The basic
concepts are similar for class diagrams and object diagrams. Object
diagrams also represent the static view of a system but this static view is
a snapshot of the system at a particular moment.
Object diagrams are used to render a set of objects and their relationships
as an instance.
Purpose: The purposes of object diagrams are similar to class diagrams.
The difference is that a class diagram represents an abstract model
consisting of classes and their relationships. But an object diagram
represents an instance at a particular moment which is concrete in
nature.
It means the object diagram is more close to the actual system behaviour.
The purpose is to capture the static view of a system at a particular
moment.
The purpose of the object diagram can be summarized as:
Forward and reverse engineering.
Object relationships of a system
Static view of an interaction.
Understand object behaviour and their relationship from practical
perspective
Object Diagram:-
EXPERIMENT No:-06
Aim: - Develop an Activity diagram for Bank Management System.
Theory:- Activity Diagram
Activity diagram is another important diagram in UML to describe
dynamic aspects of the system.
Activity diagram is basically a flow chart to represent the flow form one
activity to another activity. The activity can be described as an operation
of the system.
So the control flow is drawn from one operation to another. This flow can
be sequential, branched or concurrent.
Activity diagrams are mainly used for describing the activities within an
object in order to capture their operation and state between objects.
Purpose: It captures the dynamic behaviour of the system. Other four diagrams are
used to show the message flow from one object to another but activity
diagram is used to show message flow from one activity to another.
Activity is a particular operation of the system. Activity diagrams are not
only used for visualizing dynamic nature of a system but they are also used
to construct the executable system by using forward and reverse
engineering techniques. The only missing thing in activity diagram is the
message part.
It does not show any message flow from one activity to another. Activity
diagram is some time considered as the flow chart. Although the diagrams
looks like a flow chart but it is not. It shows different flow like parallel,
branched, concurrent and single.
The purposes can be described as:
Draw the activity flow of a system.
Describe the sequence from one activity to another.
Describe the parallel, branched and concurrent flow of the system.
Component of activity diagram: Solid circle:The start symbol represents the beginning of a process or workflow in
an activity diagram. It can be used by itself or with a note symbol that
explains the starting point.
Activity diagram:-
EXPERIMENT No:-07
Aim:- Develop a State Machine diagram for Bank Management System.
Theory:State Machine Diagram: The name of the diagram itself clarifies the purpose of the diagram and
other details. It describes different states of a component in a system. The
states are specific to a component/object of a system.
A State chart diagram describes a state machine. Now to clarify it state
machine can be defined as a machine which defines different states of an
object and these states are controlled by external or internal events.
Purpose: They define different states of an object during its lifetime. And these
states are changed by events. So State chart diagrams are useful to model
reactive systems. Reactive systems can be defined as a system that
responds to external or internal events.
State chart diagram describes the flow of control from one state to
another state. States are defined as a condition in which an object exists
and it changes when some event is triggered.
State chart diagrams are also used for forward and reverse engineering of
a system.
The purpose of the object diagram can be summarized as:
To model dynamic aspect of a system.
To model life time of a reactive system.
To describe different states of an object during its life time.
Define a state machine to model states of an object.
EXPERIMENT No:-10
Aim: - Develop a Component diagram, Deployment diagram, Package diagram,
architecture diagram for Bank Management System.
1. COMPONENT DIAGRAM
2. DEPLOYEMENT DIAGRAM
3. PACKAGE DIAGRAM
4. Architecture Diagram: