Activity Diagrams Flashcards

(20 cards)

1
Q

What is an activity diagram?

A

A flowchart showing step-by-step actions in a process, with decisions and parallel paths.

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

What are the two main components of activity diagrams?

A

Nodes (actions/decisions) and edges (arrows showing flow).

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

What is an ‘action’ in activity diagrams?

A

A single task (e.g., ‘Submit Assignment’) shown as a rounded rectangle.

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

What is a ‘control flow’ edge?

A

An arrow showing the order of actions (no data passed).

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

What is an ‘object flow’ edge?

A

An arrow passing data/objects between actions (e.g., ‘Assignment → Grade’).

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

What is a ‘token’?

A

A virtual ‘permission slip’ that allows actions to run when received.

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

What starts an activity?

A

Initial node (solid black circle ●).

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

What ends ALL flows in an activity?

A

Activity final node (bullseye ⭘).

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

What ends ONE flow path without stopping others?

A

Flow final node (X inside circle ⓧ).

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

How are decisions shown?

A

Diamond (◇) with guards like ‘[grade > 50]’ on outgoing edges.

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

What does a ‘merge node’ do?

A

Combines alternate paths back into one (also a diamond ◇).

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

How is parallelism shown?

A

Fork (solid bar ━) splits paths; join (solid bar ━) syncs them.

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

What is an ‘object node’?

A

A box holding data between steps (e.g., ‘Task: String’).

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

What’s the difference between central buffer and data store?

A

Central buffer deletes data after reading; data store keeps copies.

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

What does ‘weight=3’ on an edge mean?

A

3 tokens needed to trigger the next action (default is 1).

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

What is a ‘partition’ (swimlane)?

A

Columns/lanes grouping actions by role (e.g., ‘Student’ vs ‘Professor’).

17
Q

How are exceptions handled?

A

With ‘exception handler’ nodes that replace failed actions.

18
Q

What is an ‘interruptible region’?

A

A dashed area where an event (e.g., ‘Withdraw’) cancels all actions inside.

19
Q

What’s a ‘call behavior action’?

A

An action (Ⓐ) that references another activity (reusable).

20
Q

How are time-based events shown?

A

Hourglass symbol (⏳) for waits (e.g., ‘Semester ends’).