Entity Relationship Modeling (Week 2) Flashcards

(25 cards)

1
Q

Entities

A

Object of interest to the end user

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

Entity Instance / Occurence

A

A table row in ERM

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

Attributes

A

Characteristics of Entities (columns in table)

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

Required Attribute

A

Attributes that must have a value

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

Optional Attribute

A

Attribute that does not require a value

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

Domain

A

A set of possible values for a given attribute

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

Identifiers

A

One or more attributes that uniquely identify each entity instance (Primary Key)

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

Composite Identifier

A

A primary key composed of more than one attribute

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

Derived/Computed Attribute

A

Attribute whose value is calculated (derived) from other attributes via an algorithm (not physically stored within the database)

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

Participants

A

Entities that participate in a relationship

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

Cardinality

A

Expresses the minimum and maximum number of entity occurrences with one occurrence of the related entity

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

Existence - Dependent

A

A property of an entity whose existence depends on one or more other entities

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

Existence - Independent

A

A property of an entity that can exist apart from one or more related entities

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

Strong entity

A

An entity that is existence-independent, can exist apart from all of its related entities

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

Weak (Non-Identifying) Relationships

A

A relationship in which the primary key of the related entity does not contain a primary key component of the parent entity

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

Strong (Identifying) Relationship

A

Exist when the primary key of the related entities contain a primary key component of the parent entity

17
Q

Weak Entity

A

An entity that displays existence dependence and inherits the primary key of its parent entity

18
Q

Relationship Degree

A

Number of entities or participants associated with a relationship. Can be unary, binary, temary or higher

19
Q

Unary Relationship

A

Describe an association within an entity i.e. Employee might manage another employee

20
Q

Binary Relationship

A

Relationship between two entities

21
Q

Ternary Relationship

A

Relationship between three entities i.e. Doctor, Drug & Patient

22
Q

Recursive Relationship

A

A relationship can exist between occurrences of the same entity set

23
Q

Single-Valued Attributes

A

An attribute with a single value i.e. serial number

Cannot be subdivided into meaningful components

24
Q

Multivalued Attributes

A

Have many values

An attribute that can have many values for a single entity occurrence

I.e. Degree, can have various strings i.e. BBA, MBA, PHD

25
Composite Attribute
An attribute that can be further subdivided to yield additional attributes i.e. phone number can divide into area code