CH5 (test bank) Flashcards

1
Q

T/F: An actor is always outside of the automation boundary.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two difference scenarios of a use case would normally be described in a single fully developed use case description.

A

F, only one scenario of a use case is described in a fullt developed use case.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T/F: A good way to describe a use case scenario is with a state chart.

A

F, State Machine Diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

T/F: Activity diagrams are not helpful when the flow of activities is too complex.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

T/F: An activity diagram and the flow of activities in a fully developed use case description serve the same purpose.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: Since an activity diagram is not object-oriented (e.g. no objects), it is not a standard model of the object-oriented Unified Modeling Language (UML).

A

F, it is.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F: In a system sequence diagram the order of the messages is determined by numbering the messages.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F: In a system sequence diagram a box refers to a class of objects.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T/F: A true/false condition on a sequence diagram indicates whether the message can be processed or not.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

T/F: A loop frame and an asterisk mean the same thing in a sequence diagram.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

T/F: On a sequence diagram, a message represents a service request.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

T/F: An Opt frame and an Alt frame do essentially the same thing.

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

T/F: An Opt frame and a true/false condition on a message serve essentially the same purpose

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

T/F: Activity diagrams are not helpful in developing system sequence diagrams (SSDs).

A

F, it is helpful in developing system sequence diagrams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

T/F: In the object-oriented approach to systems development, the flow of information is achieved by sending messages either to and from actors or back and forth between internal objects.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

T/F: In a sequence diagram, a message is considered to be an action that is invoked on the destination object.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

T/F: Activity diagrams cannot be used to describe processes that involve automated system activities.

A

F, it can.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

T/F: In an activity diagram, a separate use case may used as part of the workflow.

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Another way to think of a actor using a use case is as a(n) _______.

A

role

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

A unique set of internal activities within a use case which represents a unique path through the use case is called a(n) _______.

A

scenario

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

In a fully developed use case description the postcondition data describes what conditions?
a. The status condition of the use case.
c. The condition of the actor.
b. The existence of domain model objects.
d. The data that is output by the system.

A

b. The existence of domain model objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

In a fully developed use case description the exception conditions represent what?
a. What conditions might cause the system to crash.
b. What conditions prevent the system from successfully completing the use case.
c. What conditions will confuse the actor.
d. Where the system might have “bugs” and produce erroneous results.

A

b. What conditions prevent the system from successfully completing the use case.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

In a fully developed use case description, the flow of activities is most similar to what?
a. An activity diagram
c. A state chart diagram
b. A class diagram d. A system sequence diagram

A

a. An activity diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Numbering exception conditions, which often uses hierarchical numbering, in a fully developed use case description is helpful to _______.
a. tie exception conditions to other diagrams or descriptions
b. show which exception conditions are subordinate to other exceptions
c. provide an identifier for each exception condition
d. tie the exception condition to a processing step

A

d. tie the exception condition to a processing step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

In a fully developed use case description normally the preconditions describe what?
a. What objects must exist prior to the use case executes.
b. What data the actor must have before the use case executes.
c. Who the actors are that invoke the use case.
d. What business conditions must occur before the use case is invoked.

A

a. What objects must exist prior to the use case executes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Which of the following is the best model to use to document the inputs and the outputs to a system?
a. State chart diagram
c. Activity diagram
b. Fully developed use case description d. System sequence diagram

A

d. System sequence diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

A vehicle object is denoted with the following label.
a. vehicle
c. Vehicle
b. Vehicle
d. :Vehicle (underlined)

A

d. :Vehicle (underlined)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

In UML terminology in a sequence diagram, a message refers to a(n) _______.
a. input data
c. event
b. communication between actors
d. action

A

d. action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

In a sequence diagram a horizontal dashed line represents what?
a. A return message
c. A lifeline
b. An input message
d. An event

A

a. A return message

30
Q

In a sequence diagram the syntax of a message is given by the following:
[A] B := C (D) The letter B represents what?

A

b. return value

31
Q

In a sequence diagram the message-name is usually given in what format?
a. verb-noun
c. action-object
b. noun-verb
d. object-action

A

a. verb-noun

32
Q

If the True/False condition on a message evaluates to false in a sequence diagram, which of the following is correct?
a. The message is false.
c. The message is not processed.
b. The message has no return value. d. The message is not sent.

A

d. The message is not sent.

33
Q

Which of the following documents information about classes that are part of the problem domain of the user?
a. Activity diagram c. Use case diagram
b. State machine diagram
d. System sequence diagram

A

b. State machine diagram

34
Q

For real-world objects the state of an object is the same as its _______ .
a. lifeline
c. attribute values
b. status condition d. persistence

A

b. status condition

35
Q

In a transition label in a state machine the syntax is A(B)[C]/D. The D stands for what?
a. transition name c. action expression
b. true/false condition
d. input parameters

A

c. action expression

35
Q

For real-world objects the state of an object is the same as its _______ .
a. lifeline
c. attribute values
b. status condition d. persistence

A

b. status condition

36
Q

The guard-condition on a transition indicates what?
a. Whether the transition fires.
c. Whether the object is in the correct state.
b. Whether the action-expression executes.
d. Whether the trigger message is received.

A

a. Whether the transition fires.

37
Q

An action-expression occurs when?
a. Before the object leaves the origin state.
b. After the object enters the destination state.
c. Before the object enters the destination state.
d. Before the transition fires.

A

c. Before the object enters the destination state.

38
Q

On a systems sequence diagram, ____ indicate(s) a true/false condition.
a. ( ) c. { }
b. [ ] d. *

A

b. [ ]

39
Q

In a state machine diagram, a state is represented by a(n) ____.
a. oval
c. square
b. black dot
d. arrow

A

a. oval

40
Q

To document ____, draw a composite state with the lower portion divided into multiple compartments for each concurrent path of behavior.
a. simple nested states
c. concurrent behavior of different objects
b. concurrent behavior of a single object
d. simple paths

A

b. concurrent behavior of a single object

41
Q

Which of the following is NOT an element in a transition label?
a. trigger
c. guard condition
b. transition name d. action expression

A

a. trigger

42
Q

A message event causes what to happen?
a. An activity to finish.
c. A guard condition to be evaluated.
b. A message to fire.
d. A transition to fire.

A

d. A transition to fire.

43
Q

Which of the following is NOT a step in the development of a state machine diagram?
a. List all the status conditions for an object.
b. Identify state exiting transitions.
c. Expand the name of each state to identify concurrent activities.
d. Sequence the state-transition fragments.

A

c. Expand the name of each state to identify

44
Q

A state machine diagram is used to document the states and transitions of a(n) ________.

A

Object

45
Q

The ____ are the primary models from which other models draw information.
a. statechart diagram and the problem domain class diagram.
b. system sequence diagram and the activity diagram
c. use case diagram and the problem domain class diagram
d. use case description and the use case diagram

A

c. use case diagram and the problem domain class diagram

46
Q

Which of the following is NOT an advantage of object-oriented modeling with several models is that _____.
a. developing new models allows the analyst to discard unnecessary diagrams.
b. developing new models ensures a consistency in the requirements.
c. developing new models helps correct previously drawn diagrams
d. developing new models helps gain deeper understanding of user requirements.

A

a. developing new models allows the analyst to discard unnecessary diagrams.

47
Q

Two methods to show a repeating message are: (Choose two)
a. Dashed arrow d. Opt frame
b. Brackets [ ]
e. Loop frame
c. Asterisk *
f. Alt frame

A

e. Loop frame
c. Asterisk *

48
Q

Two methods to show a return value are: (Choose two)
a. value :=
d. := value
b. [ value ]
e. Solid arrow with value
c. ( value )
f. Dashed arrow with value

A

f. Dashed arrow with value
a. value :=

48
Q

A textual model that describes the processing details of a use case is called a(n) ________.

A

use case description

49
Q

Use cases may have different “paths” or sequence of steps through the use case. These different paths are called _______ .

A

scenarios

50
Q

A certain set of values or statuses that must exist before a use case begins is called a(n) _______.

A

precondition

51
Q

A certain set of values or statuses that must exist after a use case completes its processing is called a(n) _______.

A

postcondition

52
Q

The diagram model that is useful to document the flow of activities on a fully developed use case description is called a(n) _______ diagram.

A

activity

53
Q

A diagram that shows the messages between an actor and the system is called a(n) _______.

A

system sequence diagram

54
Q

Vertical dashed lines on a system sequence diagram are used to depict a(n) _________.

A

lifeline

55
Q

An arrow on a system sequence diagram is used to depict a(n) what?

A

message

56
Q

A box in a system sequence diagram refers to a(n) what?

A

object

57
Q

On a sequence diagram when multiple messages are included within a repeating loop a(n) _______ is used to document it.

A

loop frame

58
Q

On a sequence diagram a short notation that indicates a repeating message is a(n) _______.

A

asterisk

59
Q

In a sequence diagram the syntax of a message is given by the following:
[A] B := C (D) The letter D represents what?

A

parameters

60
Q

To show if-then-else condition on a sequence diagram use a(n) ______.

A

alt frame

61
Q

A condition during an object’s life when it satisfies some criterion is called a(n) _______.

A

state

62
Q

A condition during an object’s life when it satisfies some criterion is called a(n) _______.

A

transition

63
Q

A UML diagram that shows the life of an object in states and transitions is called a(n) _______.

A

state machine diagram

64
Q

When an object moves from one state to another the ending state is called a(n) _______ .

A

destination state

65
Q

The beginning state of an object when its states are diagrammed is called a(n) _______.

A

pseudostate

66
Q

In a state-machine diagram when an object is in multiple states at the same time it is called _______.

A

concurrency

67
Q

In a state-machine diagram when one state is high-level in that it contains other states of an object, it is called a(n) ______.

A

composite state

68
Q

Briefly describe the purpose of a system sequence diagram.

A

A system sequence diagram (SSD) is used to describe the flow of information into and out of the automated system. Thus, an SSD documents the inputs and the outputs and identifies the interaction between actors and the system.

69
Q

List three types of frame notation in sequence diagrams.

A

Loop frame
Opt frame
Alt frame