Software Engineering II Test 2 Questions With Complete
Solutions
____ is the ability of one object to "see" or have a reference to
another object. Correct Answers Visibility
"Interaction diagram" in a design model is a generalization used
to refer to more specialized UML diagram types. What are those
types? (MULT ANS) Correct Answers Sequence Diagram;
Communication Diagram
A lifeline in a sequence diagram Correct Answers represents
an instance.
A low cohesive object with many source lines of code probably
collaborates with many other objects and all that interaction
tends to also create high coupling. Correct Answers True
A sequence diagram describes Correct Answers only the
interactions between objects; it does not describe what happens
inside of an object.
A use case realization describes how a particular use case is
realized with the Design model in terms of what? Correct
Answers The Collaborating Objects
Communication diagrams work well for which of the following?
Correct Answers UML as sketch; formal modeling; agile
modeling environment
, GoF patterns are classified based on three purpose categories:
creational, structural, and behavioral patterns. Which one of the
following is NOT what GoF (Gang of Four) behavioral patterns
are concerned with? Correct Answers how objects are created
How are asynchronous messages shown in sequence diagrams?
Correct Answers Stick arrow with solid line
How do we indicate a Singleton instance in a class diagram?
Correct Answers With a '1' in the upper right-hand corner
In figure 18.6 on pg. 330, which message is the system
message? Correct Answers makeNewSale
In the Low Coupling example in textbook, which of the
following is a true statement as a solution in assigning
responsibilities? (MULTIPLE ANSWERS) Correct Answers
We remove the call to create() from Register to Payment and
place that responsibility with Sale; Because Register no longer
has to know about Payment and only about Sale, instead of both,
we have decreased the coupling of our objects
Most System Sequence Diagrams (SSDs) are created in
inception. Correct Answers False
On pg. 336 under, "calculating sale total" who did they
determine to be responsible for calculating the sale total?
Correct Answers Sale
System events should be expressed in terms of the physical input
device. Correct Answers False
Solutions
____ is the ability of one object to "see" or have a reference to
another object. Correct Answers Visibility
"Interaction diagram" in a design model is a generalization used
to refer to more specialized UML diagram types. What are those
types? (MULT ANS) Correct Answers Sequence Diagram;
Communication Diagram
A lifeline in a sequence diagram Correct Answers represents
an instance.
A low cohesive object with many source lines of code probably
collaborates with many other objects and all that interaction
tends to also create high coupling. Correct Answers True
A sequence diagram describes Correct Answers only the
interactions between objects; it does not describe what happens
inside of an object.
A use case realization describes how a particular use case is
realized with the Design model in terms of what? Correct
Answers The Collaborating Objects
Communication diagrams work well for which of the following?
Correct Answers UML as sketch; formal modeling; agile
modeling environment
, GoF patterns are classified based on three purpose categories:
creational, structural, and behavioral patterns. Which one of the
following is NOT what GoF (Gang of Four) behavioral patterns
are concerned with? Correct Answers how objects are created
How are asynchronous messages shown in sequence diagrams?
Correct Answers Stick arrow with solid line
How do we indicate a Singleton instance in a class diagram?
Correct Answers With a '1' in the upper right-hand corner
In figure 18.6 on pg. 330, which message is the system
message? Correct Answers makeNewSale
In the Low Coupling example in textbook, which of the
following is a true statement as a solution in assigning
responsibilities? (MULTIPLE ANSWERS) Correct Answers
We remove the call to create() from Register to Payment and
place that responsibility with Sale; Because Register no longer
has to know about Payment and only about Sale, instead of both,
we have decreased the coupling of our objects
Most System Sequence Diagrams (SSDs) are created in
inception. Correct Answers False
On pg. 336 under, "calculating sale total" who did they
determine to be responsible for calculating the sale total?
Correct Answers Sale
System events should be expressed in terms of the physical input
device. Correct Answers False