Module 05b - Relationships and Patterns in ER Model Flashcards

1
Q

Solid line vs dashed line

A

The solid line connecting an ID-dependent entity and its parent is called an identifying relationship. The dashed line connecting strong entities or a non-ID-dependent weak entity to its parent is called a nonidentifying relationship.

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

Strong Entity vs Weak Entity

A

Most of the basic entity types are classified as strong entity types (Rectangle) – one that exists independently from other entity types (such as EMPLOYEE) Always have a unique characteristic (identifier) – an attribute or combination of attributes that uniquely distinguish each occurrence of that identity A weak entity type – existence depends on some other entity type. It has no meaning in the ER diagram without the entity on which it depends (such as DEPENDENT) The entity type on which the weak entity type depends is called the parent.

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

Weak Entities

A

A weak entity is an entity whose existence depends upon another entity. All ID-Dependent entities are considered weak.

There are also non-ID-dependent weak entities. The identifier of the parent does not appear in the identifier of the weak child entity.

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

Identifying Relationships

A

The solid line connecting an ID-dependent entity and its parent is called an identifying relationship.

The dashed line connecting strong entities or a non-ID-dependent weak entity to its parent is called a nonidentifying relationship.

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

Subtype Entities

A

A subtype entity is a special case of a supertype entity:

STUDENT : UNDERGRADATE or GRADUATE

The supertype contains all common attributes, while the subtypes contain specific attributes. The supertype may have a discriminator attribute which indicates the subtype.

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

Subtypes with discriminator

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

Exclusive vs Incluse Subtypes

A

If subtypes are exclusive, one supertype relates to at most one subtype.

If subtypes are inclusive, one supertype can relate to one or more subtypes.

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

Partial vs Total Subtypes

A

If a supertype has to be in one of the subtypes, then the subtypes are total subtypes.

If a supertype does not have to be in any of the subtypes, then the subtypes are partial subtypes.

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

Associative entity

A

An entity that holds one or more additional attributes beyond the identifiers of the parent entities is called an associative entity (or association entity)─in this case Price is the additional attribute

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

Archetype/instance pattern

A

The archetype/instance pattern occurs when the ID-dependent child entity is the physical manifestation (instance) of an abstract or logical parent.

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

Recursive relationship

A

A recursive relationship occurs when an entity has a relationship to itself.

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