SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

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

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

Último

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 

Último (20)

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 

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.