1.�
What associations are considered weak relationships? (Choose all that apply.)
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
2.�
What associations are considered strong relationships? (Choose all that apply.)
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
3.�
Which association can be said as object A has-an object B?
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
4.�
Which association can be said as object A is part-of object B?
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
5.�
Which association can be said as object A is composed-of object B?
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
6.�
Which association has a life cycle responsibility for the object it contains?
A.Direct association
B.Temporary association
C.Composition association
D.Aggregation association
7.�
Association navigation is best described as which of the following?
A.The ability to navigate, or access, an object that is contained in another object.
B.The ability to search for and find an object that is contained in another object.
C.The possibility of passing an object to another object via a method.
D.The ability to invoke methods of an object that will then change the path of code execution.
E.The ability to invoke methods of an object to determine the current path of execution.
8.�
What would the multiplicity be in the following relationship? A Lamp object has-a LightBulb object.
A.One-to-one
B.One-to-many
C.Many-to-many
9.
A composition association cannot exist in what multiplicity?
A.One-to-one
B.One-to-many
C.Many-to-many
10.�
What would the multiplicity be in the following relationship? A BookShelf object has-a reference to an array made up of Book objects.
A.One-to-one
B.One-to-many
C.Many-to-many
No comments:
Post a Comment