Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Draw a class diagram, showing the relevant classes, attributes, and relationships for each of the following situations. (If you believe that you need to

image text in transcribed
image text in transcribed
1. Draw a class diagram, showing the relevant classes, attributes, and relationships for each of the following situations. (If you believe that you need to make additional assumptions, clearly state them for each situation): a. A company has a number of employees. The attributes of Employee include employeelD (primary key), name, address, and birth date. The company also has several projects. Attributes of Project include projectName and startDate. Each employee may be assigned to one or more projects, or may not be assigned to a project. A project must have at least one employee assigned, and it may have any number of employees assigned. An employee's billing rate may vary by project, and the company wishes to record the applicable billing rate for each employee when assigned to a particular project. b. A bank has three types of accounts: checking, savings, and loan. Following are the attributes for each type of account (Assume that each bank account must be a member of exactly one of these subtypes) : CHECKING: Acct_No, Date_Opened, Balance, Service_Charge SAVINGS: Acct_No, Date_Opened, Balance, Interest_Rate LOAN: Acct_No, Date_Opened, Balance, Interest_Rate, Payment c. Consider the classes involved when modeling a car and all its parts. Draw a domain model class diagram that shows the whole-part relationships involved, including multiplicity. Which type of whole-part relationships are involved

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions