Engineering Questions with Answers - Multiple Choice Questions

Database MCQ – Extended E-R Features

1 - Question

The entity set person is classified as student and employee. This process is called _________
a) Generalization
b) Specialization
c) Inheritance
d) Constraint generalization

View Answer

Answer: b
Explanation: The process of designating subgroupings within an entity set is called specialization.




2 - Question

Which relationship is used to represent a specialization entity?
a) ISA
b) AIS
c) ONIS
d) WHOIS

View Answer

Answer: a
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.




3 - Question

The refinement from an initial entity set into successive levels of entity subgroupings represents a ________ design process in which distinctions are made explicit.
a) Hierarchy
b) Bottom-up
c) Top-down
d) Radical

View Answer

Answer: c
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.




4 - Question

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
a) Commonality
b) Specialization
c) Generalization
d) Similarity

View Answer

Answer: c
Explanation: Generalization is used to emphasize the similarities among lower-level entity sets and to hide the differences.




5 - Question

If an entity set is a lower-level entity set in more than one ISA relationship, then the entity set has
a) Hierarchy
b) Multilevel inheritance
c) Single inheritance
d) Multiple inheritance

View Answer

Answer: d
Explanation: The attributes of the higher-level entity sets are said to be inherited by the lower-level entity sets.




6 - Question

A _____________ constraint requires that an entity belong to no more than one lower-level entity set.
a) Disjointness
b) Uniqueness
c) Special
d) Relational

View Answer

Answer: a
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.




7 - Question

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 _____________
a) Overlapping
b) Disjointness
c) Uniqueness
d) Relational

View Answer

Answer: a
Explanation: In overlapping generalizations, the same entity may belong to more than one lower-level entity set within a single generalization.




8 - Question

The completeness constraint may be one of the following: Total generalization or specialization, Partial generalization or specialization. Which is the default?
a) Total
b) Partial
c) Should be specified
d) Cannot be determined

View Answer

Answer: b
Explanation: Partial generalization or specialization – Some higher-level entities may not belong to any lower-level entity set.




9 - Question

Functional dependencies are a generalization of
a) Key dependencies
b) Relation dependencies
c) Database dependencies
d) None of the mentioned

View Answer

Answer: a
Explanation: The subclasses are combined to form the superclass.




10 - Question

Which of the following is another name for a weak entity?
a) Child
b) Owner
c) Dominant
d) All of the mentioned

View Answer

Answer: a
Explanation: A parent may be called as a strong entity.

Get weekly updates about new MCQs and other posts by joining 18000+ community of active learners