Chapter 19

Questions for Chapter 18

1. Which symbol is used to start a UML 2.5 State Machine Diagram?

image

A. a

B. b

C. c

D. d

E. e

F. f

2. Examine the State Machine Diagram fragment below. What state will the State Machine be in after the events e1, e2, e3, and e1 occur (in that order)?

image

A. It is not possible to tell.

B. S1

C. S2

D. S3

E. The diagram is not a valid State Machine Diagram.

3. Which list completely identifies the possible features of a transition?

A. trigger

B. trigger, guard

C. trigger, guard, state

D. trigger, guard, state, effect

E. trigger, constraint, ...

Get OCUP 2 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.