Database Systems Final - ER diagram

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

30 Terms

1
New cards

What is a strong entity

An entity with its own unique primary key; exists independently

2
New cards

What is a weak entity

An entity that cannot exist without a strong entity and uses part of the strong entity’s key

3
New cards

What are the 3 notati8ons used to show a weak entity

Double rectangle (weak entity)

Double diamond (identifying relationship)

Partial identifier (dashed underline)

4
New cards

What is an identifying relationship

A relationship that connects a weak entity to its strong entity and participates in the weak entity’s primary key

5
New cards

When do you model an associative entity

When converting a many-to-many (M: N) relationship that has attributes

6
New cards

What does an associative entity do

Turns an M: N relationship into a 1: M relationships

7
New cards

both diagrams with/ without associative entities model M: N?

Yes, both are valid representations of a many-to-many relationship

8
New cards

What is a multivalued attribute

An attribute with more than one value (shown with double oval)

9
New cards

What is a composite attribute

An attribute that can be broken into smaller parts (First/ Last Name)

10
New cards

What is a derived attribute

An attribute calculated from other attributes (shown with dashed oval)

11
New cards

What does “mandatory one” mean

The entity must participate, and only once

12
New cards

What does “mandatory many” mean

The entity must participate at least once, and possible many times

13
New cards

What does “optional one” mean

Participation is optional, and if it occurs, it occurs once

14
New cards

What does “optional many” mean

Participation is optional (may be zero) and can be many

15
New cards

What does “at most” mean

Maximum number allowed (at most 3 = 0-3)

16
New cards

What does “at least” mean

Minimum number allowed (at least one = one or more)

17
New cards

What does “exactly” mean

Patriation must be that specific number

18
New cards

What is a unary relationship

A relationship with one entity related to itself

19
New cards

What is a binary relationship

A relationship involving two entities

20
New cards

What is a ternary relationship

A relationship involving three entities

21
New cards

In the STUDENT - COURSE example, what entity represents the many to many

Enrolls (associative entity)

22
New cards

What is an attribute that would belong to the associative entity ENROLLS

Grade

23
New cards

What is a non-identifying relationship

A relationship that does not help form the primary key of the child entity

24
New cards

How do you know an associative entity is needed

When an M: N relationship has attributes OR when you want to avoid direct M: N relationships

25
New cards

In ER modeling, what does the circle (O) represent

Optional participation

26
New cards

What doe the striaght line (I) symbol represent

Mandatory participation

27
New cards

What is the symbol for mandatory many

|<

28
New cards

What is the symbol for optional one

O-

29
New cards

Where should composite attributes subparts appear in the ER diagram

Inside connected ovals branching from the composite attribute

30
New cards

What is a partial identifier used for

Identifying a weak entity along with the strong entity’s key