SlideShare una empresa de Scribd logo
1 de 12
WELCOM
E
TO A PRESENTAION ON
ACTIVITY DIAGRAM
about
agenda
purpos
e
How
to
differenc
e
about
Agenda
purpos
e
How
to
Use
PART
3
PART
2
PART
1
HEADING
1. What is?
2. Purpose?
HEADING
3. How to
draw
4 Where to
use?
HEADING
5. Difference
between
activity and
flowchart
diagrams?
about
purpos
e
timeline
teams
differenc
e
PART 1: What is Activity
Diagram
3. Activity diagram illustrate 3 flow methods, as follows:
 Parallel
 Branched
 Concurrent
1. Activity diagram describe the dynamic aspects of the system. Activity
diagram is basically a kind of flowchart to represent the flow from one
activity to another activity, but not a flowchart.
2. A kind of flow chart to represent the flow of one activity to another
activity but not a flowchart
• This means that two tasks can literally run at same time
• This means having a task and that task is been evaluated in another
task A or task B
• This means when two or more task can start, run, and complete in
overlapping time period.
about
history
purpos
e
How
to
differenc
e
Purpose of Activity Diagrams
1. Activity is a particular operation of the system. Activity diagrams
are not only used for visualizing the 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 the activity diagram is the message part.
2. The purpose of an activity diagram 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.
about
history
purpos
e
How
to
differenc
e
PART 2: How to Draw an Activity Diagram?
1. Before drawing an activity diagram,
we must
have a clear understanding about the
elements
(notations) used in activity diagram.
1. Notations
• Initial state start point
A small filled circle with an arrow.
It defines the initial state or start point for
any activity diagram
• Activity or action state
An action state represents the non-interruptible action
of objects. You can draw an action state in SmartDraw
using a rectangle with rounded corners.
Activity
• Action flow Action flows, also called edges and paths, illustrate the transitions
from one action state to another. They are usually drawn with
an arrowed line.
Before drawing an activity diagram, we should
identify the following elements:
• Activities . Association
• Conditions, and Constraints
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
• Object flow
Object flow refers to the creation and modification of objects
by activities. An object flow arrow from an object to an action
indicates that the action state uses the object.
Activity
Class/object
• Decisions and Branching
A diamond represents a decision with alternate paths.
When an activity requires a decision prior to moving on
to the next activity, add a diamond between the two
activities
• Guards
.
In UML, guards are a statement written next to a
decision diamond that must be true before moving
next to the next activity. These are not essential, but
are useful when a specific answer, such as "Yes,
three labels are printed," is needed before moving
forward
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
Synchronization A fork node is used to split a single incoming flow into multiple
concurrent flows. It is represented as a straight, slightly thicker
line in an activity diagram.
Time Event
This refers to an event that stops
the flow for a time; an hourglass
depicts it.
Merge Event
A merge event brings together
multiple
flows that are not concurrent.
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
Sent and Received
Signals Signals represent how activities can be modified from
outside the system. They usually appear in pairs of sent
and received signals. For example, an authorization of
payment is needed before an order can be completed.
Interrupting
Edge
An event, such as a cancellation, that interrupts
the flow denoted with a lightning bolt.
Swimlanes group related activities into one column.
Swimlanes
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
3. Following is an example of an activity diagram for order
management system. In the diagram, four activities are identified
which are associated with conditions. One important point should be
clearly understood that an activity diagram cannot be exactly matched
with the code.
Following diagram is drawn with the four main
activities
• Submit student details.
• Check attendance and yearly income.
• Approve or decline.
Final State or End
Point An arrow pointing to a filled circle nested inside
Another circle represents the final action state.
Interrupting
Edge
An event, such as a cancellation, that interrupts
the flow denoted with a lightning bolt.
about
history
purpos
e
Use
differenc
e
Where to Use Activity Diagrams?
1. Activity diagram is suitable for modeling the activity flow of the
system. An application can have multiple systems. Activity
diagram also captures these systems and describes the flow
from one system to another. This specific usage is not available
in other diagrams. These systems can be database, external
queues, or any other system.
2. This diagram is used to model the activities which are nothing
but business requirements. The diagram has more impact on
business understanding rather than on implementation details.
Activity diagram can be used for:
• Modeling work flow by using activities.
• Modeling business requirements.
• High level understanding of the system's
functionalities.
• Investigating business requirements at a later
stage.
about
history
purpso
e
teams
differen
ce
Uml behavior
diagram that
represents the work
flow of stepwise
activity of the
system
Activity diagram vs Flowchart diagrams?
Activity Diagram Flowchart Diagrams
Graphical diagram that
represents the
sequence of steps
Includes parallel flow,
merge, fork, swimlane
etc.
Does not contain
advanced concept as of
activity diagram
Part of Uml diagram
suite.
Not a Uml diagram.
Part 3:
about
history
purpos
e
teams
differen
ce
Dynamic aspects
Summary
Sequence from one activity to
another
A kind of flowchart but not a
flowchart
Notations
summar
y

Más contenido relacionado

Similar a ACTIVITY DIAGRAM.pptx

8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
SukhmanSingh91
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
babak danyal
 
software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagram
rahmantoyuri
 

Similar a ACTIVITY DIAGRAM.pptx (20)

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxLECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptx
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity Diagrams
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Case tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick RajaCase tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick Raja
 
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdf
 
software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagram
 
Uml examples
Uml examplesUml examples
Uml examples
 
module-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptxmodule-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptx
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Uml
UmlUml
Uml
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Último (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

ACTIVITY DIAGRAM.pptx

  • 1. WELCOM E TO A PRESENTAION ON ACTIVITY DIAGRAM about agenda purpos e How to differenc e
  • 2. about Agenda purpos e How to Use PART 3 PART 2 PART 1 HEADING 1. What is? 2. Purpose? HEADING 3. How to draw 4 Where to use? HEADING 5. Difference between activity and flowchart diagrams?
  • 3. about purpos e timeline teams differenc e PART 1: What is Activity Diagram 3. Activity diagram illustrate 3 flow methods, as follows:  Parallel  Branched  Concurrent 1. Activity diagram describe the dynamic aspects of the system. Activity diagram is basically a kind of flowchart to represent the flow from one activity to another activity, but not a flowchart. 2. A kind of flow chart to represent the flow of one activity to another activity but not a flowchart • This means that two tasks can literally run at same time • This means having a task and that task is been evaluated in another task A or task B • This means when two or more task can start, run, and complete in overlapping time period.
  • 4. about history purpos e How to differenc e Purpose of Activity Diagrams 1. Activity is a particular operation of the system. Activity diagrams are not only used for visualizing the 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 the activity diagram is the message part. 2. The purpose of an activity diagram 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.
  • 5. about history purpos e How to differenc e PART 2: How to Draw an Activity Diagram? 1. Before drawing an activity diagram, we must have a clear understanding about the elements (notations) used in activity diagram. 1. Notations • Initial state start point A small filled circle with an arrow. It defines the initial state or start point for any activity diagram • Activity or action state An action state represents the non-interruptible action of objects. You can draw an action state in SmartDraw using a rectangle with rounded corners. Activity • Action flow Action flows, also called edges and paths, illustrate the transitions from one action state to another. They are usually drawn with an arrowed line. Before drawing an activity diagram, we should identify the following elements: • Activities . Association • Conditions, and Constraints
  • 6. about history timeline How to differenc e How to Draw an Activity Diagram? • Object flow Object flow refers to the creation and modification of objects by activities. An object flow arrow from an object to an action indicates that the action state uses the object. Activity Class/object • Decisions and Branching A diamond represents a decision with alternate paths. When an activity requires a decision prior to moving on to the next activity, add a diamond between the two activities • Guards . In UML, guards are a statement written next to a decision diamond that must be true before moving next to the next activity. These are not essential, but are useful when a specific answer, such as "Yes, three labels are printed," is needed before moving forward
  • 7. about history timeline How to differenc e How to Draw an Activity Diagram? Synchronization A fork node is used to split a single incoming flow into multiple concurrent flows. It is represented as a straight, slightly thicker line in an activity diagram. Time Event This refers to an event that stops the flow for a time; an hourglass depicts it. Merge Event A merge event brings together multiple flows that are not concurrent.
  • 8. about history timeline How to differenc e How to Draw an Activity Diagram? Sent and Received Signals Signals represent how activities can be modified from outside the system. They usually appear in pairs of sent and received signals. For example, an authorization of payment is needed before an order can be completed. Interrupting Edge An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt. Swimlanes group related activities into one column. Swimlanes
  • 9. about history timeline How to differenc e How to Draw an Activity Diagram? 3. Following is an example of an activity diagram for order management system. In the diagram, four activities are identified which are associated with conditions. One important point should be clearly understood that an activity diagram cannot be exactly matched with the code. Following diagram is drawn with the four main activities • Submit student details. • Check attendance and yearly income. • Approve or decline. Final State or End Point An arrow pointing to a filled circle nested inside Another circle represents the final action state. Interrupting Edge An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt.
  • 10. about history purpos e Use differenc e Where to Use Activity Diagrams? 1. Activity diagram is suitable for modeling the activity flow of the system. An application can have multiple systems. Activity diagram also captures these systems and describes the flow from one system to another. This specific usage is not available in other diagrams. These systems can be database, external queues, or any other system. 2. This diagram is used to model the activities which are nothing but business requirements. The diagram has more impact on business understanding rather than on implementation details. Activity diagram can be used for: • Modeling work flow by using activities. • Modeling business requirements. • High level understanding of the system's functionalities. • Investigating business requirements at a later stage.
  • 11. about history purpso e teams differen ce Uml behavior diagram that represents the work flow of stepwise activity of the system Activity diagram vs Flowchart diagrams? Activity Diagram Flowchart Diagrams Graphical diagram that represents the sequence of steps Includes parallel flow, merge, fork, swimlane etc. Does not contain advanced concept as of activity diagram Part of Uml diagram suite. Not a Uml diagram. Part 3:
  • 12. about history purpos e teams differen ce Dynamic aspects Summary Sequence from one activity to another A kind of flowchart but not a flowchart Notations summar y