Assignment 03
Assignment 03
Assignment 03
Meg McManus
Homework Assignment 3
Chapter 3
1. (6 points)
Contrast the following terms:
a. supertype; subtype
b. generalization; specialization
c. anchor object; corresponding object
d. disjoint rule; overlap rule
e. structural assertion; action assertion
f. total specialization rule; partial specialization rule
g. entity, entity cluster
3. (2 points)
What is attribute inheritance? Why is it important?
7. (5 Points)
A rental car agency classifies the vehicles it rents into four
categories: compact, mid-size, full-size, and sport utility. The agency
wants to record the following data for all vehicles: Vehicle_ID, Make,
Model, Year, and Color. There are no unique attributes for any of the
four classes of vehicle. The entity type vehicle has a relationship
(named Rents) with a customer entity type. None of the four vehicle
classes has a unique relationship with an entity type. Would you
consider creating a supertype/subtype relationship for this problem?
Why or why not?
9. (10 points)
A bank has three types of accounts: checking, savings, and loan.
Following are the attributes for each type of account:
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
Assume that each bank account must be a member of exactly one of
these subtypes. Using generalization, develop an EER model segment
to represent this situation using the traditional EER notation or Visio
notation. Remember to include a subtype discriminator.