Chapter 6: Behavioral Modeling

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/66

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

67 Terms

1
New cards

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

2
New cards

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

b. structural models

3
New cards

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

c. sequence and communication

4
New cards

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

d. object, class

5
New cards

A(n) _____ is an instantiation of a class.

a. attribute

b. behavior

c. operation

d. message

e. object

e. object

6
New cards

A(n) _____ describes information about an object.

a. attribute

b. behavior

c. operation

d. message

e. instance

a. attribute

7
New cards

_____ 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

c. messages

8
New cards

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

b. sequence diagrams

9
New cards

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

d. in order in which they participate in the sequence across the top of the diagram

10
New cards

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

e. shopping cart

11
New cards

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

b. an object that is destroyed at a point in time

12
New cards

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

e. time ordering of messages being passed between objects

13
New cards

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

14
New cards

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

d. top to bottom

15
New cards

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 these

c. self-delegation

16
New cards

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

17
New cards

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

c. association

18
New cards

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

19
New cards

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

20
New cards

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

e. an association

21
New cards

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

22
New cards

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

c. transitions

23
New cards

Modeling the real world in behavioral models is relatively easy.

False

24
New cards

As behavioral models are developed, it is likely that the use cases and structural models will have to be modified.

True

25
New cards

Each object can both send and receive messages.

True

26
New cards

A sequence diagram can only be drawn to represent a single scenario in a use case.

False

27
New cards

Actors and objects are placed on a sequence diagram in no particular order.

True

28
New cards

The destruction of temporary objects is shown on sequence diagrams with an X at the end of the lifeline.

True

29
New cards

When an object sends a message to itself, it is called self-messaging.

False

30
New cards

It is possible for an object to create another object, resulting in the message going directly to the object, not its lifeline.

True

31
New cards

If you are interested in the time ordering of the messages in a system, you should use a communication diagram.

False

32
New cards

Both the communication diagram and the sequence diagram can show return messages.

False

33
New cards

A message with the information [aStudent exists] will be sent only when this condition is true.

True

34
New cards

The first step in drawing a communication diagram is to identify which objects and associations between the objects participate in the communication.

False

35
New cards

In a CRUD matrix, C represents Create.

True

36
New cards

When creating a CRUD matrix, you should use the letter U to represent Underline.

False

37
New cards

CRUD matrices are created by creating a matrix that lists the classes across the top and down the side.

True

38
New cards

The behavioral state diagram shows the different states that an object passes through in response to events, together with its responses and actions.

True

39
New cards

The initial state in a behavioral state diagram represents the point at which the object begins to exist.

True

40
New cards

Conditions on conditional messages in communication diagrams are placed in [ ] symbols.

True

41
New cards

Adding messages is the last step in building a communication diagram?

False

42
New cards

If a class represents only temporary objects, then there should be a D in the column of the CRUD matrix.

True

43
New cards

CRUD matrices are useful in the step "Set the Context" of building a collaboration diagram?

False

44
New cards

In a behavioral state diagram, an event changes a value(s) that describes an object which in turn changes the object's state.

True

45
New cards

An activity in a behavioral state diagram represents the movement of an object from one state to another.

False

46
New cards

In a behavioral state diagram, an action is non-atomic in nature while an activity is atomic and cannot be interrupted.

False

47
New cards

A rectangle with rounded corners is used to represent an initial state on a behavioral state diagram.

False

48
New cards

On a behavioral state diagram, an arrow is used to represent a transition.

True

49
New cards

Events are the triggers that cause an object to move from one state to another.

True

50
New cards

An action is an atomic, non-decomposable process that cannot be interrupted.

True

51
New cards

A guard condition is a Boolean expression, which allows a transition to occur only if a condition is satisfied.

True

52
New cards

A final state in a behavioral state diagram is shown using a small filled circle.

False

53
New cards

Identification of the initial, final and states of the object is the final steps of building a behavioral state diagram.

False

54
New cards

The following symbol represents the destruction of a temporary object in a sequence diagram.

True

55
New cards

An execution occurrence in a sequence diagram denotes when an object is sending or receiving messages.

True

56
New cards

An execution occurrence in a sequence diagram is represented using thick dashed lines with arrows that are placed on top of the life lines.

False

57
New cards

Return messages in a sequence diagram are often shown using dashed lines with arrows labeled with the return value.

True

58
New cards

For sequence, communication and behavioral state diagrams, a frame indicates the context of the diagram

True

59
New cards

One of the guidelines for creating sequence diagram is: Place the initiator of the scenario on the right of diagram.

False

60
New cards

The communication diagram is used for modeling process flow.

False

61
New cards

Only create behavioral state machine for "complex" objects.

True

62
New cards

Using detail and descriptive names for states when creating behavioral state machine.

False

63
New cards

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.

True

64
New cards

If there is a message on the sequence diagram, there must be an association on the communications diagram, and vice versa.

True

65
New cards

Some entries in a CRUDE matrix does not imply a message being sent from an actor or object to another actor or object.

False

66
New cards

System analysts use behavioral models to depict the internal structural or static view of an information system.

False

67
New cards

System analysts use structural models to depict the internal structural or static view of an information system.

True