Part II: 7 - Static modeling ... Flashcards
(10 cards)
1
Q
- What is a class?
(a) A course
(b) An object instance
(c) A client or server in the system
(d) A collection of objects with the
same characteristics
A
D
2
Q
What is an attribute?
(a) A relationship between two classes
(b) A parameter of an operation or
method
(c) A data value held by an object in a
class
(d) The return value from an operation
A
C
3
Q
What is an association?
(a) A relationship between two classes
(b) A relationship between two objects
(c) A link between two classes
(d) A link between two objects
A
A
4
Q
What is meant by the multiplicity of an association?
(a) The number of associations in a
class
(b) The number of associations be-
tween two classes
(c) How many instances of one class
relate to how many instances of
another class
(d) How many instances of one class
relate to a single instance of
another class.
A
C
5
Q
- What is an association class?
(a) A class with multiple associations
(b) A class. with one association
(c) A class that models an association between two or more classes
(d) A class that models an association between two or more objects
A
C
6
Q
- What is a generalization/specialization hierarchy?
(a) A whole/part relationship
(b) An inheritance relationship
(c) An association between a generalized class and a specialized class
(d) A layered hierarchy
A
B
7
Q
- What is a composition hierarchy?
(a) A weak form of a generalization/ specialization hierarchy
(b) A strong form of a generalization/ specialization hierarchy
(c) A weak form of a whole/part relationship
(d) A strong form of a whole/part relationship
A
D
8
Q
- What is an aggregation hierarchy?
(a) A weak form of a generalization/
specialization hierarchy
(b) A strong form of a generalization/specialization hierarchy
(c) A weak form of a whole/part relationship
(d) A strong form of a whole/part relationship
A
C
9
Q
- What does the system context class diagram define?
(a) The entity classes in the system
(b) How the system interfaces to other
systems
(c) The boundary between the system
and the external environment
(d) The context classes in the system
A
C
10
Q
- What is an entity class?
(a) A class on an entity/relationship
diagram
(b) A class that stores data
(c) A class that interfaces to an external entity
(d) An external class
A
B