3. Enhanced ERD Flashcards

1
Q

What is an enhanced ER model?

A

An enhanced ER model extends the original ER model with additional modeling constructs, such as supertypes and subtypes, to capture more detailed data relationships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a subtype in database modeling?

A

A subtype is a subgrouping of entities within an entity type that possesses distinct attributes not shared by other subgroupings, while inheriting all attributes from its supertype.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a supertype in database modeling?

A

A supertype is a generic entity type that contains common attributes shared by its subtypes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is attribute inheritance in the context of supertypes and subtypes?

A

Subtype entities inherit all the attributes of their supertype, meaning any instance of a subtype is also an instance of the supertype.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How are relationships handled between supertypes and subtypes?

A

Relationships defined at the supertype level apply to all subtypes, while relationships unique to specific subtypes are modeled at the subtype level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is generalization in ER modeling?

A

Generalization is a bottom-up process of defining a more general entity type from several specialized entity types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is specialization in ER modeling?

A

Specialization is a top-down process of creating one or more subtypes from a supertype to capture attributes unique to each subgroup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are completeness constraints in supertypes/subtypes relationships?

A

Completeness constraints determine whether every instance of a supertype must also be a member of at least one subtype (total specialization) or if membership is optional (partial specialization).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are disjointness constraints in supertypes/subtypes relationships?

A

Disjointness constraints specify whether an instance of a supertype can belong to only one subtype (disjoint rule) or to multiple subtypes (overlap rule).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a subtype discriminator?

A

A subtype discriminator is an attribute of the supertype whose value determines the specific subtype an instance belongs to, and it can be defined as simple or composite.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why are subtypes used in relational database modeling?

A

Subtypes are used to represent common data with additional specific attributes, enforce referential integrity, improve query performance, and reduce the occurrence of null values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do supertypes and subtypes improve data modeling?

A

They allow for a clear separation of common and unique attributes, leading to a more organized, efficient, and maintainable database schema.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly