SlideShare a Scribd company logo
JAYA KOLEKAR
 Behavioral model describes the interaction in
the system.
 It shows the dynamic nature of the system.
 Diagrams
 Activity Diagram
 State Chart Diagram
2/15/2017 2jaya
 Activity diagram used for modeling dynamic
aspect of systems.
 It is used for business process(logic & rules)
modeling.
 It is essentially a flowchart, showing flow of
control from activity to activity.
 It shows concurrency as well as branches of
control.
 It describes
 How activities are coordinated to provide a service.
 The events needed to achieve some operation.
 Focus on the flow of activities involved in a single
process.
2/15/2017 3jaya
 Elements of Activity Diagram
 Start /Initial Activity
 Activity Node
 Action
 Transition
 Decisions
 Synchronization Bar [Fork and Join ]
 Final Activity
2/15/2017 4jaya
 Start / Initial Activity
 This shows the starting point of first activity of the
flow .
 Graphically denoted by a solid circle.
 There can be only one initial state in a diagram.
Initial Activity
2/15/2017 5jaya
 Activity
 Activity is parameterized behavior represented as
coordinated flow of actions.
 An activity is a process being modeled, such as
washing a car.
 an activity is a set of actions.
 Represented by a rectangle with rounded (almost
oval ) edges.
Activity Scan library card
2/15/2017 6jaya
 Action
 An action represent a single step within an activity.
 Actions are active steps in the completion of a
process like calculations.
 Represented by a rectangle with rounded corner.
Action Bill=item*price
2/15/2017 7jaya
 Transition
 The flow of the activity is shown using arrowed lines called
transition.
 A line going into a node is called an incoming edge, and a line
exiting a node is called an outgoing edge.
 Transitions are modeled using arrows.
Supplier sends shipment
and bill
Generate shipment error
notice
Send it to supplier
S/R clerk verifies the bill
with purchase order
Send shipment to
inspector
Activity 1
Activity 2
Transition
2/15/2017 8jaya
 Decision/Branching
 Similar to flowcharts, a logic where a decision is to be made is
depicted by a diamond , with the options written on either side
of the arrows emerging from the diamond, within box brackets.
Supplier sends shipment
and bill
Generate shipment error
notice
Send it to supplier
S/R clerk verifies the bill
with purchase order
Send shipment to
inspector
Activity3
actyivity1
Activity2
Decision
[opt 1] [opt2]
Guard expression
2/15/2017 9jaya
Check account
balance
Scan library card
Pay overdue fine
Scan asset
[Unpaid overdue fine]
[no unpaid fine]
Branch
Merge
Guard expression
2/15/2017 10jaya
 Synchronization Bar [Fork and Join]
 Activities often can be done in parallel.
 To split processing(“fork”), or to resume processing when
multiple activities have been completed (“join”),
synchronization bars are used.
 These are modeled as solid rectangles, with multiple transitions
going in and/or out.
 Fork denotes the beginning of parallel activity.
 Join denotes the end of parallel processing.
Synchronization bar
2/15/2017 11jaya
 Forking node
 Join node
2/15/2017 12jaya
 Synchronization Bar
[Fork and Join]
activity1
activity3activity2
activity5
activity4
activity6
Start
Fork
Join
End
Merge
Branch
[condition 2][condition 1]
2/15/2017 13jaya
Receive order
Send InvoiceFill order
Regular delivery
Overnight delivery
Close order
Start
Fork
Join
End
Merge
Branch
[normal order][rush order]
Receive
payment
Activity diagram for
processing an order
2/15/2017 14jaya
 Swim Lanes
 A swim lane specifies a locus of activities.
 Used to distinguish activities carried out by individual actors in an
activity diagram.
 Swimlanes are vertical columns separated by thick vertical black
lines with actor’s name.
 Place each of the activity below the actor performing these activities
& then show how these activities are connected.
 Each swim lane has a unique name within its diagram. It represents
some real world entity.
 In an activity diagram partitioned into swim lane, every activity
belongs to exactly on swim lane, but transitions may cross lanes.
2/15/2017 15jaya
Actor Actor Actor
activity
activity
activity
activity
activity
activity
swimlane
2/15/2017 16jaya
Customer Sales Stockroom
Request service
Pay bill
Take Order
Fill Order
Deliver Order
Collect Order
2/15/2017 17jaya
 Final Activity
 The end of the activity diagram is shown by a bull’s eye symbol,
also called as a final activity.
 An activity diagram can have zero or more activity final nodes.
Graphical notation
2/15/2017 18jaya
2/15/2017 19jaya
2/15/2017 20jaya
 Using an interaction we can model the behavior of
a society of objects.
 Model the behavior of an individual object.
 State machines may be visualized in two ways.
 Using activity diagram, we can focus on the activates
that take place within the object.
 Using state-chart diagrams(state diagram), we can focus
on the event-ordered behavior of an object, which is
especially useful in modeling reactive systems.
2/15/2017 21jaya
 Purpose of State Chart Diagrams:
 To model dynamic aspect of a system.
 To model life time of a reactive system.
 To describe different states of an object during its life
time.
 Define a state machine to model states of an object .
2/15/2017 22jaya
 Elements of state chart diagram
 Initial State
 State
 Transition
 Event
 Final State
2/15/2017 23jaya
 Initial State
 This shows the starting point or first activity of the
flow.
 Denoted by a solid circle.
 This is also called as a pseudostate , where the state
has no variable describing it further and no
activities.
Initial State
2/15/2017 24jaya
 State
 Represents the state of object at an instant of time.
 It is a condition or situation during the life of an
object during which it satisfies some condition,
perform some activity, or waits for some event.
 Denoted by a rectangle with rounded corners &
compartments.
 Changes in the system that occur, in background
thread while the main process is running, are called
sub states.
State
notation
State name
State variable
State action
Board train
Train-no
2/15/2017 25jaya
 Parts of state
 Name
 Entry/exit effect
 Internal transition
 Substates
 Deferred events
2/15/2017 26jaya
 Transition
 An arrow indicating the object to transit from one state to
the other.
 The actual trigger event & action causing the transition
are written beside the arrow, separated by a slash.
 Transitions that occur because the state completed an
activity are called triggerless transitions.
 If an event has to occur after the completion of some
event or action, the event or action is called the guard
condition.
2/15/2017 27jaya
Event[Guard condition ]/Action
 Parts of Transition
 Source state
 Event Trigger
 Guard Condition
 Effect or Action
 Target state
2/15/2017 28jaya
 Event
 An event is something that happens at a point in
time.
 An event is a one way transmission of information
from one object to another
 An event has no duration.
 Types of events
 CallEvent
 SignalEvent
 TimeEvent
 ChangeEvent
2/15/2017 29jaya
 Final Sates
 The end of the state diagram is shown by a bull’s eye
symbol, also called a final state.
 A final state is another example of a pseudo state
because it does not have any variable or action
described.
2/15/2017 30jaya
Final State
 Elements
 Entry & Exit actions
 Internal Transition
 Activities
 Deferred Events
 Substates
 Sequential Substates
 Concurrent Substates
 History States
2/15/2017 jaya 31
 Entry & Exit Actions
 An alternative to showing actions on transitions,
actions can be associated with entering or exiting a
state.
 Entry and Exit action is shown inside the state box
following the keyword Entry or exit and /.
2/15/2017 32jaya
State name
Entry/action
Exit/action
Event/action1,action2
Do/activity
Event/defer
 Internal Transition
 Internal transitions are the events handled inside a
state without leaving it.
 Used when we want to handle the event but don’t
want to fire the states entry & exit action.
 Activities
 In a state the object does some work that will
continue until it is interrupted by an event
 Deferred events
 It is a list of events that are not handled in that stae
but, rather, are postponed and queued for handling
by other object in another state.
2/15/2017 33jaya
2/15/2017 jaya 34
Idle
Validating
Selecting
Processing
Card
inserted
cancel
Active
Maintenance
Printing
maintain
[continue]
[not
continue]
Entry/read card
Exit/eject card
 History Sates
 A flow may require that the object go into a trance,
or wait state, and on the occurrence of a certain
event, go back to the state it was in when it went into
a wait state-its last active state.
 This is shown in a state diagram with the help of a
letter H enclosed within a circle.
2/15/2017 35jaya
H
History State
2/15/2017 jaya 36
Idle
Washing
Rinsing
CleanUP
H
Start[close door]
[open door]
Active
2/15/2017 jaya 37
Engineering Study
Clear Theory Exam
Clear practical exam
2/15/2017 jaya 38
Maintenance
Idle
Testing
devices
Self
diagnosis
Waiting command
Testing
commanding
Composite state
Concurrent states
maintain

More Related Content

What's hot

Class diagrams
Class diagramsClass diagrams
Class diagrams
Nadia_Nazeer
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Rahul Pola
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
ahmed zewita
 
UML
UMLUML
CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT III CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT III
pkaviya
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 
unit testing and debugging
unit testing and debuggingunit testing and debugging
unit testing and debugging
KarthigaGunasekaran1
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
Amith Tiwari
 
Domain model
Domain modelDomain model
Domain model
Eagle Eyes
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
janani thirupathi
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
Baskarkncet
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
swatisinghal
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
Vaidik Trivedi
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine Diagram
Niloy Rocker
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
SayedFarhan110
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Mahesh Bhalerao
 

What's hot (20)

Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
 
UML
UMLUML
UML
 
CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT III CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT III
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
 
unit testing and debugging
unit testing and debuggingunit testing and debugging
unit testing and debugging
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
 
Domain model
Domain modelDomain model
Domain model
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine Diagram
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 

Viewers also liked

Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
jayashri kolekar
 
OMD chapter 2 Class modelling
 OMD  chapter 2 Class modelling OMD  chapter 2 Class modelling
OMD chapter 2 Class modelling
jayashri kolekar
 
System programming
System programmingSystem programming
System programming
jayashri kolekar
 
BuildConsult International Brochure 2017
BuildConsult International Brochure 2017BuildConsult International Brochure 2017
BuildConsult International Brochure 2017
garevalo_buildconsult
 
Substation commissioning1
Substation commissioning1Substation commissioning1
Substation commissioning1
Popa Catalina-Elena
 
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURESA STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
IAEME Publication
 
Biliary conditions
Biliary conditionsBiliary conditions
Biliary conditions
slideshareacount
 
Compilers
CompilersCompilers
Compilers
jayashri kolekar
 
object oriented uml modeling for traveler management system
object oriented uml modeling for traveler management systemobject oriented uml modeling for traveler management system
object oriented uml modeling for traveler management system
hriday81
 
Cse 5 8sem
Cse 5 8semCse 5 8sem
Cse 5 8sem
kumar Dinoth
 
MTP for MCA
MTP for MCAMTP for MCA
MTP for MCA
Tushar Rajput
 
Assembler1
Assembler1Assembler1
Assembler1
jayashri kolekar
 
Chapter 9 powerpoint
Chapter 9 powerpointChapter 9 powerpoint
Chapter 9 powerpoint
Skyline College
 

Viewers also liked (13)

Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
 
OMD chapter 2 Class modelling
 OMD  chapter 2 Class modelling OMD  chapter 2 Class modelling
OMD chapter 2 Class modelling
 
System programming
System programmingSystem programming
System programming
 
BuildConsult International Brochure 2017
BuildConsult International Brochure 2017BuildConsult International Brochure 2017
BuildConsult International Brochure 2017
 
Substation commissioning1
Substation commissioning1Substation commissioning1
Substation commissioning1
 
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURESA STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
A STUDY ON THE IMPACT OF BLAST LOADING FOR NUCLEAR EXPLOSION ON STRUCTURES
 
Biliary conditions
Biliary conditionsBiliary conditions
Biliary conditions
 
Compilers
CompilersCompilers
Compilers
 
object oriented uml modeling for traveler management system
object oriented uml modeling for traveler management systemobject oriented uml modeling for traveler management system
object oriented uml modeling for traveler management system
 
Cse 5 8sem
Cse 5 8semCse 5 8sem
Cse 5 8sem
 
MTP for MCA
MTP for MCAMTP for MCA
MTP for MCA
 
Assembler1
Assembler1Assembler1
Assembler1
 
Chapter 9 powerpoint
Chapter 9 powerpointChapter 9 powerpoint
Chapter 9 powerpoint
 

Similar to Advanced behavioral modeling chapter 4 of omd

Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
Edhole.com
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
Edhole.com
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
Jalaxy Jahury
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
Jalaxy Jahury
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
Ramakant Soni
 
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptxActivity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
EnghamzaKhalailah
 
behavioral model (DFD & state diagram)
behavioral model (DFD & state diagram)behavioral model (DFD & state diagram)
behavioral model (DFD & state diagram)
Lokesh Singrol
 
Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14
Fadhil Ismail
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
Dr Chetan Shelke
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdf
umidxjy
 
Use case model
Use case modelUse case model
Use case model
Ashwani Kumar
 
Activity
ActivityActivity
Activity
Rajesh Kumar
 
BPMN 2.0 Tutorial 01 - Basic Constructs
BPMN 2.0 Tutorial 01 - Basic ConstructsBPMN 2.0 Tutorial 01 - Basic Constructs
BPMN 2.0 Tutorial 01 - Basic Constructs
Michael zur Muehlen
 
STATE DIAGRAM.pptx
STATE DIAGRAM.pptxSTATE DIAGRAM.pptx
STATE DIAGRAM.pptx
ssuser2d043c
 
ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
devboris1
 
Bpmn poster a2_ver_1.0.10
Bpmn poster a2_ver_1.0.10Bpmn poster a2_ver_1.0.10
Bpmn poster a2_ver_1.0.10
jlaznik
 
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
 
J developer 11g components ppt
J developer 11g components pptJ developer 11g components ppt
J developer 11g components ppt
TUSHAR VARSHNEY
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
DrMohammed Qassim
 
BPMN Poster
BPMN PosterBPMN Poster
BPMN Poster
Gregor Polančič
 

Similar to Advanced behavioral modeling chapter 4 of omd (20)

Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
 
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptxActivity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
 
behavioral model (DFD & state diagram)
behavioral model (DFD & state diagram)behavioral model (DFD & state diagram)
behavioral model (DFD & state diagram)
 
Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdf
 
Use case model
Use case modelUse case model
Use case model
 
Activity
ActivityActivity
Activity
 
BPMN 2.0 Tutorial 01 - Basic Constructs
BPMN 2.0 Tutorial 01 - Basic ConstructsBPMN 2.0 Tutorial 01 - Basic Constructs
BPMN 2.0 Tutorial 01 - Basic Constructs
 
STATE DIAGRAM.pptx
STATE DIAGRAM.pptxSTATE DIAGRAM.pptx
STATE DIAGRAM.pptx
 
ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
 
Bpmn poster a2_ver_1.0.10
Bpmn poster a2_ver_1.0.10Bpmn poster a2_ver_1.0.10
Bpmn poster a2_ver_1.0.10
 
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)
 
J developer 11g components ppt
J developer 11g components pptJ developer 11g components ppt
J developer 11g components ppt
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
 
BPMN Poster
BPMN PosterBPMN Poster
BPMN Poster
 

More from jayashri kolekar

FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
jayashri kolekar
 
Macro
MacroMacro
Parsing
ParsingParsing
Loader
LoaderLoader
Cryptography
CryptographyCryptography
Cryptography
jayashri kolekar
 
Introduction to information security
Introduction to information securityIntroduction to information security
Introduction to information security
jayashri kolekar
 

More from jayashri kolekar (6)

FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
 
Macro
MacroMacro
Macro
 
Parsing
ParsingParsing
Parsing
 
Loader
LoaderLoader
Loader
 
Cryptography
CryptographyCryptography
Cryptography
 
Introduction to information security
Introduction to information securityIntroduction to information security
Introduction to information security
 

Recently uploaded

The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
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
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
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
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
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.
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
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
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
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
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 

Advanced behavioral modeling chapter 4 of omd

  • 2.  Behavioral model describes the interaction in the system.  It shows the dynamic nature of the system.  Diagrams  Activity Diagram  State Chart Diagram 2/15/2017 2jaya
  • 3.  Activity diagram used for modeling dynamic aspect of systems.  It is used for business process(logic & rules) modeling.  It is essentially a flowchart, showing flow of control from activity to activity.  It shows concurrency as well as branches of control.  It describes  How activities are coordinated to provide a service.  The events needed to achieve some operation.  Focus on the flow of activities involved in a single process. 2/15/2017 3jaya
  • 4.  Elements of Activity Diagram  Start /Initial Activity  Activity Node  Action  Transition  Decisions  Synchronization Bar [Fork and Join ]  Final Activity 2/15/2017 4jaya
  • 5.  Start / Initial Activity  This shows the starting point of first activity of the flow .  Graphically denoted by a solid circle.  There can be only one initial state in a diagram. Initial Activity 2/15/2017 5jaya
  • 6.  Activity  Activity is parameterized behavior represented as coordinated flow of actions.  An activity is a process being modeled, such as washing a car.  an activity is a set of actions.  Represented by a rectangle with rounded (almost oval ) edges. Activity Scan library card 2/15/2017 6jaya
  • 7.  Action  An action represent a single step within an activity.  Actions are active steps in the completion of a process like calculations.  Represented by a rectangle with rounded corner. Action Bill=item*price 2/15/2017 7jaya
  • 8.  Transition  The flow of the activity is shown using arrowed lines called transition.  A line going into a node is called an incoming edge, and a line exiting a node is called an outgoing edge.  Transitions are modeled using arrows. Supplier sends shipment and bill Generate shipment error notice Send it to supplier S/R clerk verifies the bill with purchase order Send shipment to inspector Activity 1 Activity 2 Transition 2/15/2017 8jaya
  • 9.  Decision/Branching  Similar to flowcharts, a logic where a decision is to be made is depicted by a diamond , with the options written on either side of the arrows emerging from the diamond, within box brackets. Supplier sends shipment and bill Generate shipment error notice Send it to supplier S/R clerk verifies the bill with purchase order Send shipment to inspector Activity3 actyivity1 Activity2 Decision [opt 1] [opt2] Guard expression 2/15/2017 9jaya
  • 10. Check account balance Scan library card Pay overdue fine Scan asset [Unpaid overdue fine] [no unpaid fine] Branch Merge Guard expression 2/15/2017 10jaya
  • 11.  Synchronization Bar [Fork and Join]  Activities often can be done in parallel.  To split processing(“fork”), or to resume processing when multiple activities have been completed (“join”), synchronization bars are used.  These are modeled as solid rectangles, with multiple transitions going in and/or out.  Fork denotes the beginning of parallel activity.  Join denotes the end of parallel processing. Synchronization bar 2/15/2017 11jaya
  • 12.  Forking node  Join node 2/15/2017 12jaya
  • 13.  Synchronization Bar [Fork and Join] activity1 activity3activity2 activity5 activity4 activity6 Start Fork Join End Merge Branch [condition 2][condition 1] 2/15/2017 13jaya
  • 14. Receive order Send InvoiceFill order Regular delivery Overnight delivery Close order Start Fork Join End Merge Branch [normal order][rush order] Receive payment Activity diagram for processing an order 2/15/2017 14jaya
  • 15.  Swim Lanes  A swim lane specifies a locus of activities.  Used to distinguish activities carried out by individual actors in an activity diagram.  Swimlanes are vertical columns separated by thick vertical black lines with actor’s name.  Place each of the activity below the actor performing these activities & then show how these activities are connected.  Each swim lane has a unique name within its diagram. It represents some real world entity.  In an activity diagram partitioned into swim lane, every activity belongs to exactly on swim lane, but transitions may cross lanes. 2/15/2017 15jaya
  • 17. Customer Sales Stockroom Request service Pay bill Take Order Fill Order Deliver Order Collect Order 2/15/2017 17jaya
  • 18.  Final Activity  The end of the activity diagram is shown by a bull’s eye symbol, also called as a final activity.  An activity diagram can have zero or more activity final nodes. Graphical notation 2/15/2017 18jaya
  • 21.  Using an interaction we can model the behavior of a society of objects.  Model the behavior of an individual object.  State machines may be visualized in two ways.  Using activity diagram, we can focus on the activates that take place within the object.  Using state-chart diagrams(state diagram), we can focus on the event-ordered behavior of an object, which is especially useful in modeling reactive systems. 2/15/2017 21jaya
  • 22.  Purpose of State Chart Diagrams:  To model dynamic aspect of a system.  To model life time of a reactive system.  To describe different states of an object during its life time.  Define a state machine to model states of an object . 2/15/2017 22jaya
  • 23.  Elements of state chart diagram  Initial State  State  Transition  Event  Final State 2/15/2017 23jaya
  • 24.  Initial State  This shows the starting point or first activity of the flow.  Denoted by a solid circle.  This is also called as a pseudostate , where the state has no variable describing it further and no activities. Initial State 2/15/2017 24jaya
  • 25.  State  Represents the state of object at an instant of time.  It is a condition or situation during the life of an object during which it satisfies some condition, perform some activity, or waits for some event.  Denoted by a rectangle with rounded corners & compartments.  Changes in the system that occur, in background thread while the main process is running, are called sub states. State notation State name State variable State action Board train Train-no 2/15/2017 25jaya
  • 26.  Parts of state  Name  Entry/exit effect  Internal transition  Substates  Deferred events 2/15/2017 26jaya
  • 27.  Transition  An arrow indicating the object to transit from one state to the other.  The actual trigger event & action causing the transition are written beside the arrow, separated by a slash.  Transitions that occur because the state completed an activity are called triggerless transitions.  If an event has to occur after the completion of some event or action, the event or action is called the guard condition. 2/15/2017 27jaya Event[Guard condition ]/Action
  • 28.  Parts of Transition  Source state  Event Trigger  Guard Condition  Effect or Action  Target state 2/15/2017 28jaya
  • 29.  Event  An event is something that happens at a point in time.  An event is a one way transmission of information from one object to another  An event has no duration.  Types of events  CallEvent  SignalEvent  TimeEvent  ChangeEvent 2/15/2017 29jaya
  • 30.  Final Sates  The end of the state diagram is shown by a bull’s eye symbol, also called a final state.  A final state is another example of a pseudo state because it does not have any variable or action described. 2/15/2017 30jaya Final State
  • 31.  Elements  Entry & Exit actions  Internal Transition  Activities  Deferred Events  Substates  Sequential Substates  Concurrent Substates  History States 2/15/2017 jaya 31
  • 32.  Entry & Exit Actions  An alternative to showing actions on transitions, actions can be associated with entering or exiting a state.  Entry and Exit action is shown inside the state box following the keyword Entry or exit and /. 2/15/2017 32jaya State name Entry/action Exit/action Event/action1,action2 Do/activity Event/defer
  • 33.  Internal Transition  Internal transitions are the events handled inside a state without leaving it.  Used when we want to handle the event but don’t want to fire the states entry & exit action.  Activities  In a state the object does some work that will continue until it is interrupted by an event  Deferred events  It is a list of events that are not handled in that stae but, rather, are postponed and queued for handling by other object in another state. 2/15/2017 33jaya
  • 35.  History Sates  A flow may require that the object go into a trance, or wait state, and on the occurrence of a certain event, go back to the state it was in when it went into a wait state-its last active state.  This is shown in a state diagram with the help of a letter H enclosed within a circle. 2/15/2017 35jaya H History State
  • 37. 2/15/2017 jaya 37 Engineering Study Clear Theory Exam Clear practical exam
  • 38. 2/15/2017 jaya 38 Maintenance Idle Testing devices Self diagnosis Waiting command Testing commanding Composite state Concurrent states maintain