Class Diagrams l Flashcards

1
Q

What is an object?

A

Individuals of a system that have similar characteristics and behaviours

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

What is a class?

A

A construction plan for a set of similar objects of a system

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

What is an attribute?

A

Structural characteristics of a class

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

What is an operation?

A

Behaviour of a class

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

What does this “+” symbol mean in a class diagram?

A

public access to the attribute (everybody)

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

What does this “-“ symbol mean in a class diagram?

A

private access to the attribute (only the object itself)

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

What does this “#” symbol mean in a class diagram?

A

protected access (class itself and subclasses)

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

What does this “~” symbol mean in a class diagram?

A

packaged access (classes that are in the same package)

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

What does this “{readOnly}” mean?

A

attribute value cannot be changed

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

What does this “{unique}” mean?

A

no attribute duplicates are permitted

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

What does this “{non-unique}” mean?

A

attribute duplicates are permitted

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

What does this “{ordered}” mean?

A

attributes are fixed in order of the values

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

What does this “{unordered}” mean?

A

attributes have no fixed order of the values

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

What does “in” mean?

A

An input value is expected from this parameter

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

What does “out” mean?

A

The parameter has adopted a new value, output

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

What does “inout” mean?

A

Combined input/output parameter

17
Q

Instance variable

A

Variables that belong to an individual instance or object of a class

18
Q

What is a class variable?

A

Variables that belong to the class itself, not to individual instances

19
Q

What is a class operation?

A

An operation/method that belongs to the class itself rather to individual instances of that class

20
Q

What is association?

A

Possible relationships between instance of classes

21
Q

What is a multiplicity?

A

Number of objects that may be associated with exactly one object of the opposite side

21
Q

What is binary association?

A

Represents a relationship between exactly two classes

22
Q

What is a role?

A

Describes the way in which an object is involved in an association relationship

23
Q

What is an n-ary association?

A

Relationship between n classes

24
Q

Association class

A

More detailed description of an association

25
Q

xor relationship

A

An object of C is in a relationship with either object of A or B but not both