Basic protocol state diagram example


Download as MP4

Basic behavioural state diagram example

Note that I said "reserved" where "unreserved" would have made more sense, and despite building up for an explanation of the navigability arrow on the association, I forgot to actually explain it... Sorry! Making these is harder than it looks...

Download as MP4

Basic nested state example


Download as MP4

Quick questions

Q1 States in a UML state diagram are shown as
rectangles
ellipses
rectangles with left and right sides curved
rectangles with rounded corners

Q2 The arrows in a state diagram are called
transitions
messages
events
associations

Q3 Two people could each create a behavioural state diagram for the same class, and their diagrams could both be correct but have different numbers of states:
True
False

Q4 An element that can appear on a behavioural state diagram, but cannot appear on a protocol state diagram, is:
a nested state
an action
an event
a condition

Requests

Any questions, things you'd like me to go over in a lecture, comments? (If you want me to have your name and/or email address, include it, otherwise I won't.)


This page is maintained by Perdita Stevens (perdita@inf.ed.ac.uk)


Home : Teaching : Courses : Seoc : 2012_2013 

Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: school-office@inf.ed.ac.uk
Please contact our webadmin with any comments or corrections. Logging and Cookies
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh