SlideShare a Scribd company logo
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

More Related Content

Similar to ACTIVITY DIAGRAM.pptx

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
Madhar Khan Pathan
 
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
MuneerUmar3
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
DrMohammed Qassim
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptx
azida3
 
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
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
suganya2411
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity Diagrams
Michael Heron
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
Nikhil Pandit
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
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
ursKarthick Raja
 
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
Gracy Joseph
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
Mahesh Bhalerao
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagramsbabak danyal
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdf
umidxjy
 
software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagram
rahmantoyuri
 
module-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptxmodule-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptx
surekha1287
 
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)
Manoj Reddy
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
RAJESH S
 
Uml
UmlUml
Uml
anwitat
 

Similar to 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
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 

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