1

Consider the following Activity Diagram :

enter image description here

First of all the activity a22 is confusing me through this configuration .If we need to list all the possible activity sequences that can take place in this activity diagram. My answer is as follows :

Sequence one : a11 ; parallel combination of a22 , a33 and a44 ;a77.

Sequence two : a11 ;parallel combination of a22 , a33 and a44 ; parallel combination of a55 and a66.

Is this a right answer ?

1 Answer 1

3

Almost.

The first answer is ambiguous. It's

a11 followed by a22 running in parallel to [ a33 || a44 followed by a77 ].

That finalizes when a77 is done. a22 can't reach the termination since it's stuck at the synch bar.

The second is also incorrect.

a11 followed by a22 running in parallel to [ a33 || a44 followed by a55 || a66 ]

So it finalizes when a22, a55 and a66 have finished. Which ever takes longest.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.