Engineering Questions with Answers - Multiple Choice Questions
Database MCQ – Extended E-R Features
The entity set person is classified as student and employee. This process is called _________
d) Constraint generalization
Explanation: The process of designating subgroupings within an entity set is called specialization.
Which relationship is used to represent a specialization entity?
Explanation: In terms of an E-R diagram, specialization is depicted by a hollow arrow-head pointing from the specialized entity to the other entity.
The refinement from an initial entity set into successive levels of entity subgroupings represents a ________ design process in which distinctions are made explicit.
Explanation: The design process may also proceed in a bottom-up manner, in which multiple entity sets are synthesized into a higher-level entity set on the basis of common features.
There are similarities between the instructor entity set and the secretary entity set in the sense that they have several attributes that are conceptually the same across the two entity sets: namely, the identifier, name, and salary attributes. This process is called
Explanation: Generalization is used to emphasize the similarities among lower-level entity sets and to hide the differences.
If an entity set is a lower-level entity set in more than one ISA relationship, then the entity set has
b) Multilevel inheritance
c) Single inheritance
d) Multiple inheritance
Explanation: The attributes of the higher-level entity sets are said to be inherited by the lower-level entity sets.
A _____________ constraint requires that an entity belong to no more than one lower-level entity set.
Explanation: For example, student entity can satisfy only one condition for the student type attribute; an entity can be either a graduate student or an undergraduate student, but cannot be both.
Consider the employee work-team example, and assume that certain employees participate in more than one work team. A given employee may therefore appear in more than one of the team entity sets that are lower level entity sets of employee. Thus, the generalization is _____________
Explanation: In overlapping generalizations, the same entity may belong to more than one lower-level entity set within a single generalization.
The completeness constraint may be one of the following: Total generalization or specialization, Partial generalization or specialization. Which is the default?
c) Should be specified
d) Cannot be determined
Explanation: Partial generalization or specialization – Some higher-level entities may not belong to any lower-level entity set.
Functional dependencies are a generalization of
a) Key dependencies
b) Relation dependencies
c) Database dependencies
d) None of the mentioned
Explanation: The subclasses are combined to form the superclass.
Which of the following is another name for a weak entity?
d) All of the mentioned
Explanation: A parent may be called as a strong entity.