1.2 Airline Learning Activity
Options
Display
Use dark mode
Accessibility
Use lettered diagram markers
Adds letters such as N so diagram meaning is not conveyed by color alone.
Progress
Reset Progress
Create a class diagram based on the information below.
1.2.5 Class Diagrams
1.2.7 Creating a Class Diagram in Violet
Create a Gate class.
The Gate class has a public field named HasSkyway of type bool.
The Gate class has a public field named PlaneSideCheckLuggage of type bool.
The Gate class has a public field named Name of type string.
Create a Terminal class.
The Terminal class has a public field, GateA, of type Gate.
The Terminal class has a public field, GateB, of type Gate.
Create an Airport class.
The Airport class has a public field named Name of type string.
The Airport class has a public field named Employees of type int.
The Airport class has a public field named MainTerminal of type Terminal.
Create a Jet class.
The Jet class has a public field named Model of type string.
The Jet class has a public field named Manufacturer of type string.
The Jet class has a public field named Name of type string.
The Jet class has a public field named LengthInMeters of type double.
Create an Airline class.
The Airline class has a public field named Name of type string.
The Airline class has a public field named EmployeeCount of type int.
The Airline class has a public field named Airplane of type Jet.
The Airline class has a public field named Airport of type Airport.
Go to top
Create an Object Diagram
1.2.3 How to Represent a Shared Object Instance in an Object Diagram
Open your previously created Airline 1.1 object diagram.
Add a field named Plane to the Gate 3A object.
Represent the Plane field as being the same Model 319 Jet that the Airline has.
Go to top
Save diagrams and submit to Feedback System.
Save the diagrams by clicking
File | Save
in Violet.
Make sure the naming convention of the .html files is: Airline 1.2 LastName
Ensure that Violet adds the proper .class.violet.html or object.violet.hitml extension to the file when saving.
Zip the folder containing the diagram files and submit the .zip file to the Feedback System.
Feedback System
Make sure the naming convention of the .zip file is: Airline 1.2 LastName
Correct any mistakes based on Feedback.
1.2.17 Resolving Feedback System Class Diagram Errors
Re-open file in Violet.
Correct any errors based upon feedback returned.
Save.
Re-zip the .html file.
Re-submit to Feedback System.
Repeat the process as necessary until all feedback is resolved.
Submit the resulting Feedback to Canvas as a URL.
Go to top