IS201: Database Theory - Entity Relationship modelling

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:30 AM on 4/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

ERM (entity relationship model)

  • Forms basis of ERD (Entity relationship diagram)

  • Represents the conceptual database viewed by end user

<ul><li><p>Forms basis of ERD (Entity relationship diagram)</p></li><li><p>Represents the conceptual database viewed by end user</p></li></ul><p></p><p></p><p></p><p></p>
2
New cards

ERD Main components

  • Entities

  • Attributes

  • Relationships

3
New cards

Required attribute

An attribute that must have a value and cannot be left empty

4
New cards

Optional attribute

Does not require a value and can be left empty

5
New cards

Single-valued attribute

An attribute that has only a single value

6
New cards

Multivalued attribute

Attributes that have many values

7
New cards

Derived attribute

An attribute whose value is calculated from other attributes

8
New cards

Connectivity

describes the relationship classification (1:1, 1:M, M:N)

9
New cards

Cardinality

  • Expresses the min and max number of entity occurrences associated with one occurrence of the related entity

    • Format: x (min), y (max)

10
New cards

Existence dependence (weak entity)

  • An entity that can exist in the database only when associated with another related entity

  • entity has a mandatory foreign key

11
New cards

Weak (non-identifying) relationship

  • Represented by dashed line

  • Exists if primary key of related entity does not contain primary key component of parent entity

  • occurs between two strong entities

12
New cards

Strong (identifying) relationship

  • Represented by solid line

  • Primary key of related entity contains a primary key component of the parent entity

  • occurs between one strong and one weak entity

13
New cards

Conditions for an entity to be classified as weak

  • Entity is existence-dependent

  • Has a primary key partially or totally derived from the parent entity

14
New cards

Types of relationship participation

Optional and mandatory participation

15
New cards

Optional participation

One entity occurrence does not require a corresponding entity occurrence in a relationship

16
New cards

Mandatory participation

One entity occurrence requires a corresponding entity occurrence

17
New cards

Relationship degrees

Indicates the number of entries/participants associated with a relationship

18
New cards

Types of relationship degrees

  • Unary relationship

  • Binary relationship

  • Ternary relationship

  • Recursive relationships (where it maintains multiple versions of itself basically)

19
New cards

Associative (composite/bridge) entity

  • Used to represent an M:N relationship by breaking it into 2 1:M relationships

  • Composed of the primary key attributes of each parent entity