A mobile team models an app release as a UML activity diagram. The initial node flows to Merge features (5 h). Fork node F then starts three concurrent branches:
All three branches end at join node J, which flows to Submit to app store (3 h) and then to an activity final node. Each branch is staffed by a different person, so the branches can run at the same time, and every action starts as soon as its incoming token arrives. Give each answer in hours as a whole number:
Unlock full course notes by signing up
Well-formed guard sets
A decision node in a thermostat's activity diagram branches on the integer room temperature ttt, in degrees Celsius. Which of the following guard sets make the decision well formed, so that exactly one guard is true for every possible integer value of ttt? Select all that apply.
Counting scenarios in a checkout activity
An online shop's checkout activity runs as follows. After Validate cart, a decision has the guards [new customer], [returning customer] and [guest]. These lead to Create account, Load profile and no action respectively, and the three edges meet at a merge. The flow then reaches a fork with two concurrent branches. In branch 1, a decision sends [express] to Book courier and [else] to Book post, followed by a merge. In branch 2, a decision sends [coupon entered] to Apply coupon and [else] directly to a merge. The branches meet at a join, then Confirm order runs and the activity ends. A scenario is one combination of guard outcomes in a single run. How many distinct scenarios does the activity have? Give your answer as a whole number.
Handoffs between swimlanes in an expense claim
A company models its expense-claim process as a UML activity diagram with three partitions (swimlanes): Employee, Manager and Finance. The flows are:
The initial node flows to Submit claim (Employee), which flows to decision D1.
D1 has guards [amount ≤ 100] to merge node M and [amount > 100] to Review claim (Manager).
Interleaving three concurrent branches
A warehouse dispatch activity forks into three concurrent branches that meet at a join. Branch A runs Pick items, then Pack items. Branch B runs Print label only. Branch C runs Update inventory, then Notify supplier. One worker performs all five actions one at a time, keeping each branch's internal order. Find the number of valid orderings of the five actions, and the number of different actions that could be performed first. Give both answers as whole numbers.