1. In Figure 1, which is true of the relationship between F and G? A. The owners
ID: 3868093 • Letter: 1
Question
1. In Figure 1, which is true of the relationship between F and G?
A. The ownership of F is a policy decision.
B. F contains G, and G may not be part of other aggregations.
C. G contains F, and F may not be part of other aggregations.
D. G contains F, but F may be part of other aggregations.
2. In Figure 1, A has:
A. Knowledge of E
B. No knowledge of E
C. No knowledge of D
D. None of the above
3. In Figure 1, an instance of F has knowledge of an instance of D.
A. Yes, because the diagram indicates a semantic relationship between the classes D and F.
B. No, because F is to the right of D and we read relationships in UML class diagrams left-to-right and top-to-bottom.
C. Cannot tell based on the indicated relationship.
4. A developer is implementing class G defined by Figure 1. What is the minimum number of methods that the developer must implement?
A. At least one
B. At least two
C. At least three
Explanation / Answer
1) D) G contains F, but F may be part of other aggregations
As the relation symbol is of composition
2) D) None of the above
As the realtion symbol is of association
3) A) Yes, because the diagram indicates a semantic relationship between the classes D and F.
As the relationship symbol shows a binary association
4) B) At least two
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.