Class Diagram Flashcards

1
Q

It expresses a relationship where an instance of the Whole-class has the responsibility to create and initialize instances of each Part-class

A

Composition

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

can tell you the name of the class and the name of an instance of that class, called an object.

A

classifier

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

are classes

A

Rectangles

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

can be fields, properties, or both.

A

Attributes

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

is really a strong form of aggregation

A

Composition

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

may form “part of” the aggregate, but may not be essential to it. They may also exist independent of the aggregate

A

Aggregations

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

include behaviors and attributes, collectively called features, too.

A

Classes

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

It expresses a relationship where an instance of the Container-class has the responsibility to hold and maintain instances of each Containee-class that have been created outside the auspices of the Container-class

A

Aggregation

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

Used for abstracting details in several layers

A

Generalization

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

Should be used to express a relationship where the behavior of Part instances is undefined without being related to an instance of the Whole.

A

Composition

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

represent relationship between instances of classes.

A

Association

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

are connectors showing the relationship between those classes.

A

Lines

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

There are two kinds of Relationships (OO Relationships)

A

Generalization and Association

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

are methods

A

Behaviors

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

They call the class diagram this because they don’t depict action

A

static diagrams

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

Rectangle in a class diagram is called a?

A

Classifier

17
Q

are the most common and the most important view of the design that you will create.

A

Class Diagram

18
Q

Associations can be further classified as

A

Aggregation
Composition

19
Q

expressed a parent/child relationship among related classes.

A

Generalization