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.
Report

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.
Report

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.
 
Report

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
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart