UML Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does a Class diagram look like (3 parts)?

A

Classes (object), variables (state) & methods (behaviours)

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

What are the 4 types of relationships between objects?

A
  • Dependency – “uses”
  • Aggregation – “has a”
  • Inheritance – “is a”
  • Association – “uses”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the dependancy arrow?

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

What is the aggregation arrow?

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

What is the inheritance arrow?

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

What is the association arrow?

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

What is depedancy?

A

We use a dependency relationship to show when one element depends or uses another element.

It points from the independent entity to the dependent entity in the system.

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

What is association?

A

A generic retationship meaning that 2+ objects are related in some way.

Aggregation is a particular type of Association.

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

What is aggregation?

A
  • Type of association
  • HAS A
  • 1 way relationship
  • Both entries can survive individually
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is inheritance?

A

Inheritance is the mechanism by which one class is allow to inherit the features (states and behaviours) of another class.

Including a Super class and Sub Class

Key word EXTENDS

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

Parameter vs Argument

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