CH13 [in final] Flashcards
Object-Oriented Design
___________ is a type of interaction diagram which emphasizes the sequence of messages involved in a use case.
Sequence diagram
__________ is a type of interaction diagram which emphasizes the set of objects involved in a use case.
Communication diagram
__________ is the process of elaborating the detailed design for a particular use case using interaction diagrams.
Use Case Realization
CRC Cards focuses on the _______, also known as problem domain layer of classes
business logic
__________ is the switchboard between user-interface classes and domain layer classes.
Use case controller class
Controller class reduces _______ between view and domain layer.
coupling
T/F: Several controllers can be combined together for a group of related use cases.
T, a controller can be created for each use case and several can be combined together…
A controller class is a completely ________ class
artificial
Message syntax in a communication diagram:
[true/false condition] sequence-number: return-value: = message-name (parameter-list)
Every element of a message is optional
In OOD, we use _______ for simples use cases.
________ for moderately complex use cases.
and _________ for complex use cases.
CRC Cards
Communication Diagrams
Sequence Diagrams
In _________, we determine responsibilites and collaborations following the First-cut DCD
CRC Cards
In Communication diagrams and Sequence diagrams, we identify ________, define ______, and add multilayer _______.
messages, parameters, objects
In a First-cut DCD, we identify ______, elaborate ______, and identify _______.
while in Final DCD, we add and elaborate ______, and finalize ___________.
classes, attributes, navigation.
methods, navigation.
We configure packages with classes and determine dependencies in ________ diagram.
package
__________ is the vertical box on a lifeline which indicates the time period when the object is executing based on the message.
Activation lifeline
In a sequence diagram, messages have origins and destinations which maybe on lifeline or on _______ box.
object
T/F: In a sequence diagram, Return values may be dashed message arrow, or on same message.
True.
No logon or other technical issue, describes the _________ assumption.
Perfect technology
No need to read or write data, describes the ___________ assumption.
Perfect memory
No exception conditions, no error handling, describes the __________ assumption.
Perfect Solution
we add a view layer and data layer for ___________ diagrams.
Multilayer Sequence
________ digrams can be used to define formal packages such as subsystems.
Package
T/F: Package diagrams can be used informally to group classes together for understanding.
True.
A relationship between packages or classes within a package in which a change of the (independent/dependent) component may require a change in the (independent/dependent) component.
independent, dependent
(View layer depends on data access layer)