2.1 Airline Learning Activity

Airline 2.1: Conditional Decisions in Airline Operations

In this assignment, create three separate activity diagrams in Violet. Whenever an exact diagram label is shown between the plain-text markers, copy only the enclosed text into the appropriate box or arrow. Do not type the markers or add quotation marks to the label. Use the standard Violet start and end nodes; they do not need text labels.

1.Prepare your Airline files
A Open Violet UML Editor and create or open the folder where you keep your Airline diagrams.
B Save each activity diagram as a separate file with a clear filename identifying Airline 2.1 and the scenario.
2.Create the airline-selection activity diagram
A Start the process with a start node. Add a decision node using this exact label:

AirlineName?

B Create three separate outgoing arrows from the decision. Put the appropriate airline name on each arrow, using these exact labels:

Delta American Airlines United

1 The arrow labeled below must lead to an action box with the matching gate label.

Delta Go to Gate 5

2 The arrow labeled below must lead to an action box with the matching gate label.

American Airlines Go to Gate 7

3 The arrow labeled below must lead to an action box with the matching gate label.

United Go to Gate 10

C Connect all three gate action boxes to the same final node. Keep the airline paths distinct, and make sure all three reach that final node.
3.Create the boarding-check activity diagram
A From the start node, go to a decision node with this exact label:

Digital boarding pass?

Label the arrow to the phone action with: true

Label the arrow to the next decision with: false

B The next decision node must use this exact label:

Physical boarding pass?

Its arrow to the pass action must be labeled: true

Its arrow to the next decision must be labeled: false

C The third decision node must use this exact label:

Airline employee?

Its arrow to the badge action must be labeled: true

Its arrow to the terminal-exit action must be labeled: false

D Create the following three credential action boxes. Copy each label exactly.

Show phone Show pass Show badge

Connect all three credential action boxes to one shared action box with this exact label, then connect it to the final node: Enter plane

E Create an action box with this exact label for the path where all three checks follow their false branches. Connect it directly to the final node. Do not connect this path to the plane-entry action.

Exit terminal

1 Verify that every decision arrow uses the exact lowercase labels shown in the plain-text markers above. The employee check happens only after both boarding-pass checks follow their false branches.
4.Create the passenger-loading activity diagram
A From the start node, add a decision node with this exact label:

PassengersRemaining > 0?

Label the arrow that continues to the plane-capacity decision with: while

Label the arrow that exits the loop condition with: done

B On the while path, add a second decision node with this exact label:

Plane full?

Label the full-plane arrow with: true

Label the not-full arrow with: false

The full-plane arrow leads to an action box with this label: break

The not-full arrow leads to an action box with this label: PassengersRemaining--

C Connect the break action to an action box with this exact label. The done arrow from the loop-condition decision must also lead to this same action box. Connect it to the final node.

Close door

D Connect the passenger-count action back to the decision node labeled PassengersRemaining > 0? so the condition is checked again after the count decreases.
1 Verify that the loop-condition arrows are labeled with the exact while and done labels and the plane-full decision arrows are labeled with the exact true and false labels. The true path must go through break and Close door; the false path must decrease the count and return to the loop condition.
5.Save and submit your work
A Save all three separate activity-diagram files: airline selection, boarding check, and passenger loading.
B Each diagram has a clear start and end, and all paths reach the correct destination.
C Check every box label and arrow label against its corresponding plain-text marker. Match spelling, capitalization, punctuation, spaces, and symbols exactly.
D Check that every action and decision path is connected and reaches its intended destination.
E Submit the three saved Violet activity-diagram files using the course submission process. If you receive feedback, correct the diagrams and resubmit them.