Question
Use the document entitled, What Is UML to assist in answering the following questions. Feel free to do more research on the Internet on each
Use the document entitled, “What Is UML” to assist in answering the following questions. Feel free to do more research on the Internet on each type of diagram if you feel it is required. We will be reviewing solutions in class next week.
- Create an UML class diagram that models the data relationships described in the following paragraph.
To be a collector you have to have one or more collections. Each collection must have 2 or more items. Each collection belongs to one collector. A collection is made up of items owned. A particular item may be in more than one collection (i.e. an old Coke sign may be in both a Coke memorabilia collection and a sign collection.)
- Use the following class diagram to answer the questions that following it. If there isn't enough information in the diagram to answer the question, state as much.
- Must a company have an employee?
- Must a person have an employer? i.e. Can a person be unemployed?
- Can a person be self-employed?
- Draw the UML class diagram for the following code fragments. You can assume class M already exists and start the sequence diagram with the method f(). You don’t have to document calls to any methods defined for classes not shown here.
- Now, draw the UML sequence diagram for the code fragments from question 3.
- Draw a UML class diagram to express the structural relationships in the following program and draw a UML sequence diagram to express the dynamic behavior.
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
1 Class diagramCollector figure UML DiagramCollector and collection 2 As no class diagram given ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started