SlideShare a Scribd company logo
Interaction Diagrams
 show how objects interact with one another
 UML supports two types of interaction
diagrams
 Sequence diagrams
 Collaboration diagrams
Sequence Diagram(make a phone call)
Caller Phone Recipient
Picks up
Dial tone
Dial
Ring notification Ring
Picks up
Hello
Sequence Diagram:Object interaction
Self-CallSelf-Call: A message that an
Object sends to itself.
Condition: indicates when a
message is sent. The message is
sent only if the condition is true.
Iteration
Condition
A B
Synchronous
Asynchronous
Transmission
delayed
Self-Call
[condition] remove()
*[for each] remove()
Sequence Diagrams – Object Life Spans
 Creation
 Create message
 Object life starts at that point
 Activation
 Symbolized by rectangular
stripes
 Place on the lifeline where object
is activated.
 Rectangle also denotes when
object is deactivated.
 Deletion
 Placing an ‘X’ on lifeline
 Object’s life ends at that point
Activation bar
A
B
Create
X
Deletion
Return
Lifeline
Sequence Diagram
User Catalog Reservations
1: look up ()
2: title data ()
3: [not available] reserve title ()
4 : title returned ()
5: hold title ()
5 : title available ()
6 : borrow title ()
6 : remove reservation ()
•Sequence diagrams demonstrate the
behavior of objects in a use case by
describing the objects and the
messages they pass.
•The horizontal dimension shows the
objects participating in the interaction.
•The vertical arrangement of
messages indicates their order.
•The labels may contain the seq. # to
indicate concurrency.
Message
Interaction Diagrams: Collaboration diagrams
User
Catalog
Reservations
start
1: look up
2: title data
3 : [not available] reserve title
4 : title returned
5 : hold title
6 : borrow title
6: remove reservation
5: title available
Collaboration diagrams are equivalent to sequence diagrams. All the features of sequence diagrams are
equally applicable to collaboration diagrams
Use a sequence diagram when the transfer of information is the focus of attention
Use a collaboration diagram when concentrating on the classes
What UML Modeling tools we use today?
 List of UML tools http://en.wikipedia.org/wiki/List_of_UML_tools
 ArgoUML: http://argouml.tigris.org/
 Rational Rose (www.rational.com) by IBM
 UML Studio 7.1 ( http://www.pragsoft.com/) by Pragsoft Corporation:
Capable of handling very large models (tens of thousands of classes).
Educational License US$ 125.00; Freeware version.
 TogetherSoft Control Center; TogetherSoft Solo
(http://www.borland.com/together/index.html) by Borland
Conclusion
 UML is a standardized specification language
for object modeling
 Several UML diagrams:
 use-case diagram: a number of use cases (use case models the interaction
between actors and software)
 Class diagram: a model of classes showing the static relationships among them
including association and generalization.
 Sequence diagram: shows the way objects interact with one another as
messages are passed between them. Dynamic model
 State diagram: shows states, events that cause transitions between states.
Another dynamic model reflecting the behavior of objects and how they react to
specific event
 There are several UML tools available

More Related Content

PPTX
Summer training matlab
PPT
Software Engineering Lec 7-uml-
PDF
Introduction to MATLAB 1
PPTX
Ppt 2 d ploting k10998
PDF
Summer training matlab
PDF
Simulink
PDF
Introduction to simulink (1)
PPT
Matlab day 1: Introduction to MATLAB
Summer training matlab
Software Engineering Lec 7-uml-
Introduction to MATLAB 1
Ppt 2 d ploting k10998
Summer training matlab
Simulink
Introduction to simulink (1)
Matlab day 1: Introduction to MATLAB

What's hot (20)

PPT
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
PPT
Matlab Introduction
PDF
Forelasning4
PDF
MatLab Basic Tutorial On Plotting
PDF
Advanced MATLAB Tutorial for Engineers & Scientists
PDF
Matlab for beginners, Introduction, signal processing
PDF
Matlab intro
PDF
working with matrices in r
PDF
Matlab-Data types and operators
PDF
MATLAB Programming
PPTX
Distributed Graph Transformations Supported By Multi-Agent Systems
PPT
Basics of programming in matlab
PDF
Matlab Presentation
PDF
Data Product Architectures
PPSX
Summer training introduction to matlab
PDF
Introduction to Matlab
PPT
Introduction to matlab
PPSX
Summer training in matlab
PPT
Pertemuan 6-2-sequence-diagram
PPTX
Dfg & sg ppt (1)
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
Matlab Introduction
Forelasning4
MatLab Basic Tutorial On Plotting
Advanced MATLAB Tutorial for Engineers & Scientists
Matlab for beginners, Introduction, signal processing
Matlab intro
working with matrices in r
Matlab-Data types and operators
MATLAB Programming
Distributed Graph Transformations Supported By Multi-Agent Systems
Basics of programming in matlab
Matlab Presentation
Data Product Architectures
Summer training introduction to matlab
Introduction to Matlab
Introduction to matlab
Summer training in matlab
Pertemuan 6-2-sequence-diagram
Dfg & sg ppt (1)
Ad

Similar to Fundamentals of Software Engineering (20)

PPT
07 interaction diagrams
PDF
UML-Advanced Software Engineering
PPTX
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
PPT
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
PPT
Fundamentals of Software Engineering
PPT
Uml lecture
PPTX
Uml with detail
PPT
Uml(unified modeling language) Homework Help
PDF
UML Overview and Introduction functions.pdf
PPT
Uml tool tutorial
PPTX
Learn sqa process
PPTX
UML Diagram @ Software engineering discussion
PPTX
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
PPT
UML Diagrams.ppt
PPT
UML Diagrams_UNIT III.ppt
PPTX
The Ultimate Sequence Diagram Tutorial
PPT
Uml diagrams
PPSX
Introduction to OOA and UML - Part 2
07 interaction diagrams
UML-Advanced Software Engineering
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
OOAD-Unit-3.ppt UML and ANALYSISI AND DESIGN
Fundamentals of Software Engineering
Uml lecture
Uml with detail
Uml(unified modeling language) Homework Help
UML Overview and Introduction functions.pdf
Uml tool tutorial
Learn sqa process
UML Diagram @ Software engineering discussion
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
UML Diagrams.ppt
UML Diagrams_UNIT III.ppt
The Ultimate Sequence Diagram Tutorial
Uml diagrams
Introduction to OOA and UML - Part 2
Ad

More from Madhar Khan Pathan (20)

PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPT
Fundamentals of Software Engineering
PPT
Fundamentals of Software Engineering
PPT
Fundamentals of Software Engineering
PPT
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPT
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Fundamentals of Software Engineering
PPTX
Generic process model
PPTX
Software Myths
PPTX
Introduction to Software Engineering
PPTX
Software applications and challenges
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Fundamentals of Software Engineering
Generic process model
Software Myths
Introduction to Software Engineering
Software applications and challenges

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
medical staffing services at VALiNTRY
PDF
Nekopoi APK 2025 free lastest update
PDF
Digital Strategies for Manufacturing Companies
PDF
System and Network Administration Chapter 2
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
history of c programming in notes for students .pptx
PPTX
Introduction to Artificial Intelligence
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
AI in Product Development-omnex systems
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
2025 Textile ERP Trends: SAP, Odoo & Oracle
CHAPTER 2 - PM Management and IT Context
Design an Analysis of Algorithms II-SECS-1021-03
medical staffing services at VALiNTRY
Nekopoi APK 2025 free lastest update
Digital Strategies for Manufacturing Companies
System and Network Administration Chapter 2
ISO 45001 Occupational Health and Safety Management System
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
How Creative Agencies Leverage Project Management Software.pdf
PTS Company Brochure 2025 (1).pdf.......
history of c programming in notes for students .pptx
Introduction to Artificial Intelligence
VVF-Customer-Presentation2025-Ver1.9.pptx
Transform Your Business with a Software ERP System
AI in Product Development-omnex systems
Odoo Companies in India – Driving Business Transformation.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...

Fundamentals of Software Engineering

  • 1. Interaction Diagrams  show how objects interact with one another  UML supports two types of interaction diagrams  Sequence diagrams  Collaboration diagrams
  • 2. Sequence Diagram(make a phone call) Caller Phone Recipient Picks up Dial tone Dial Ring notification Ring Picks up Hello
  • 3. Sequence Diagram:Object interaction Self-CallSelf-Call: A message that an Object sends to itself. Condition: indicates when a message is sent. The message is sent only if the condition is true. Iteration Condition A B Synchronous Asynchronous Transmission delayed Self-Call [condition] remove() *[for each] remove()
  • 4. Sequence Diagrams – Object Life Spans  Creation  Create message  Object life starts at that point  Activation  Symbolized by rectangular stripes  Place on the lifeline where object is activated.  Rectangle also denotes when object is deactivated.  Deletion  Placing an ‘X’ on lifeline  Object’s life ends at that point Activation bar A B Create X Deletion Return Lifeline
  • 5. Sequence Diagram User Catalog Reservations 1: look up () 2: title data () 3: [not available] reserve title () 4 : title returned () 5: hold title () 5 : title available () 6 : borrow title () 6 : remove reservation () •Sequence diagrams demonstrate the behavior of objects in a use case by describing the objects and the messages they pass. •The horizontal dimension shows the objects participating in the interaction. •The vertical arrangement of messages indicates their order. •The labels may contain the seq. # to indicate concurrency. Message
  • 6. Interaction Diagrams: Collaboration diagrams User Catalog Reservations start 1: look up 2: title data 3 : [not available] reserve title 4 : title returned 5 : hold title 6 : borrow title 6: remove reservation 5: title available Collaboration diagrams are equivalent to sequence diagrams. All the features of sequence diagrams are equally applicable to collaboration diagrams Use a sequence diagram when the transfer of information is the focus of attention Use a collaboration diagram when concentrating on the classes
  • 7. What UML Modeling tools we use today?  List of UML tools http://en.wikipedia.org/wiki/List_of_UML_tools  ArgoUML: http://argouml.tigris.org/  Rational Rose (www.rational.com) by IBM  UML Studio 7.1 ( http://www.pragsoft.com/) by Pragsoft Corporation: Capable of handling very large models (tens of thousands of classes). Educational License US$ 125.00; Freeware version.  TogetherSoft Control Center; TogetherSoft Solo (http://www.borland.com/together/index.html) by Borland
  • 8. Conclusion  UML is a standardized specification language for object modeling  Several UML diagrams:  use-case diagram: a number of use cases (use case models the interaction between actors and software)  Class diagram: a model of classes showing the static relationships among them including association and generalization.  Sequence diagram: shows the way objects interact with one another as messages are passed between them. Dynamic model  State diagram: shows states, events that cause transitions between states. Another dynamic model reflecting the behavior of objects and how they react to specific event  There are several UML tools available