Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Introduction to Software Engineering 
Muhammad Nasir 
Requirements Modeling – Data 
Flow & Behavior (2) 
m.nasir@iiu.edu.p...
Agenda 
 Creating Behavioral Model 
 Identifying event in Use cases 
 State Diagram 
 Sequence Diagram
Requirement Modeling Strategies
Elements of UML Behavioral Models 
 State Diagram 
 Sequence Diagram
Creating Behavioral Model 
 The modeling notation that we have 
discussed to this point represents static 
elements of th...
Creating Behavioral Model 
 The behavioral model indicates how 
software will respond to external 
events or stimuli.
Creating Behavioral Model 
 To create the model, you should perform the 
following steps: 
 1. Evaluate all use cases to...
Creating Behavioral Model 
 3. Create a sequence for each use 
case. 
 4. Build a state diagram for the 
system. 
 5. R...
Identifying Events with Use Case 
 In general, an event occurs whenever 
the system and an actor exchange 
information. 
...
Identifying Events with Use Case
Identifying Events with Use Case 
 The underlined portions of the use 
case scenario indicate events. 
 An actor should ...
State Diagram 
 One component of a behavioral model is a 
UML state diagram 
 That represents active states for each 
cl...
State Diagram – Control Panel
Sequence Diagram 
 The second type of behavioral 
representation, called a sequence diagram 
in UML, indicates how events...
Sequence Diagram – Safe 
Home Security Function
Sequence Diagram – Safe 
Home Security Function 
 Each of the arrow represents an event 
(derived from a use case) and in...
The End 
 Thanks for listening 
 Questions would be appreciated.
Upcoming SlideShare
Loading in …5
×
Upcoming SlideShare
Requirement analysis and specification, software engineering
Next
Download to read offline and view in fullscreen.

3

Share

Download to read offline

Lecture 13 requirements modeling - flow & behavior (2)

Download to read offline

Introduction to Software Engineering 1

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Lecture 13 requirements modeling - flow & behavior (2)

  1. 1. Introduction to Software Engineering Muhammad Nasir Requirements Modeling – Data Flow & Behavior (2) m.nasir@iiu.edu.pk
  2. 2. Agenda  Creating Behavioral Model  Identifying event in Use cases  State Diagram  Sequence Diagram
  3. 3. Requirement Modeling Strategies
  4. 4. Elements of UML Behavioral Models  State Diagram  Sequence Diagram
  5. 5. Creating Behavioral Model  The modeling notation that we have discussed to this point represents static elements of the requirements model.  It is now time to make a transition to the dynamic behavior of the system or product.  To accomplish this, you can represent the behavior of the system as a function of specific events and time.
  6. 6. Creating Behavioral Model  The behavioral model indicates how software will respond to external events or stimuli.
  7. 7. Creating Behavioral Model  To create the model, you should perform the following steps:  1. Evaluate all use cases to fully understand the sequence of interaction within the system.  2. Identify events that drive the interaction sequence and understand how these events relate to specific objects.
  8. 8. Creating Behavioral Model  3. Create a sequence for each use case.  4. Build a state diagram for the system.  5. Review the behavioral model to verify accuracy and consistency.
  9. 9. Identifying Events with Use Case  In general, an event occurs whenever the system and an actor exchange information.  An event is not the information that has been exchanged, but rather the fact that information has been exchanged.
  10. 10. Identifying Events with Use Case
  11. 11. Identifying Events with Use Case  The underlined portions of the use case scenario indicate events.  An actor should be identified for each event; the information that is exchanged should be noted,  And any conditions or constraints should be listed.
  12. 12. State Diagram  One component of a behavioral model is a UML state diagram  That represents active states for each class and the events (triggers) that cause changes between these active states.  Each arrow in STD represents a transition from one active state of an object to another.
  13. 13. State Diagram – Control Panel
  14. 14. Sequence Diagram  The second type of behavioral representation, called a sequence diagram in UML, indicates how events cause transitions from object to object.  In essence, the sequence diagram is a short-hand version of the use case.  It represents key classes and the events that cause behavior to flow from class to class.
  15. 15. Sequence Diagram – Safe Home Security Function
  16. 16. Sequence Diagram – Safe Home Security Function  Each of the arrow represents an event (derived from a use case) and indicates how the event channels behavior between SafeHome objects.  Time is measured vertically (downward), and the narrow vertical rectangles represent time spent in processing an activity.  States may be shown along a vertical time line.
  17. 17. The End  Thanks for listening  Questions would be appreciated.
  • parthsharma266

    Feb. 22, 2021
  • MminMerihztrk

    May. 18, 2019
  • prajaktamdr

    Mar. 11, 2016

Introduction to Software Engineering 1

Views

Total views

1,472

On Slideshare

0

From embeds

0

Number of embeds

16

Actions

Downloads

44

Shares

0

Comments

0

Likes

3

×