Behavior : Sequence Diagrams - Execution Specification

3 important questions on Behavior : Sequence Diagrams - Execution Specification

An Execution Specification is a...

Vertical rectangle that is opaque (doorzichtig) and overlays over a part of a lifeline to indicate that the lifeline is busy some behavior.

Execution Specifications are optional and typically used in ...?

Execution Specifications are optional and typically used in complex diagrams where the execution stack is useful to see or where the end of some behavior is of interest.

However, if you use it on any lifeline in a Sequence Diagram, you should use it on all the lifelines in the diagram.

As in all Sequence Diagrams, explicitly drawing the ..... is optional, especially if it only conveys the transfer of control back to the caller.

As in all Sequence Diagrams, explicitly drawing the return is optional, especially if it only conveys the transfer of control back to the caller.

In the above figure, if we elided the return, you would still be able to determine when it occurs.
 

The question on the page originate from the summary of the following study material:

  • 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