9. UML and Class Diagrams Flashcards

1
Q

UML

A

Unified modelling language

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

What is a class and what are the key components of a class?

A

A class is used to create objects in programming and outlines what data the objects can hold. It has attributes (A Car class might have attributes like colour, brand and speed) and methods (A Car class might have methods like startEngine() or accelerate())

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

UML syntax

A

How we follow the rules for drawing diagrams (lines, boxes, labels)

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

UML semantics

A

What the things we draw actually mean in the system, how the system works and what role each part plays

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

Elements of a class

A

Class name, class attributes (properties), class methods (behaviours)

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