Domain Partitioning Analysis - Quiz Explanation
The correct answers are indicated below, along with the text that explains the correct answers.
1.
What resource provides the basis for defining the units of work in domain partitioning?
Please select the best answer.
A.
Object model
B.
Interaction diagrams
C.
Use case model
D.
Package diagram
The correct answer is C.
The use case model provides the basis for defining the units of work in domain partitioning. A is incorrect because the object model defines resource objects, not functionality. B is incorrect because the interaction diagrams model individual scenarios within use cases. They could be used but the use case model is at a more appropriate level of detail. D is incorrect because the package diagram is used to illustrate the units of work after they have been defined.
2.
What information can associations reveal about your domain partitions?
Please select the best answer.
A.
Associations are part of the object model, not the domain partitions.
B.
Associations reveal possible dependencies because objects communicate across the links defined by the associations.
C.
Associations imply bi-directional dependencies because both objects on the ends of the association must be aware of one another.
D.
Associations represent a uni-directional dependency between domain partitions. The interaction diagrams will help you determine which direction.
The correct answer is B.
Associations reveal possible dependencies because objects communicate across the links defined by the associations. A is incorrect because, even though they are part of the object model, they still provide insights into the development of the domain partitions. C is incorrect because dependencies do not have to be bi-directional. The dependency may be in either one or both directions. The interaction diagrams will help you find out which. D is incorrect because associations may reveal bi-directional dependencies, too.
3.
How do you insure that a package is interpreted correctly as a subsystem?
Please select the best answer.
A.
Use the "subsystem" keyword with the stereotype notation <<>>.
B.
Include the "subsystem" keyword within the package name.
C.
Include the subsystem stereotype in the name of the package.
D.
Put all of the use cases, classes, and other diagrams that describe the subsystem into the package.
The correct answer is A.
To ensure that a package is interpreted correctly as a subsystem, use the "subsystem" keyword with the stereotype notation <<>>, for example, <<subsystem>>. B is incorrect because the subsystem keyword needs to appear as a separate descriptor. C is incorrect because subsystem is a keyword, not a stereotype, and because it must appear separate from the name. D is incorrect because the contents are separate from the description. You would not want people to have to read the entire contents of a package just to figure out what it is.
4.
How does the dynamic model assist in the development of the domain partitions?
Please select the best answer.
A.
The dynamic model defines the functionality of the system, which forms the basis for defining units of work.
B.
The dynamic model defines the resources used by the system to support each unit of work.
C.
The dynamic model defines the interactions between objects, the basis for defining dependencies between partitions.
D.
The dynamic model defines the workflow of the system, the basis for defining the units of work.
The correct answer is C.
The dynamic model defines the interactions between objects, the basis for defining dependencies between partitions. A is incorrect because the use case model, not the dynamic model, defines the functionality of the system. B is incorrect because the object model, not the dynamic model, defines the resources used by the system to support each unit of work. D is incorrect because workflow has nothing to do with domain partitioning and the dynamic model does not define workflow; it only defines discrete tasks. Workflow combines tasks into a series of work responsibilities.
5.
How does the object model assist in the development of the domain partitions?
Please select the best answer.
A.
The object model defines the functionality of the system, which forms the basis for defining units of work.
B.
The object model defines the resources used by the system to support each unit of work.
C.
The object model defines the interactions between objects, the basis for defining dependencies between partitions.
D.
The object model defines the structure of the system and the structure defines the units of work.
The correct answer is B.
The object model defines the resources used by the system to support each unit of work. Access to these resources helps to define the scope of each partition and the dependencies between them. A is incorrect because it describes the role of the use case model, not the object model. C is incorrect because it describes the role of the dynamic model, not the object model. D is incorrect because the system structure does not define its functionality. In fact, the same resources could be used to support a variety of different types of functionality.