Professional Documents
Culture Documents
Multiple-Choice Questions:
1) _______ is the process of defining a set of subclasses of an entity type.
a) Generalization b) Expansion c) Specialization d) Division
2) _______ is the process of removing differences among several entity types, identify their
common features and creates a single superclass.
a) Generalization b) Expansion c) Specialization d) Division
4) Creating subclass by placing a condition on the value of some attribute of superclass is called
_______ subclass.
a) attribute-defined b) user-defined c) system-defined d) predicate-defined
7) _______ constraint specifies that an entity can be a member of at most one of the subclass of
the specialization.
a) overlap b) total c) partial d) disjoint
8) _______ constraint specifies that an entity can be a member of more than one subclass of the
specialization.
a) overlap b) total c) partial d) disjoint
9) _______ constraint specifies that an entity in superclass must be a member of at least one
subclass of the specialization.
a) overlap b) total c) partial d) disjoint
10) _______ constraint specifies that an entity in superclass need not belong to any of the
subclasses.
a) overlap b) total c) partial d) disjoint
11) A class that has no subclasses of its own is called ______ node.
a) root b) leaf c) middle d) weak
12) A subclass with more than one superclass leads to a _____ inheritance.
a) multiple b) single c) multi-level d) binary
13) A specialization _______ has the constraint that every subclass participates as a sublass in only
one class / subclass relationship, resulting in a tree structure.
a) lattice b) cube c) hierarchy d) graph
14) In specialization ________, a subclass can be a subclass in more than one class / subclass
relationship.
a) lattice b) cube c) hierarchy d) graph
15) A single superclass / subclass relationship with more than one superclass representing different
entity types creates subclass called as _______.
a) Intersection b) Join c) Add d) Union
TRUE or FALSE:
1. An entity can be a member of subclass but not a member of superclass. (T/F)
2. An entity can exist in any number of subclasses. (T/F)
3. Every entity in a superclass must be a member of some subclass. (T/F)
4. An entity in a subclass does not possess attributes of its superclass. (T/F)
5. There can be several specializations of same entity type. (T/F)
6. A subclass cannot have its own specific attributes and relationships. (T/F)
7. In a superclass/subclass relationship the entity in the subclass is same as the entity
in the superclass. (T/F)
8. A double line is used to represent a partial specialization in EER diagram. (T/F)
9. A superclass that was identified through the generalization process usually is total. (T/F)
10. A subclass cannot have further subclasses specified on it. (T/F)
11. An entity exists in only one leaf node of the hierarchy. (T/F)
12. In a specialization hierarchy or lattice a subclass inherits the attributes of all its
predecessor superclases all the way to the root. (T/F)
13. Existence of at least one shared subclass leads to hierarchy. (T/F)
14. A shared subclass has multiple inheritance. (T/F)
SECRETARY SECRETARY
e1 ENGINEER e1 ENGINEER
e2 e2
e3 e3
e4 e5 e4 e5
e5 e6 e5 e6
e6 e7 e6 e7
e7 e7
e8 e8
e9 e9
e10 e10
TECHNICIAN TECHNICIAN
e6
e7 e7
e8 e8
e9 e9
e10
SECRETARY
Disjoint, Total SECRETARY
Disjoint, Total
Disjoint, Partial Disjoint, Partial
e1 Overlap, Total e1 Overlap, Total
e2 e2
e3 Overlap, Partial e3
Overlap, Partial
EMPLOYEE EMPLOYEE e4
ENGINEER
e1 e1 ENGINEER
e2 e2
e3 e4 e3
e4 e5 e4 e5
e5 e6 e5 e6
e6 e7 e6
e7 e7
e8 e8
e9 e9
e10 e10
TECHNICIAN TECHNICIAN
e8
e9 e8
e10 e9
Select which of the four possible constraints on specialization apply to the following:
e1
Overlap, Total Overlap, Total
STUDENT STUDENT
Overlap, Partial Overlap, Partial
e2 e2
e1 e1
e2 e3 e2 e3
e3 e4 e3 e4
e4 e4
e5 e5
e6 e6
e7 e7
UNDERGRADUATE UNDERGRADUATE
e8 STUDENT e8 STUDENT
e5
e6 e6
e7 e7
e8 e8
e2 e4 e2 e4
e3 e5 e3 e5
e4 e4
e5 e5
e6 e6
e7 e7
UNDERGRADUATE UNDERGRADUATE
e8 STUDENT e8 STUDENT
e4 e4
e5 e5
e6 e6
e7 e7
e8
Answer the following questions based on the EER diagram of COMPANY database:
Answer the following questions based on the EER diagram of UNIVERSITY database: