Lab 5.doc

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CNIT 180 Anurag Mali Lab 5: Unified Modeling Language & Class Diagrams EXERCISES Complete the exercises assigned by your instructor by drawing the required models. Save each diagram. Copy and paste the diagrams into this document. Save this document to your home directory. Close this document. Attach this document to the Lab 5 Assignment in Black Board and submit the assignment in Black Board. 1. Duplicate the enrollment class diagram shown in the lab manual. Based on your knowledge of enrolling in college courses add other class objects, including Section , Plan of study , and Department . Add attributes and methods for each object. Add data relationships, naming them bi-directionally, and add multiplicity at each end of the relationship. Use generalization / specialization (super type/subtype) where appropriate. Answer:
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CNIT 180 Anurag Mali Lab 5: Unified Modeling Language & Class Diagrams 2. Draw a class diagram for the auto dealership class objects used earlier in the chapter: Employee , Mechanic , Salesperson , and Car . Revise the diagram with the following additional class objects: Customer , Prospective Customer , Car Sale , and Service Job (when a car is serviced). Add attributes and methods for each object. Add data relationships, naming them bi-directionally, and add multiplicity at each end of the relationship. Use generalization / specialization (super type/subtype) where appropriate.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern