Pay And Download
$15.00
Complete Test Bank With Answers
Sample Questions Posted Below
SADCW-6ed Chapter 5: Extending the Requirements Models
TRUE/FALSE
1.An actor is always outside of the automation boundary.
ANS: T PTS: 1 REF: p121
2.Two difference scenarios of a use case would normally be described in a single fully developed use case description.
ANS: F PTS: 1 REF: p123
3.A good way to describe a use case scenario is with a state chart.
ANS: F PTS: 1 REF: p132
4.Activity diagrams are not helpful when the flow of activities is too complex.
ANS: F PTS: 1 REF: p125
5.An activity diagram and the flow of activities in a fully developed use case description serve the same purpose.
ANS: T PTS: 1 REF: p125
6.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).
ANS: F PTS: 1 REF: p125
7.In a system sequence diagram the order of the messages is determined by numbering the messages.
ANS: F PTS: 1 REF: p127
8.In a system sequence diagram a box refers to a class of objects.
ANS: F PTS: 1 REF: p127
9.A true/false condition on a sequence diagram indicates whether the message can be processed or not.
ANS: F PTS: 1 REF: p129
10.A loop frame and an asterisk mean the same thing in a sequence diagram.
ANS: T PTS: 1 REF: p129
11.On a sequence diagram, a message represents a service request.
ANS: T PTS: 1 REF: p127
12.An Opt frame and an Alt frame do essentially the same thing.
ANS: F PTS: 1 REF: p130
13.An Opt frame and a true/false condition on a message serve essentially the same purpose.
ANS: T PTS: 1 REF: p129
14.Activity diagrams are not helpful in developing system sequence diagrams (SSDs).
ANS: F PTS: 1 REF: p130
15.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.
ANS: T PTS: 1 REF: p126
16.In an interaction diagram, messages are sent and received by individual objects, not by classes.
ANS: T PTS: 1 REF: p127
17.In a sequence diagram, a message is considered to be an action that is invoked on the destination object.
ANS: T PTS: 1 REF: p127
18.Activity diagrams cannot be used to describe processes that involve automated system activities.
ANS: F PTS: 1 REF: p126
19.In an activity diagram, a separate use case may used as part of the workflow.
ANS: T PTS: 1 REF: p126
MULTIPLE CHOICE
1.Another way to think of a actor using a use case is as a(n) _______.
a. | external entity | c. | system |
b. | person | d. | role |
ANS: D PTS: 1 REF: p121
2.A unique set of internal activities within a use case which represents a unique path through the use case is called a(n) _______.
a. | workflow | c. | scenario |
b. | sequence of activities | d. | critical path |
ANS: C PTS: 1 REF: p121
3.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. |
ANS: B PTS: 1 REF: p123
4.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. |
ANS: B PTS: 1 REF: p123
5.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 |
ANS: A PTS: 1 REF: p123
6.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 |
ANS: D PTS: 1 REF: p124
7.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. |
ANS: A PTS: 1 REF: p124
8.
Which is correct?
a. | A | c. | C |
b. | B | d. | D |
ANS:BPTS:1REF:p105, 107, 126
9.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 |
ANS: D PTS: 1 REF: p126
10.A vehicle object is denoted with the following label.
a. | vehicle | c. | Vehicle |
b. | Vehicle | d. | :Vehicle |
ANS: D PTS: 1 REF: p127
11.In UML terminology in a sequence diagram, a message refers to a(n) _______.
a. | input data | c. | event |
b. | communication between actors | d. | action |
ANS: D PTS: 1 REF: p127
12.In a sequence diagram a horizontal dashed line represents what?
a. | A return message | c. | A lifeline |
b. | An input message | d. | An event |
ANS: A PTS: 1 REF: p127
13.In a sequence diagram the syntax of a message is given by the following:
[A] B := C (D) The letter B represents what?
a. | message name | c. | true/false condition |
b. | return value | d. | parameter list |
ANS: B PTS: 1 REF: p129
14.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 |
ANS: A PTS: 1 REF: p127
15.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. |
ANS: D PTS: 1 REF: p129
16.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 |
ANS: B PTS: 1 REF: p132
17.For real-world objects the state of an object is the same as its _______ .
a. | lifeline | c. | attribute values |
b. | status condition | d. | persistence |
ANS: B PTS: 1 REF: p133
18.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 |
ANS: C PTS: 1 REF: p134
19.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. |
ANS: A PTS: 1 REF: p135
20.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. |
ANS: C PTS: 1 REF: p135
21.On a systems sequence diagram, ____ indicate(s) a true/false condition.
a. | ( ) | c. | { } |
b. | [ ] | d. | * |
ANS: B PTS: 1 REF: p129
22.In a state machine diagram, a state is represented by a(n) ____.
a. | oval | c. | square |
b. | black dot | d. | arrow |
ANS: A PTS: 1 REF: p134
23.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 |
ANS: B PTS: 1 REF: p135-146
24.Which of the following is NOT an element in a transition label?
a. | trigger | c. | guard condition |
b. | transition name | d. | action expression |
ANS: A PTS: 1 REF: p134
25.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. |
ANS: D PTS: 1 REF: p133-134
26.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. |
ANS: C PTS: 1 REF: p137-138
27.A state machine diagram is used to document the states and transitions of a(n) ________.
a. | Business process | c. | Message |
b. | Use case | d. | Object |
ANS: D PTS: 1 REF: p132-134
28.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 |
ANS: C PTS: 1 REF: p143
29.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. |
ANS: A PTS: 1 REF: p143
MULTIPLE RESPONSE
1.Two types of interaction diagrams are: (Choose two)
a. | Activity diagrams | d. | Class diagrams |
b. | Sequence diagrams | e. | Communication diagrams |
c. | State chart diagrams | f. | Package diagrams |
ANS: B, E PTS: 2 REF: p126
2.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 |
ANS: C, E PTS: 2 REF: p129
3.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 |
ANS: A, F PTS: 2 REF: p127-129
COMPLETION
1.A textual model that describes the processing details of a use case is called a(n) ________.
ANS: use case description
PTS: 2 REF: p121
2.Use cases may have different “paths” or sequence of steps through the use case. These different paths are called _______ .
ANS:
scenarios
scenario
instance
instances
use case instance
use case instances
PTS: 2 REF: p121
3.A certain set of values or statuses that must exist before a use case begins is called a(n) _______.
ANS:
precondition
pre-condition
PTS: 2 REF: p122
4.A certain set of values or statuses that must exist after a use case completes its processing is called a(n) _______.
ANS:
postcondition
post-condition
PTS: 2 REF: p122
5.The diagram model that is useful to document the flow of activities on a fully developed use case description is called a(n) _______ diagram.
ANS: activity
PTS: 2 REF: p125
6.A diagram that shows the messages between an actor and the system is called a(n) _______.
ANS:
system sequence diagram
system-sequence diagram
PTS: 2 REF: p126
7.Vertical dashed lines on a system sequence diagram are used to depict a(n) what?
ANS:
lifeline
object lifeline
PTS: 2 REF: p127
8.An arrow on a system sequence diagram is used to depict a(n) what?
ANS: message
PTS: 2 REF: p127
9.A box in a system sequence diagram refers to a(n) what?
ANS: object
PTS: 2 REF: p127
10.On a sequence diagram when multiple messages are included within a repeating loop a(n) _______ is used to document it.
ANS: loop frame
PTS: 2 REF: p129
11.On a sequence diagram a short notation that indicates a repeating message is a(n) _______.
ANS:
asterisk
*
PTS: 2 REF: p129
12.In a sequence diagram the syntax of a message is given by the following:
[A] B := C (D) The letter D represents what?
ANS:
parameter-list
parameter list
parameters
input parameters
PTS: 2 REF: p129
13.In a sequence diagram the syntax of a message is given by the following:
[A] B := C (D) The letter B represents what?
ANS:
return-value
return-values
return value
return values
PTS: 2 REF: p129
14.To show if-then-else condition on a sequence diagram use a(n) ______.
ANS:
alt frame
alt-frame
PTS: 2 REF: p129
15.A condition during an object’s life when it satisfies some criterion is called a(n) _______.
ANS: state
PTS: 2 REF: p132
16.The movement of an object from one state to another is done through the process of a(n) _______.
ANS: transition
PTS: 2 REF: p134
17.A UML diagram that shows the life of an object in states and transitions is called a(n) _______.
ANS:
state machine diagram
state-machine diagram
state machine
state-machine
PTS: 2 REF: p134
18.When an object moves from one state to another the ending state is called a(n) _______ .
ANS:
destination state
destination
PTS: 2 REF: p134
19.The beginning state of an object when its states are diagrammed is called a(n) _______.
ANS:
pseudostate
pseudo-state
PTS: 2 REF: p134
20.In a state-machine diagram when an object is in multiple states at the same time it is called _______.
ANS:
concurrency
concurrent state
concurrent states
PTS: 2 REF: p135
21.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) ______.
ANS: composite state
PTS: 2 REF: p135
ESSAY
1.Briefly describe the purpose of a system sequence diagram.
ANS:
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.
PTS: 5 REF: p126
2.List three types of frame notation in sequence diagrams.
ANS:
Loop frame
Opt frame
Alt frame
PTS: 5 REF: p130, 128
There are no reviews yet.