SlideShare a Scribd company logo
Lecture 3
Capturing System Behavior
Class: BSIT-5th Semester
Teacher: Inam Ul Haq
University of Education Okara
Subject: Object Oriented Analysis & Design
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
1
Structural Diagrams
• UML Standard Diagrams = Structural diagrams and Behavioral Diagrams
• The structural diagrams represent the static aspect of the system.
These static aspects represent those parts of a diagram which forms
the main structure and therefore stable.
• These static parts are represents by classes, interfaces, objects,
components and nodes. The four structural diagrams are:
1. Class diagram
2. Object diagram
3. Component diagram
4. Deployment diagram
Behavioral Diagrams: Any system can have two aspects, static and dynamic.
• The Behavioral diagrams include following five diagrams:
1. Use case diagram
2. Sequence diagram, Collaboration diagram [Interaction Diagrams]
3. State chart diagram
4. Activity diagram
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
2
Structural Diagrams (Cont.)
• 1- Class Diagram: are the most common diagrams used in UML. Class
diagram consists of classes, interfaces, associations and
collaboration.
• The class diagram is a static diagram that represents the static view of an
application. It is not only used for visualizing, describing & documenting
different aspects of a system but also for constructing executable code of
the software application.
• The class diagram shows a collection of classes, interfaces, associations,
collaborations and constraints. It is also known as a structural diagram.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
3
Structural Diagrams (Cont.)
• 2- Object diagrams are derived from class diagrams so object diagrams are
dependent upon class diagrams. It is similar to class diagram.
• The difference is that a class diagram represents an abstract model consisting of
classes and their relationships. But an object diagram represents an instance at a
particular moment which is concrete in nature.
• E.g. Calculator is a class and add is an object of that class
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
4
Structural Diagrams (Cont.)
• 3- Component diagrams are different in terms of nature and behavior. Component
diagrams are used to model physical aspects of a system.
• Physical aspects are the elements like executables, libraries, files, documents etc
which resides in the code.
• So component diagrams are used to visualize the organization and relationships among
components in a system.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
5
Structural Diagrams (Cont.)
• 4- Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
• Deployment diagrams consist of nodes and their relationships and used for describing
the hardware components where software components are deployed.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
6
Behavioral Diagrams
• Only static behavior is not sufficient to model a system rather dynamic behavior is
more important than static behavior.
• 1- Use case diagram is used to capture the dynamic aspect of a system.
• Use case diagrams are used to gather the requirements of a system including internal
and external links. These requirements are mostly design requirements.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
7
Behavioral Diagrams (cont.)
• From the name Interaction it is clear that the diagram is used to describe some type
of interactions among the different elements in the model.
• 2 - Interactive behavior is represented in UML by two diagrams known as Sequence
diagram and Collaboration diagram. The basic purposes of both the diagrams are
similar.
• Sequence diagram emphasizes on time sequence of messages and collaboration diagram
emphasizes on the structural organization of the objects that send and receive messages.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
8
Behavioral Diagrams (cont.)
Collaboration Diagram
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
9
Behavioral Diagrams (cont.)
• 3- State Chart Diagram describes different states of a component in a system.
• The first state is an idle state from where the process starts. The next states are
arrived for events like send request, confirm request, and dispatch order. These
events are responsible for state changes of order object.
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
10
Behavioral Diagrams (cont.)
• 4- Activity diagram is basically a flow chart to represent the flow form one activity to
another activity. The activity can be described as an operation of the system.
• It does not show any message flow from one activity to another (as in other 3
diagrams).
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
11
References
• http://www.tutorialspoint.com/uml/uml_standard_diagrams.htm
Further Readings:
https://en.wikipedia.org/wiki/Unified_Modeling_Language
https://en.wikipedia.org/wiki/Category:Unified_Modeling_Language
BehavioralDiagrams(UML),
OOA/D,UniversityofEducation
Okara
12

More Related Content

PDF
3. ch 2-process model
Delowar hossain
 
ODP
Requirements Analysis
Sibel Kuzgun AKIN
 
PPTX
Software Engineering
UMA PARAMESWARI
 
PPTX
Unit 3
Jignesh Kariya
 
PPT
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
Swarnima Tiwari
 
PPSX
Cocomo model
Devan Thakur
 
PDF
An Introduction to Software Architecture
RahimLotfi
 
PPT
Software design
Benazir Fathima
 
3. ch 2-process model
Delowar hossain
 
Requirements Analysis
Sibel Kuzgun AKIN
 
Software Engineering
UMA PARAMESWARI
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
Swarnima Tiwari
 
Cocomo model
Devan Thakur
 
An Introduction to Software Architecture
RahimLotfi
 
Software design
Benazir Fathima
 

What's hot (20)

PPT
Introduction to Software Review
Philip Johnson
 
PPT
Object Oriented Analysis and Design
Dr. C.V. Suresh Babu
 
PPT
Analysis modeling
Preeti Mishra
 
PPTX
Chapter 1 2 - some size factors
NancyBeaulah_R
 
PDF
Software Reuse and Object-Oriented Programming
kim.mens
 
PPTX
Procedure oriented programming
MrShahbazRafiq
 
PPTX
Requirement Engineering Processes & Eliciting Requirement
AqsaHayat3
 
PDF
Oose lab notes
Aravindharamanan S
 
PPT
Use Case Diagram
Kumar
 
PPT
Use Case Modeling
Venkat Srinivasan
 
PPTX
Design Concepts in Software Engineering-1.pptx
KarthigaiSelviS3
 
PPTX
Unit 5
Jignesh Kariya
 
PDF
Event Driven programming(ch1 and ch2).pdf
AliEndris3
 
PPTX
Use case diagram
City University
 
DOCX
Incremental model
Sajid Ali Laghari
 
PPT
Use case Diagram and Sequence Diagram
Nikhil Pandit
 
PPT
Object-Oriented Analysis and Design
RiazAhmad786
 
PPTX
Non Functional Requirement.
Khushboo Shaukat
 
PPT
Requirement specification (SRS)
kunj desai
 
PPTX
Rapid Application Development Model
Damian T. Gordon
 
Introduction to Software Review
Philip Johnson
 
Object Oriented Analysis and Design
Dr. C.V. Suresh Babu
 
Analysis modeling
Preeti Mishra
 
Chapter 1 2 - some size factors
NancyBeaulah_R
 
Software Reuse and Object-Oriented Programming
kim.mens
 
Procedure oriented programming
MrShahbazRafiq
 
Requirement Engineering Processes & Eliciting Requirement
AqsaHayat3
 
Oose lab notes
Aravindharamanan S
 
Use Case Diagram
Kumar
 
Use Case Modeling
Venkat Srinivasan
 
Design Concepts in Software Engineering-1.pptx
KarthigaiSelviS3
 
Event Driven programming(ch1 and ch2).pdf
AliEndris3
 
Use case diagram
City University
 
Incremental model
Sajid Ali Laghari
 
Use case Diagram and Sequence Diagram
Nikhil Pandit
 
Object-Oriented Analysis and Design
RiazAhmad786
 
Non Functional Requirement.
Khushboo Shaukat
 
Requirement specification (SRS)
kunj desai
 
Rapid Application Development Model
Damian T. Gordon
 
Ad

Similar to Capturing System Behaviour (20)

PPTX
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
PPTX
UNIT-3 Design Using UML (1).pptx
viju001
 
PPTX
UNIT-3 Design Using UML_Design_of_UML.pptx
mrlover2805
 
DOC
Case Study Uml
ganesh12july
 
PPTX
Slideshow on the notes of software engineering
erickbaldskie
 
PPTX
detailed info of class diagram in ooad with uml
BhargaviChowdary22
 
PPTX
class diagrams in unified modeling language
BhargaviChowdary22
 
PDF
Lect-4: UML diagrams - Unified Modeling Language - SPM
Mubashir Ali
 
PPT
UML diagrams and symbols
Kumar
 
PDF
Case stydy cs701
Dinkar Mishra
 
PPT
Uml
Sulman Ahmed
 
PPTX
Uml.pptx
AnjaliParihar13
 
PPT
UML Diagrams.ppt
MuhammadjonRahmatull
 
DOC
Uml overview modified
senthilkumar_ak
 
DOC
Ooad lab manual
Praseela R
 
PPTX
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
PPT
UML Diagrams_UNIT III.ppt
KavithaMuralidharan2
 
PPT
UML Diagrams.ppt
jeyasrig
 
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
UNIT-3 Design Using UML (1).pptx
viju001
 
UNIT-3 Design Using UML_Design_of_UML.pptx
mrlover2805
 
Case Study Uml
ganesh12july
 
Slideshow on the notes of software engineering
erickbaldskie
 
detailed info of class diagram in ooad with uml
BhargaviChowdary22
 
class diagrams in unified modeling language
BhargaviChowdary22
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Mubashir Ali
 
UML diagrams and symbols
Kumar
 
Case stydy cs701
Dinkar Mishra
 
Uml.pptx
AnjaliParihar13
 
UML Diagrams.ppt
MuhammadjonRahmatull
 
Uml overview modified
senthilkumar_ak
 
Ooad lab manual
Praseela R
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
UML Diagrams_UNIT III.ppt
KavithaMuralidharan2
 
UML Diagrams.ppt
jeyasrig
 
Ad

More from university of education,Lahore (20)

PPT
Activites and Time Planning
university of education,Lahore
 
PPT
Classical Encryption Techniques
university of education,Lahore
 
PPT
Activites and Time Planning
university of education,Lahore
 
PPTX
OSI Security Architecture
university of education,Lahore
 
PPTX
Network Security Terminologies
university of education,Lahore
 
PPT
Project Scheduling, Planning and Risk Management
university of education,Lahore
 
PPTX
Software Testing and Debugging
university of education,Lahore
 
PPTX
ePayment Methods
university of education,Lahore
 
PPT
Enterprise Application Integration
university of education,Lahore
 
PPTX
Microsoft Project
university of education,Lahore
 
PPTX
Itertaive Process Development
university of education,Lahore
 
PPTX
Computer Aided Software Engineering Nayab Awan
university of education,Lahore
 
PPTX
Lect 2 assessing the technology landscape
university of education,Lahore
 
PPTX
system level requirements gathering and analysis
university of education,Lahore
 
Activites and Time Planning
university of education,Lahore
 
Classical Encryption Techniques
university of education,Lahore
 
Activites and Time Planning
university of education,Lahore
 
OSI Security Architecture
university of education,Lahore
 
Network Security Terminologies
university of education,Lahore
 
Project Scheduling, Planning and Risk Management
university of education,Lahore
 
Software Testing and Debugging
university of education,Lahore
 
Enterprise Application Integration
university of education,Lahore
 
Itertaive Process Development
university of education,Lahore
 
Computer Aided Software Engineering Nayab Awan
university of education,Lahore
 
Lect 2 assessing the technology landscape
university of education,Lahore
 
system level requirements gathering and analysis
university of education,Lahore
 

Recently uploaded (20)

PDF
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
CDH. pptx
AneetaSharma15
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 

Capturing System Behaviour

  • 1. Lecture 3 Capturing System Behavior Class: BSIT-5th Semester Teacher: Inam Ul Haq University of Education Okara Subject: Object Oriented Analysis & Design BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 1
  • 2. Structural Diagrams • UML Standard Diagrams = Structural diagrams and Behavioral Diagrams • The structural diagrams represent the static aspect of the system. These static aspects represent those parts of a diagram which forms the main structure and therefore stable. • These static parts are represents by classes, interfaces, objects, components and nodes. The four structural diagrams are: 1. Class diagram 2. Object diagram 3. Component diagram 4. Deployment diagram Behavioral Diagrams: Any system can have two aspects, static and dynamic. • The Behavioral diagrams include following five diagrams: 1. Use case diagram 2. Sequence diagram, Collaboration diagram [Interaction Diagrams] 3. State chart diagram 4. Activity diagram BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 2
  • 3. Structural Diagrams (Cont.) • 1- Class Diagram: are the most common diagrams used in UML. Class diagram consists of classes, interfaces, associations and collaboration. • The class diagram is a static diagram that represents the static view of an application. It is not only used for visualizing, describing & documenting different aspects of a system but also for constructing executable code of the software application. • The class diagram shows a collection of classes, interfaces, associations, collaborations and constraints. It is also known as a structural diagram. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 3
  • 4. Structural Diagrams (Cont.) • 2- Object diagrams are derived from class diagrams so object diagrams are dependent upon class diagrams. It is similar to class diagram. • The difference is that a class diagram represents an abstract model consisting of classes and their relationships. But an object diagram represents an instance at a particular moment which is concrete in nature. • E.g. Calculator is a class and add is an object of that class BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 4
  • 5. Structural Diagrams (Cont.) • 3- Component diagrams are different in terms of nature and behavior. Component diagrams are used to model physical aspects of a system. • Physical aspects are the elements like executables, libraries, files, documents etc which resides in the code. • So component diagrams are used to visualize the organization and relationships among components in a system. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 5
  • 6. Structural Diagrams (Cont.) • 4- Deployment diagrams are used to visualize the topology of the physical components of a system where the software components are deployed. • Deployment diagrams consist of nodes and their relationships and used for describing the hardware components where software components are deployed. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 6
  • 7. Behavioral Diagrams • Only static behavior is not sufficient to model a system rather dynamic behavior is more important than static behavior. • 1- Use case diagram is used to capture the dynamic aspect of a system. • Use case diagrams are used to gather the requirements of a system including internal and external links. These requirements are mostly design requirements. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 7
  • 8. Behavioral Diagrams (cont.) • From the name Interaction it is clear that the diagram is used to describe some type of interactions among the different elements in the model. • 2 - Interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram. The basic purposes of both the diagrams are similar. • Sequence diagram emphasizes on time sequence of messages and collaboration diagram emphasizes on the structural organization of the objects that send and receive messages. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 8
  • 9. Behavioral Diagrams (cont.) Collaboration Diagram BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 9
  • 10. Behavioral Diagrams (cont.) • 3- State Chart Diagram describes different states of a component in a system. • The first state is an idle state from where the process starts. The next states are arrived for events like send request, confirm request, and dispatch order. These events are responsible for state changes of order object. BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 10
  • 11. Behavioral Diagrams (cont.) • 4- Activity diagram is basically a flow chart to represent the flow form one activity to another activity. The activity can be described as an operation of the system. • It does not show any message flow from one activity to another (as in other 3 diagrams). BehavioralDiagrams(UML), OOA/D,UniversityofEducation Okara 11