Behavior : Sequence Diagrams - Practical Sequence Diagrams
4 important questions on Behavior : Sequence Diagrams - Practical Sequence Diagrams
The complete Sequence Diagram specification is much more powerful. It includes a robust set of ....?
- control structures: the equivalent to optionality
- if-then-else
- alt
- loop
- if
- break
- parallel spawn
- critical regions
- and support for behavior and structural composition.
Even without the additional control constructs, the Sequence Diagram can illustrate , what ?
What can we read this diagram?
For some of the formal parameters, we supplied specific argument values for the scenario.
Here we see the Patron Chonoles showing his LibraryCard and then borrowing the Mark Twain Book.
A dueDate is calculated, and a borrowing record is created.
Then the LibraryCard, the Book, and the dueDate are all handed back to the Patron.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
How many occurences do you see in this diagram?
Every execution (vertical rectangles) has a start and end occurrence.
There are three executions -> 3*2 = 6 (de grijze balkjes)
Every message (or function call) also has 2 occurrences: send and receive occurrence.
We count 4 calls, each with a send and return -> 4 * 2 = 8 (de message pijlen)
Summing up: 6+8 = 14
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