SlideShare une entreprise Scribd logo
1  sur  27
[ WEEK 5 ]
[ LECTURE 9]
Behavioral Diagrams
-
Software Engineering
By
Prof. Dr. S. Khan
Course Outline
WEEK No. Lecture Topic
1 Software Engineering
2 Requirements Engineering
3 and 4 Structural Diagrams
5 and 6 Behavioral Diagrams
7 Design Patterns
8 Testing
9 & 10 Test Driven Development
11 & 12 Agile Process Models
Objectives of the Lecture
• At the end of this lectures the students will be able to understand:
• The basic concepts and definitions of all the behavioral diagram
• The sample behavioral diagrams
Behavioral Diagram
• UML behavioral diagrams visualize, specify, construct, and document
the dynamic aspects of a system.
• UML Behavioral Diagrams depict the elements of a system that are
dependent on time
• that convey the dynamic concepts of the system and how they relate to
each other.
• The elements in these diagrams resemble the verbs in a natural language
and the relationships that connect them typically convey the passage of
time.
• For example, a behavioral diagram of a vehicle reservation system might
contain elements such as Make a Reservation, Rent a Car, and Provide
Credit Card Details.
Behavioral Diagram
• A behavior diagram is intended to provide clarity, for example, about
internal processes, business processes or the interaction of different
systems.
• Depending on the diagram used, a selected aspect is shown.
• In the Unified Modeling Language (UML), objects are modeled that
can change their states through behavior.
Activity Diagrams
• Activity diagrams model the behaviors of a system, and the way in
which these behaviors are related in an overall flow of the system.
• The logical paths a process follows, based on various conditions,
concurrent processing, data access, interruptions and other logical
path distinctions, are all used to construct a process, system or
procedure.
• Activity diagram is essentially an advanced version of flow chart that
modeling the flow from one activity to another activity.
Activity
Diagram
Activity Diagram
Use Case Diagrams
• Use Case diagrams capture Use Cases and relationships among Actors
and the system; t
• They describes the functional requirements of the system, the manner
in which external operators interact at the system boundary, and the
response of the system.
• Use case diagrams are typically developed in the early stage of
development and people often apply use case modeling for Specifying
the context of a system and Capturing the requirements of a system
Use Case Diagrams
StateMachine Diagrams
• StateMachine diagrams illustrate how an element can move between
states, classifying its behavior according to transition triggers and
constraining guards.
• State machine diagram typically are used to describe state-dependent
behavior for an object.
• An object responds differently to the same event depending on what state
it is in.
• State machine diagrams are usually applied to objects but can be applied to
any element that has behavior to other entities such as: actors, use cases,
methods, subsystems systems and etc. and they are typically used in
conjunction with interaction diagrams (usually sequence diagrams).
StateMachine
Diagrams
StateMachine Diagrams
Timing Diagrams
• Timing diagrams define the behavior of different objects within a
time-scale, providing a visual representation of objects changing state
and interacting over time.
• Timing diagrams focus on conditions changing within and among
lifelines along a linear time axis.
• Timing Diagrams describe behavior of both individual classifiers and
interactions of classifiers, focusing attention on time of occurrence of
events causing changes in the modeled conditions of the Lifelines.
Timing
Diagrams
Sequence Diagrams
• Sequence diagrams are structured representations of behavior as a
series of sequential steps over time.
• They are used to depict workflow, Message passing and how elements
in general cooperate over time to achieve a result.
• the interaction that takes place in a collaboration that either realizes a
use case or an operation
• high-level interactions between user of the system and the system,
between the system and other systems, or between subsystems
(sometimes known as system sequence diagrams)
Sequence
Diagrams
Sequence Diagrams
Communication Diagrams
• Communication diagrams show the interactions between elements at
run-time, visualizing inter-object relationships.
• These are similar to sequence diagrams, however, Communication
diagrams are used to visualize inter-object relationships, while
Sequence diagrams are more effective at visualizing processing over
time.
Communication Diagrams
From Sequence Diagram to Communication Diagram
Interaction Overview Diagrams
• UML Interaction Overview Diagrams provide a high level of
abstraction an interaction model.
• It is a variant of the Activity Diagram where the nodes are the
interactions or interaction occurrences.
• The Interaction Overview Diagram focuses on the overview of the flow
of control of the interactions which can also show the flow of activity
between diagrams.
Interaction
Overview
Diagrams
Interaction
Overview
Diagrams
SUMMARY &
Q A
THANKS

Contenu connexe

Similaire à LECTURE 9 (Week 5) - Behavioral Diagrams.pptx

Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.pptjeyasrig
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...NALESVPMEngg
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML6020 peaks
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modelingMinal Maniar
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramFarah Ahmed
 
ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxdevboris1
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
SE Complete notes mod 4 &5.pdf
SE Complete notes mod 4 &5.pdfSE Complete notes mod 4 &5.pdf
SE Complete notes mod 4 &5.pdfAnkitaVerma776806
 

Similaire à LECTURE 9 (Week 5) - Behavioral Diagrams.pptx (20)

system model.pptx
system model.pptxsystem model.pptx
system model.pptx
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
UML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.pptUML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.ppt
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Behaviour modelling
Behaviour modellingBehaviour modelling
Behaviour modelling
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modeling
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagrams
 
ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
 
Unified modeling language
Unified modeling languageUnified modeling language
Unified modeling language
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
SE Complete notes mod 4 &5.pdf
SE Complete notes mod 4 &5.pdfSE Complete notes mod 4 &5.pdf
SE Complete notes mod 4 &5.pdf
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 

Dernier

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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 ReformChameera Dedduwage
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
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 ConsultingTechSoup
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
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 ModeThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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 communicationnomboosow
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Dernier (20)

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
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
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

LECTURE 9 (Week 5) - Behavioral Diagrams.pptx

  • 1. [ WEEK 5 ] [ LECTURE 9] Behavioral Diagrams - Software Engineering By Prof. Dr. S. Khan
  • 2. Course Outline WEEK No. Lecture Topic 1 Software Engineering 2 Requirements Engineering 3 and 4 Structural Diagrams 5 and 6 Behavioral Diagrams 7 Design Patterns 8 Testing 9 & 10 Test Driven Development 11 & 12 Agile Process Models
  • 3. Objectives of the Lecture • At the end of this lectures the students will be able to understand: • The basic concepts and definitions of all the behavioral diagram • The sample behavioral diagrams
  • 4. Behavioral Diagram • UML behavioral diagrams visualize, specify, construct, and document the dynamic aspects of a system. • UML Behavioral Diagrams depict the elements of a system that are dependent on time • that convey the dynamic concepts of the system and how they relate to each other. • The elements in these diagrams resemble the verbs in a natural language and the relationships that connect them typically convey the passage of time. • For example, a behavioral diagram of a vehicle reservation system might contain elements such as Make a Reservation, Rent a Car, and Provide Credit Card Details.
  • 5. Behavioral Diagram • A behavior diagram is intended to provide clarity, for example, about internal processes, business processes or the interaction of different systems. • Depending on the diagram used, a selected aspect is shown. • In the Unified Modeling Language (UML), objects are modeled that can change their states through behavior.
  • 6.
  • 7. Activity Diagrams • Activity diagrams model the behaviors of a system, and the way in which these behaviors are related in an overall flow of the system. • The logical paths a process follows, based on various conditions, concurrent processing, data access, interruptions and other logical path distinctions, are all used to construct a process, system or procedure. • Activity diagram is essentially an advanced version of flow chart that modeling the flow from one activity to another activity.
  • 10. Use Case Diagrams • Use Case diagrams capture Use Cases and relationships among Actors and the system; t • They describes the functional requirements of the system, the manner in which external operators interact at the system boundary, and the response of the system. • Use case diagrams are typically developed in the early stage of development and people often apply use case modeling for Specifying the context of a system and Capturing the requirements of a system
  • 12. StateMachine Diagrams • StateMachine diagrams illustrate how an element can move between states, classifying its behavior according to transition triggers and constraining guards. • State machine diagram typically are used to describe state-dependent behavior for an object. • An object responds differently to the same event depending on what state it is in. • State machine diagrams are usually applied to objects but can be applied to any element that has behavior to other entities such as: actors, use cases, methods, subsystems systems and etc. and they are typically used in conjunction with interaction diagrams (usually sequence diagrams).
  • 15. Timing Diagrams • Timing diagrams define the behavior of different objects within a time-scale, providing a visual representation of objects changing state and interacting over time. • Timing diagrams focus on conditions changing within and among lifelines along a linear time axis. • Timing Diagrams describe behavior of both individual classifiers and interactions of classifiers, focusing attention on time of occurrence of events causing changes in the modeled conditions of the Lifelines.
  • 17. Sequence Diagrams • Sequence diagrams are structured representations of behavior as a series of sequential steps over time. • They are used to depict workflow, Message passing and how elements in general cooperate over time to achieve a result. • the interaction that takes place in a collaboration that either realizes a use case or an operation • high-level interactions between user of the system and the system, between the system and other systems, or between subsystems (sometimes known as system sequence diagrams)
  • 20. Communication Diagrams • Communication diagrams show the interactions between elements at run-time, visualizing inter-object relationships. • These are similar to sequence diagrams, however, Communication diagrams are used to visualize inter-object relationships, while Sequence diagrams are more effective at visualizing processing over time.
  • 22. From Sequence Diagram to Communication Diagram
  • 23. Interaction Overview Diagrams • UML Interaction Overview Diagrams provide a high level of abstraction an interaction model. • It is a variant of the Activity Diagram where the nodes are the interactions or interaction occurrences. • The Interaction Overview Diagram focuses on the overview of the flow of control of the interactions which can also show the flow of activity between diagrams.