Part II: 7 - Static modeling ... Flashcards

(10 cards)

1
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly