CS2002 - Week 3 - Class Diagram I Flashcards

(26 cards)

1
Q

object

A

Instance of a class, 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

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

attribute

A

Structural characteristics of a class

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

operation

A

Behaviour of a class

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

+ symbol

A

public access to the attribute (everybody)

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

dash (-) symbol

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

hashtag (#) symbol

A

protected access (class itself and subclasses)

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

~ symbol

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

{readOnly}

A

attribute value cannot be changed

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

{unique}

A

no attribute duplicates are permitted

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

{non-unique}

A

attribute duplicates are permitted

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

{ordered}

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

{unordered}

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

in

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

out

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

inout

A

Combined input/output parameter

17
Q

instance variable

A

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

18
Q

class variable

A

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

19
Q

class operation

A

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

20
Q

association

A

Possible relationships between instance of classes

21
Q

multiplicity

A

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

22
Q

binary association

A

Represents a relationship between exactly two classes

23
Q

role

A

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

24
Q

n-ary association

A

Relationship between n classes

25
association class
More detailed description of an association
26
xor relationship
An object of C is in a relationship with either object of A or B but not both