Supertype and Subtype
From the book I Am Datapedia!, published here free by the author.
Part of I Am Datapedia!
Questions 1–10 of 10
1. In data modelling, what is a supertype?
2. In data modelling, what is a subtype?
3. In the Vehicle example, which attributes belong to the supertype?
4. In the Vehicle example, which attributes might the Car subtype add beyond those it inherits?
5. What benefit does inheritance provide when subtypes inherit attributes from a supertype?
6. What does completeness describe in the supertype and subtype relationship?
7. In the Employee example, which are the subtypes?
8. Which pairing correctly matches the modelling terms with their roles?
9. Which of the following is NOT true of a subtype?
10. In summary, why are supertypes and subtypes used in data modelling?