FINALS Flashcards
Inheritance in a generalization hierarchy means that the supertype entity inherits all the attributes of the subtype entity.
Select one:
a. True
b. False
False
Which of the following is an example of a partial completeness constraint?
Select one:
a. A supertype “Pet” has subtypes “Dog,” “Cat,” and “Fish.” Each subtype can have any number of pets, including none.
b. A supertype “Building” has subtypes “House” and “Office.” Not all buildings must belong to one of these subtypes.
c. A supertype “Clothing” has subtypes “Shirt,” “Pants,” and “Dress.” Each piece of clothing must either be of the subtypes.
A supertype “Building” has subtypes “House” and “Office.” Not all buildings must belong to one of these subtypes.
Which of the following is an example of a partial completeness constraint?
Select one:
a. A supertype “Fruit” has subtypes “Apple” and “Orange.” All fruits must must either be of the subtypes.
b. A supertype “Shape” has subtypes “Circle,” “Square,” and “Triangle.” Not all shapes must belong to one of these subtypes.
c. A supertype “Employee” has subtypes “Manager” and “Worker.” Each subtype can have any number of employees, including none.
A supertype “Shape” has subtypes “Circle,” “Square,” and “Triangle.” Not all shapes must belong to one of these subtypes.
All weak entities must have a minimum cardinality of 1 on the entity on which it depends.
Select one:
a. False
b. True
True
Specifies that an entity instance can simultaneously be a member of two (or more) subtypes.
Select one:
a. anchor object
b. disjoint rule
c. overlap rule
overlap rule
A generic or template data model that can be reused as a starting point for a data modeling project.
Select one:
a. action assertion
b. total specialization rule
c. universal data model
universal data model
A supertype should have at least two subtypes.
Select one:
a. True
b. False
True
Which of the following is an example of a total completeness constraint?
Select one:
a. A supertype “Person” has subtypes “Employee” and “Manager.” Not all people must belong to one of these subtypes.
b. A supertype “Vehicle” has subtypes “Car,” “Truck,” and “Boat.” Each subtype can have any number of vehicles, including none.
c. A supertype “Animal” has subtypes “Cat,” “Dog,” and “Bird.” All animals must belong to one of these subtypes.
A supertype “Animal” has subtypes “Cat,” “Dog,” and “Bird.” All animals must belong to one of these subtypes.
All instances of the subtypes must be an instance of the supertype.
Select one:
a. FALSE
b. TRUE
TRUE
Specifies the number of instances of one entity that can (or must) be associated with each instance of another entity.
Select one:
a. weak entity
b. cardinality constraint
c. business rule
cardinality constraint
Which of the following is an example of a partial completeness constraint?
Select one:
a. A supertype “Color” has subtypes “Red,” “Blue,” and “Green.” Not all colors must belong to one of these subtypes.
b. A supertype “Document” has subtypes “Invoice,” “Receipt,” and “Quote.” Each subtype can have any number of documents, including none.
c. A supertype “Sport” has subtypes “Basketball,” “Football,” and “Baseball.” Each sport must must either be of the subtypes.
A supertype “Color” has subtypes “Red,” “Blue,” and “Green.” Not all colors must belong to one of these subtypes.
Specifies that if an entity instance (of the supertype) is a member of one subtype, it cannot simultaneously be a member of two (or more) subtypes.
Select one:
a. disjoint rule
b. anchor object
c. overlap rule
disjoint rule
A generic entity type that has a relationship with one or more subtypes.
Select one:
a. subtype
b. supertype
supertype
Which of the following is an example of a total completeness constraint?
Select one:
a. A supertype “Furniture” has subtypes “Couch,” “Chair,” and “Table.” Each subtype can have any number of pieces of furniture, including none.
b. A supertype “Person” has subtypes “Teacher,” “Student,” and “Administrator.” All people must belong to one of these subtypes.
c. A supertype “Vehicle” has subtypes “Car,” “Motorcycle,” and “Bicycle.” Not all vehicles must belong to one of these subtypes.
A supertype “Person” has subtypes “Teacher,” “Student,” and “Administrator.” All people must belong to one of these subtypes
Which of the following is an example of a total completeness constraint?
Select one:
a. A supertype “Food” has subtypes “Meat,” “Vegetables,” and “Fruits.” All types of food must belong to one of these subtypes.
b. A supertype “Device” has subtypes “Phone,” “Tablet,” and “Laptop.” Not all devices must belong to one of these subtypes.
c. A supertype “Animal” has subtypes “Mammals,” “Reptiles,” and “Fish.” Each subtype can have any number of animals, including none.
A supertype “Food” has subtypes “Meat,” “Vegetables,” and “Fruits.” All types of food must belong to one of these subtypes.