1/31
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
what are the three unified modeling language (UML) diagrams that are used in behavioral modeling?
activity diagrams, sequence diagrams, and behavioral state machines
behavioral view is _______
use case driven
what are the three architectural views?
functional, structural, and behavioral
what are the two types of behavioral models?
models used to represent the underlying details of a business process portrayed by a use-case model (use activity and sequence diagram)
models used to represent the changes that occur in the underlying data (use behavioral state machine)
what is one of the primary purposes of behavioral models?
to show how the underlying objects in a problem domain will work together to form a collaboration to support each of the use cases
what is a sequence diagram?
a dynamic model that shows the explicit sequence of messages that are passed between objects in a defined interaction
what is a generic sequence diagram?
a type of sequence diagram that shows all possible message interactions and scenarios for a use case, rather than just one
what is an instance sequence diagram?
a type of sequence diagram that shows the interactions between specific objects for one particular scenario of a use case
what is a lifeline?
a vertical dashed line in a sequence diagram that represents the existence of an actor or object over time during an interaction
what is a temporary object?
an object that is created for a short period during a process and then destroyed
how is a temporary object represented?
shown with an “X” at the end of its lifeline to indicate when it no longer exists
what is execution occurrence?
a thin rectangular box on a lifeline that shows the period of time when an object is actively sending or receiving a message (performing an operation)
what are the two types of messages typically used in a sequence diagram?
operation call and return
what is an operation call?
a message that is passed between objects
how is an operation call represented?
using solid lines connecting two objects with an arrow showing which way the message is being passed
what is a return?
a message portraying the direction of the return
how is a return represented?
a dashed line with an arrow
at times, a message is sent only if ______
a condition is met
what is self-delegation?
when an object sends a message to itself to perform an operation
what happens durnig self-delegation?
when an object is internally calling one of its own methods or actions within the sequence diagram
how do use cases call other use cases?
by using the extend and include relationship types
what are ambler’s guidelines for creating a sequence diagram?
arrange messages top-to-bottom and left-to-right, place actors/objects in the order they participate
use the same name for actors and objects if they represent the same concept
place the initiator of the scenario on the far left
name objects when multiple instances of the same class exist
show return values only when necessary to avoid clutter
place message names and return values near arrowheads for clarity
what are the steps to creating a sequence diagram?
set context
identify actors and objects
set lifeline
add messages
place execution occurrence
validate
what does CRUDE stand for?
Create
Return
Update
Delete
Execute
what are behavioral state machines?
a dynamic model that shows the different states through which a single object passes during its life in response to events, responses, and actions
what type of objects are behavioral state machines used for
complex objects to further define them and to help simplify the design of algorithms for their methods
what is the state of an object?
the value of its attributes and its relationships with other objects at a particular point in time
what is an event?
something that takes place at a certain point in time and changes a value/values that describe an object, which in turn, changes the object’s state
what is a transition?
a relationship that represents the movement of an object from one state to another
how is a state symbol depicted?
a rectangle with rounded corners with a descriptive label that communicates a particular state
what are the guidelines for creating behavioral state machines?
create state machines only for objects whose behavior changes by state
place the initial state top-left and final state bottom-right
use simple and descriptive state names
avoid black hole (no exit) and miracle (no entry) states
ensure guard conditions don’t overlap
make sure every transition has a message and operation
what are the steps to creating a behavioral state machine?
set context
identify object states
lay out diagram
add transitions
validate