Question 7:
Draw the relationships that are described by the following business rules. Include the multiplicities for each relationship.

1. A patient must be assigned to only one doctor, and a doctor can have one or many patients.

2. A movie theater shows at least one movie, and a movie can be shown at up to four other movie theaters around town.

3. A movie either has one star, two co-stars, or more than ten people starring together. A star must be in at least one movie.

Question 10:
Give one example of aggregation, generalization, and association relationships. How is each type of association depicted on a class diagram?

11. Identify the following operations as constructor, query, or update. Which operations would not need to be shown in the class rectangle?
Calculate employee raise (raise percent)
Calculate sick days ()
Increment number of employee vacation days ()
Locate employee name ()
Place request for vacation (vacation day)
Find employee address ()
Insert employee ()
Change employee address ()
Insert spouse ()

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!