Question: Categorize the following relationships into generalization, aggregation, or association. Beware, there may be n-ary associations in the list, so do not assume every relationship involving

Categorize the following relationships into generalization, aggregation, or association. Beware, there may be n-ary associations in the list, so do not assume every relationship involving three or more classes is a generalization. Explain your answers.

a. A country has a capital city.

b. A dining philosopher uses a fork.

c. A file is an ordinary file or a directory file.

d. Files contain records.

e. A polygon is composed of an ordered set of points.

f. A drawing object is text, a geometrical object, or a group.

g. A person uses a computer language on a project.

h. Modems and keyboards are input/output devices.

i. Classes may have several attributes.

j. A person plays for a team in a certain year.

k. A route connects two cities.

l. A student takes a course from a professor.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!