02 - UML Flashcards

1
Q

What does UML help to show?

A

Interaction, behaviour, and/or structure of programs and systems in diagrammatical form

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

How many types of diagrams does UML have?

A

6 different types
Component Diagram, Activity Diagram, Sequence Diagram, Class Diagram, Use Case Diagram, Communication Diagram

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

Which UML diagram types are relevant in IB?

A

Only one type

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

List the types of UML diagrams.

A
  • Component Diagram
  • Activity Diagram
  • Sequence Diagram
  • Class Diagram
  • Use Case Diagram
  • Communication Diagram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of constructing UML diagrams?

A

To represent object designs

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

What access modifiers are mentioned in relation to classes?

A

Private, protected, public

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

What elements do Class Diagrams consist of?

A

1) Classes (objects)
2) Variables (states)
3) Methods (behaviours)

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