Entity Relationship Model - Relations Flashcards

(6 cards)

1
Q

Cardinality

A

Is the min and max number of entity occurrences associated with one occurrence of the related entities

  • E.g. you may not want more than 30 students in 1 class
  • The cardinality can be expressed as (1,N) when there is no upper limit on the number of instance relations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Existence-Dependent meaning

A

when an entity can only exist when the associated entity exists

(in implementation terms: the FK cannot be empty)

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

Existence-Independent meaning

A

when an entity can exist apart from all related entities

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

Weak (non-identifying) Relationship Strength

A

when the PK of an entity contains a primary key component of the parent entity

Furthermore - it must be existence-dependent, it cannot exist without the entity in which it has the relationship

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

Strong (identifying) Relationship Strength

A

when the PK of an entity does not contain the primary key of a parent element

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

Relationship participation

A

Relationships can be mandatory or optional - if they are optional, then one entity does not require an associated related entity

This will be reflected in the Cardinality of the relationship (if it’s optional, it’ll be (0, x)

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