Questions: ER Model: Weak Entities and Specialization Hierarchies

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A database models course sections, where each section is identified by a number (1, 2, 3) unique only within a specific course. How should this be modeled?

ASection as a regular entity with section number as its primary key
BSection as a weak entity with section number as its partial key and Course as its identifying owner
CSection as a weak entity with course ID as its primary key
DSection as an attribute of the Course entity
Question 2 Multiple Choice

A university models Person with subclasses Student and Faculty. Queries almost always access only Student-specific attributes for one subclass at a time. Which ISA mapping strategy minimizes joins for these queries?

ASeparate tables for Person, Student, and Faculty — Student references Person via foreign key
BOne table per subclass only, with shared Person attributes duplicated in each
CA single combined table with a type discriminator and nullable columns for subclass attributes
DAll three strategies produce equivalent join costs for this query pattern
Question 3 True / False

When a weak entity's identifying strong entity is deleted, the weak entities it owns should also be deleted.

TTrue
FFalse
Question 4 True / False

In an ISA hierarchy, 'total' specialization means that nearly every subclass entity is expected to belong to nearly every superclass.

TTrue
FFalse
Question 5 Short Answer

Why does a weak entity use a partial key rather than its own full primary key?

Think about your answer, then reveal below.