Deck 6: Behavioral Modeling
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/83
Play
Full screen (f)
Deck 6: Behavioral Modeling
1
When an object sends a message to itself in a sequence diagram, that is referred to as _____.
A) recursive-messaging
B) self-messaging
C) self-delegation
D) recursive-delegation
E) none of the above
A) recursive-messaging
B) self-messaging
C) self-delegation
D) recursive-delegation
E) none of the above
C
2
A systems analyst draws a lifeline with an X at the end. This lifeline represents _____.
A) a message that cannot be delivered
B) an object that is destroyed at a point in time
C) a message that is delivered at that point in time
D) an object that is complete at that point in time
E) an object that arrives at its final destination
A) a message that cannot be delivered
B) an object that is destroyed at a point in time
C) a message that is delivered at that point in time
D) an object that is complete at that point in time
E) an object that arrives at its final destination
B
3
A(n) _____ describes information about an object.
A) attribute
B) behavior
C) operation
D) message
E) instance
A) attribute
B) behavior
C) operation
D) message
E) instance
A
4
_____ are information that is sent to objects to tell it to execute one of its behaviors.
A) attributes
B) operations
C) messages
D) instances
E) use-cases
A) attributes
B) operations
C) messages
D) instances
E) use-cases
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following objects would be most likely to be destroyed at some point in time in a sequence diagram?
A) customer
B) order
C) order item
D) invoice
E) shopping cart
A) customer
B) order
C) order item
D) invoice
E) shopping cart
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
6
When arranging actors and objects on a sequence diagram, it is nice to list them _____.
A) in alphabetical order down the side of the diagram
B) in alphabetical order across the top of the diagram
C) in order in which they participate in the sequence down the side of the diagram
D) in order in which they participate in the sequence across the top of the diagram
E) actors and objects are not both shown on a sequence diagram
A) in alphabetical order down the side of the diagram
B) in alphabetical order across the top of the diagram
C) in order in which they participate in the sequence down the side of the diagram
D) in order in which they participate in the sequence across the top of the diagram
E) actors and objects are not both shown on a sequence diagram
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
7
In a communication diagram, a(n) _____ between actors and objects is shown with an undirected line.
A) procedure calls
B) data flow
C) association
D) message
E) relationship
A) procedure calls
B) data flow
C) association
D) message
E) relationship
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
8
A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: if there is a message on the sequence diagram, there must be _________________on the communications diagram, and vice versa.
A) a communication
B) a message
C) a behavior
D) a dependence
E) an association
A) a communication
B) a message
C) a behavior
D) a dependence
E) an association
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
9
On a sequence diagram, an object name of Students:List would indicate that _____.
A) Students is an instance of the List class that contains individual student objects
B) List is an instance of the Students class
C) List is a method of the Students class
D) the Students and Lists objects are combined for that step in the sequence diagram
E) a message is being passed from the Students class to the List class
A) Students is an instance of the List class that contains individual student objects
B) List is an instance of the Students class
C) List is a method of the Students class
D) the Students and Lists objects are combined for that step in the sequence diagram
E) a message is being passed from the Students class to the List class
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
10
The two types of interaction diagrams are ______________ diagrams.
A) use-case and sequence
B) class and sequence
C) sequence and communication
D) object and communication
E) statechart and object
A) use-case and sequence
B) class and sequence
C) sequence and communication
D) object and communication
E) statechart and object
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
11
The modeling focus of the interaction diagram is at the _____ level while the modeling focus on the class diagram is at the _____ level.
A) class, object
B) interaction, class
C) class, interaction
D) object, class
E) high, low
A) class, object
B) interaction, class
C) class, interaction
D) object, class
E) high, low
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
12
The acronym CRUD stands for _____.
A) create, read, update, delete
B) create, reference, underline, delete
C) create, re-do, underline, delete
D) collaborate, read, update, delete
E) collaborate, reference, update, discard
A) create, read, update, delete
B) create, reference, underline, delete
C) create, re-do, underline, delete
D) collaborate, read, update, delete
E) collaborate, reference, update, discard
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
13
The order of messages on a sequence diagram goes from ____ to _____.
A) right to left
B) bottom to top
C) left to right
D) top to bottom
E) left to right, top to bottom
A) right to left
B) bottom to top
C) left to right
D) top to bottom
E) left to right, top to bottom
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
14
The focus in a sequence diagram is on __________________
A) How actors interact with objects to realize a given use case
B) Messages sent by actors to other objects
C) when an object is being created
D) when messages are being destroyed
E) time ordering of messages being passed between objects
A) How actors interact with objects to realize a given use case
B) Messages sent by actors to other objects
C) when an object is being created
D) when messages are being destroyed
E) time ordering of messages being passed between objects
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
15
The first step in building a sequence diagram is to _____.
A) set the context
B) identify which objects will participate
C) set the lifeline for each object
D) add the focus of control to each object's lifeline
E) validate the sequence diagram
A) set the context
B) identify which objects will participate
C) set the lifeline for each object
D) add the focus of control to each object's lifeline
E) validate the sequence diagram
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
16
A(n) _____ is an instantiation of a class.
A) attribute
B) behavior
C) operation
D) message
E) object
A) attribute
B) behavior
C) operation
D) message
E) object
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
17
An analyst depicts the static view of an information system with _____.
A) use-case models
B) structural models
C) behavioral models
D) interaction diagrams
E) statechart diagrams
A) use-case models
B) structural models
C) behavioral models
D) interaction diagrams
E) statechart diagrams
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
18
A behavioral state machine is a dynamic model that shows the different state through which a single _____ passes through its life in response to events, along with its responses and actions
A) object
B) actor
C) use case
D) sequence diagram
E) communication diagram
A) object
B) actor
C) use case
D) sequence diagram
E) communication diagram
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
19
The external behavior of a system is described by _____.
A) functional models
B) structural models
C) behavioral models
D) interaction diagrams
E) statechart diagrams
A) functional models
B) structural models
C) behavioral models
D) interaction diagrams
E) statechart diagrams
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
20
Analysts use _____ to show the objects that participate in a use case and the messages that pass between the objects over time for one particular use case.
A) structural models
B) sequence diagrams
C) collaboration diagram
D) class diagrams
E) behavioral state machines
A) structural models
B) sequence diagrams
C) collaboration diagram
D) class diagrams
E) behavioral state machines
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
21
A message with the information [aStudent exists] will be sent only when this condition is true.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
22
A sequence diagram can only be drawn to represent a single scenario in a use case.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
23
Both the communication diagram and the sequence diagram can show return messages.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
24
It is possible for an object to create another object, resulting in the message going directly to the object, not its lifeline.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
25
The first step in drawing a communication diagram is to identify which objects and associations between the objects participate in the communication.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
26
A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: all _______________ contained in a behavior state machine must be associated with a message being sent on a sequence and communication diagram, and it must be classified as a (C)reate, (U)pdate, or (D)elete message in a CRUDE matrix.
A) messages
B) behaviors
C) transitions
D) associations
E) dependences
A) messages
B) behaviors
C) transitions
D) associations
E) dependences
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
27
The behavioral state diagram shows the different states that an object passes through in response to events, together with its responses and actions.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
28
In a CRUD matrix, C represents Create.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
29
CRUD matrices are created by creating a matrix that lists the classes across the top and down the side.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
30
When an object sends a message to itself, it is called self-messaging.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
31
Each object can both send and receive messages.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
32
When creating a CRUD matrix, you should use the letter U to represent Underline.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
33
Conditions on conditional messages in communication diagrams are placed in [ ] symbols.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
34
Modeling the real world in behavioral models is relatively easy.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
35
The destruction of temporary objects is shown on sequence diagrams with an X at the end of the lifeline.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
36
If you are interested in the time ordering of the messages in a system, you should use a communication diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
37
The initial state in a behavioral state diagram represents the point at which the object begins to exist.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
38
A set of rules are used for performing the verification and validation walkthrough of behavioral model. One of the rules is: all entries in a CRUDE matrix imply _____________ being sent from an actor or object to another actor or object
A) a message
B) a transition
C) an association
D) a guard condition
E) a behavior
A) a message
B) a transition
C) an association
D) a guard condition
E) a behavior
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
39
Actors and objects are placed on a sequence diagram in no particular order.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
40
As behavioral models are developed, it is likely that the use cases and structural models will have to be modified.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
41
On a behavioral state diagram, an arrow is used to represent a transition.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
42
The following symbol represents the destruction of a temporary object in a sequence diagram.


Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
43
CRUD matrices are useful in the step "Set the Context" of building a collaboration diagram?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
44
An execution occurrence in a sequence diagram denotes when an object is sending or receiving messages.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
45
Identification of the initial, final and states of the object is the final steps of building a behavioral state diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
46
In a behavioral state diagram, an action is non-atomic in nature while an activity is atomic and cannot be interrupted.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
47
Return messages in a sequence diagram are often shown using dashed lines with arrows labeled with the return value.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
48
An execution occurrence in a sequence diagram is represented using thick dashed lines with arrows that are placed on top of the life lines.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
49
A final state in a behavioral state diagram is shown using a small filled circle.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
50
An action is an atomic, non-decomposable process that cannot be interrupted.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
51
The communication diagram is used for modeling process flow.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
52
In a behavioral state diagram, an event changes a value(s) that describes an object which in turn changes the object's state.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
53
A guard condition is a Boolean expression, which allows a transition to occur only if a condition is satisfied.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
54
A rectangle with rounded corners is used to represent an initial state on a behavioral state diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
55
An activity in a behavioral state diagram represents the movement of an object from one state to another.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
56
One of the guidelines for creating sequence diagram is: Place the initiator of the scenario on the right of diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
57
If a class represents only temporary objects, then there should be a D in the column of the CRUD matrix.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
58
Adding messages is the last step in building a communication diagram?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
59
For sequence, communication and behavioral state diagrams, a frame indicates the context of the diagram
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
60
Events are the triggers that cause an object to move from one state to another.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
61
Explain the syntax for drawing behavioral state diagrams.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
62
Explain the term transition.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
63
What does the acronym CRUD stand for? Why would an analyst create a CRUD matrix during his analysis?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
64
How does a communication diagram differ from a sequence diagram? Why would an analyst choose to draw a communication diagram?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
65
Explain the terms event, action and activity.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
66
Identify the steps that an analyst would follow in building a communication diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
67
Describe behavioral state machines.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
68
Only create behavioral state machine for "complex" objects.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
69
What is a sequence diagram used for? Why would an analyst choose a sequence diagram over a communication diagram?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
70
Think of an employee object. What are several of the possible states that that object may have over time? Which of these states would be the initial state? Which would be the final state?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
71
If there is a message on the sequence diagram, there must be an association on the communications diagram, and vice versa.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
72
Using detail and descriptive names for states when creating behavioral state machine.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
73
Describe communication diagrams.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
74
Every actor and object included on a sequence diagram must be included as an actor and an object on a communication diagram, and vice versa.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
75
When drawing a sequence diagram, the analyst uses lifelines and a symbol to represent the execution occurrence. It is also possible for an object to be destroyed at some point in time. Explain these three concepts - what is a lifeline, what does the execution occurrence mean, and how it is possible that an object can be destroyed in a use case. Show the diagramming symbols used to represent each of these concepts.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
76
Describe sequence diagrams.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
77
List and describe the steps an analyst would follow in building a behavioral state diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
78
Some entries in a CRUDE matrix does not imply a message being sent from an actor or object to another actor or object.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
79
List the steps that an analyst should go through to build a sequence diagram.
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck
80
When looking at a CRUD matrix, why would it be important to see "D" in a column for a temporary object, or to not see "D" or "U" in a column for objects in a data warehouse?
Unlock Deck
Unlock for access to all 83 flashcards in this deck.
Unlock Deck
k this deck