Module 3: UML DIAGRAM Flashcards

1
Q

UML stands for?

A

Unified Modeling Language.
It’s a rich language to model software solutions, application structures, system behavior and business process.

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

How many UML diagrams types are there?

A

14

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

List of UML Diagram types (Behavioral Diagrams):
(UASSCIT)

A

Use Case Diagram
Activity Diagram
State Machine Diagram
Sequence Diagram
Communication Diagram
Interaction Overview Diagram
Timing Diagram

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

List of UML Diagram types (Structure Diagrams):
(CCDOPPC)

A

Class Diagram
Component Diagram
Deployment Diagram
Object Diagram
Package Diagram
Profile Diagram
Composite Structure Diagram

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

_____ is a type of interaction diagram because it describes how—and in what order—a group of objects works together.

A

sequence diagram

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

Two types of sequence diagram:

A

UML and code-based.

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

Benefits of sequence diagrams:

A
  • Represent the details of a UML use case.
  • Model the logic of a sophisticated procedure, function, or operation.
  • See how objects and components interact with each other to complete a process.
  • Plan and understand the detailed functionality of an existing or future scenario.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A type of role played by an entity that interacts with the subject.

A

Actor

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

Represents an individual participant in the Interaction.

A

Lifeline

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

A thin rectangle on a lifeline.

A

Activations

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

_____ is a kind of message that represents an invocation of operation of target lifeline.

A

Call message

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

_____ is a kind of message that represents the pass of information back to the caller of a corresponded former message.

A

Return message

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

_____ is a kind of message that represents the invocation of message of the same lifeline. It’s target points to an activation on top of the activation where the message was invoked from.

A

Recursive message

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

_____ is a kind of message that represents the instantiation of (target) lifeline.

A

Create message

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

_____ is a kind of message that represents the request of destroying the lifecycle of target lifeline.

A

Destroy message

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

_____ shows the distance between two time instants for a message invocation.

A

Duration message

17
Q

Alternative multiple fragments: only the one whose condition is true will execute.

A

alt

18
Q

Optional: the fragment executes only if the supplied condition is true. Equivalent to an alt only with one trace.

A

opt

19
Q

Parallel: each fragment is run in parallel.

A

par

20
Q

Loop: the fragment may execute multiple times, and the guard indicates the
basis of iteration.

A

loop

21
Q

Critical region: the fragment can have only one thread executing it at once.

A

region

22
Q

Negative: the fragment shows an invalid interaction.

A

neg

23
Q

Reference: refers to an interaction defined on another diagram. The frame is drawn to cover the lifelines involved in the interaction. You can define parameters and a return value.

A

ref

24
Q

Sequence diagram: used to surround an entire sequence diagram.

A

sd

25
Q

_____ is a static diagram. It represents the static view of an application. _____ is not only used for visualizing, describing, and documenting different aspects of a system but also for constructing executable code of the software application.

A

Class diagram

26
Q

The class shape itself consists of a rectangle with three rows:

A

top row = name of the class
middle row = attributes of the class
bottom row = methods (operations) of the class

27
Q
  • Represents an “is-a” relationship.
  • An abstract class name is shown in italics.
  • SubClass1 and SubClass2 are specializations of Super Class.
  • A solid line with a hollow arrowhead that point from the child to the parent class
A

Inheritance

28
Q
  • A structural link between two peer classes.
  • There is an association between Class1 and Class2
  • A solid line connecting two classes
A

Simple Association

29
Q
  • Class2 is part of Class1.
  • Many instances (denoted by the *) of Class2 can be associated with Class1.
  • Objects of Class1 and Class2 have separate lifetimes.
  • A solid line with an unfilled diamond at the association end connected to the class of composite
A

Aggregation

30
Q
  • Objects of Class2 live and die with Class1.
  • Class2 cannot stand by itself.
  • A solid line with a filled diamond at the association connected to the class of composite
A

Composition

31
Q
  • Exists between two classes if the changes to the definition of one may cause changes to the other (but not the other way around).
  • Class1 depends on Class2
  • A dashed line with an open arrow
A

Dependency

32
Q

four types of visibility:

A

+ public
# protected
- private
~ package