Conceptual Data Modeling (ER and EER diagrams)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/40

flashcard set

Earn XP

Description and Tags

Midterm

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

41 Terms

1
New cards

What are the main components of the ER model?

Entities

Attributes

Relationships

2
New cards

What does an attribute type represent

Property of an entity

3
New cards

What is a simple (atomic) attribute

Cannot be divided into parts

4
New cards

Has only one value for an entity

single-valued attribute

5
New cards

Can have multiple values for an entity

Multi-valued attribute

6
New cards

Can be nested composite and multivalued attributes

Complex attribute

7
New cards

Has values from user input

Stored attribute

8
New cards

Value derived from other attributes

Derived attribute

9
New cards

May have a null value

Optional attribute

10
New cards

Must have a valid value, no NULL

Required attribute

11
New cards

Uniquely identifies instances of an entity type

inidentifier

12
New cards

What is the difference between a simple and composite identifier

Simple is a single attribute, while composite is multiple

13
New cards

Can an entity type have more than one key

Yes, can have several candidate keys

14
New cards

What is the notation for key attributes in ER diagrams

Underlined

15
New cards

How are attributes displayed in ER diagrams

In ovals connected to their entity types

16
New cards

What does a multivalued attribute type look like in ER diagrams?

Displayed in double ovals

17
New cards

How is a derived attribute represented in ER diagrams?

dotted ovals

18
New cards

What does a required attribute look like in ER diagrams

presented in bold letters

19
New cards

What does a relationship represent in the ER Model?

An association between one or more entities

20
New cards

Can relationships have attributes?

Yes, they can describe features of the association

21
New cards

What is a cardinality constraint?

Limits combinations of entity instances

22
New cards

Exists independently of other entities

Strong entity

23
New cards

Dependent on a strong entity for existence

Weak entity

24
New cards

Represents a many-to-many relationship with attributes

Associative entity

25
New cards

What is the degree of a relationship type

Number of entity types participating in it

26
New cards

What is a unary relationship

relationship type of degree 1

27
New cards

What is a binary relationship

relationship type of degree 2

28
New cards

What is a ternary relationship

Relationship type of degree 3

29
New cards

What is a n-nary relationship

Relationship type of degree n

30
New cards

Subgrouping with distinct attributes

subtype

31
New cards

Generic entity type with subtypes

Supertype

32
New cards

Defines relationship between supertype and subtypes

IS-A relationship

33
New cards

Defining subclasses starting from a superclass

Specialization

34
New cards

Defining a superclass from subclasses.

Generalization

35
New cards

A constraint that specifies whether you must be a member of a subtype

Completeness

36
New cards

What do disjointness constraints specify

Whether an instance can be in multiple subtypes

37
New cards

What does the disjoint rule state/

An instance can be a member of one subtype

38
New cards

What does the completeness constraint specify

An instance must belong to at least one subtype

39
New cards

Subclass with several possible superclasses

Category

40
New cards

Why are entity clusters used in EER diagrams

To simplify diagrams with many entities

41
New cards

What are the shortcomings of the EER model regarding temporal constrains

It cannot model time-related conditions

It cannot guarantee the consistency across multiple relationship types