These are flashcards an notes made by students on topics like 'token', 'fork' and 'action', originating from:

- Michael Jesse Chonoles
ISBN-10 0128096403 ISBN-13 9780128096406
1335 Flashcards & Notes
  • This + 400k other summaries, also in PDF!
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Study Cards on token, fork, action

The Activity Diagrams within UML 2.5 concentrate on behavioral steps, process, control flow, and object (data) flow.
  • Behavioral steps
  • process
  • control flow
  • object (data) flow
Report
Many of the diagrams in this chapter are examples of PATTERNS.


What are Patterns?

Patterns are common pieces used in design that we can assemble as needed into structures that are more complex.

They will help us recognize what is going on in an existing diagram, and building, out of these pieces, when configured suitably and tailored to your specific purpose, useful models that will accomplish your goals.
Report
In each of the above figures, there is only one locus of execution in each diagram fragment at any time.

   One way of looking at this is to imagine that...
... there is a token that travels through the diagram conveying permission to execute.
Report
You may read that the UML Fork node spawns a new task or something like that.

We typically do not use the “spawn” terminology, as it usually implies a hierarchical relationship between the associated tasks.

What term do we use?
“Forking” is more appropriate as each token/task is independent.
Report
What happens when a fork occurs?
When a fork occurs, it is not that a new subordinate token is created.

A fork is a clone of a task, while spawn could be considered as a child.

Generally, this distinction is not important, though it may help in understanding what is going on.
Report
There is a special control node used to terminate a token without ending the entire diagram.

This control node is called a ....
a FLOW FINAL NODE
Report
If an action has more than one input edge, normally the action requires all the edges to be populated with tokens before the action starts.

This is nearly equivalent...
.....  to having a logical join right before the action
Report
  • Higher grades + faster learning
  • Don't study anything twice
  • 100% sure, 100% understanding
Discover Study Smart