Chapter 4 - Entity Relationship Modelling (ERM) Flashcards

(31 cards)

1
Q

Entities

A

🐷Refers to entity set and not to single entity occurrence
🐷Corresponds to table and not to row in relational environment
🐷In Chen and Crow’s Foot models, entity is represented by rectangle with entity’s name
🐷The entity name, a noun, is written in capital letters

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

Attributes

A
  • Characteristics of entities
  • Chen notation: Ovals containing its names connected to entity rectangle with a line.
    Crow’s foot notation: attributes written in attribute box below entity rectangle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Required attribute

A

Must have a value

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

Optional attribute

A

may be left empty

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

Domain

A

Set of possible values for an attribute

- Attributes may share the same domain

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

Identifiers

A

One or more attributes that uniquely identify each entity instance

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

Composite identifier

A

Primary key composed of more than one attribute

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

Which attribute can be subdivided?

A

Composite attribute

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

Which attribute cannot be subdivided?

A

Simple attribute

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

Single-value attribute

A

can have only a single value

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

Multivalued attribute

A

can have many values

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

Derived attribute

A
  • value may be calculated from other attributes

- need not to physically stored within database

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

Participants

A

are entities that participate in a relationship

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

Connectivity

A

describe the relationship classification

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

Cardinality

A

expresses minimum and maximum number of entity occurrences associated with one occurrence of related entity

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

Existence dependence

A

Entity exists in database only when it is associated with another related entity occurrence

17
Q

Existence independence

A

can exist apart from one or more related entities

-referred to as a strong or regular entity

18
Q

Weak (non-identifying) relationships

A

Exists if PK of related entity does not contain PK component of parent entity

19
Q

Strong (identifying) relationships

A

Exists when PK of related entity contains PK component of parent entity

20
Q

Weak Entities

A
  • Existence-dependent

- Primary key partially or totally derived from parent entity in relationship

21
Q

Optional participation

A

– One entity occurrence does not require corresponding entity occurrence in particular relationship

22
Q

Mandatory participation

A

– One entity occurrence requires corresponding entity occurrence in particular relationship

23
Q

Relationship Degree

A

the number of entities or participants associated with a relationship

24
Q

Unary relationship

A

Association is maintained within single entity

25
Binary relationship
Two entities are associated
26
Ternary relationship
Three entities are associated
27
Recursive Relationships
Relationship can exist between occurrences of the same entity set –Naturally found within unary relationship
28
Associative (Composite) Entities
- Also known as bridge entities - Used to implement M:N relationships - Composed of primary keys of each of the entities to be connected - May also contain additional attributes that play no role in connective process
29
relational schema
table structure
30
iterative process
A process based on repetition of steps and procedures.
31
Building an ERD usually involves the following activities:
- Create detailed narrative of organization’s description of operations - Identify business rules based on description of operations - Identify main entities and relationships from business rules - Develop initial ERD - Identify attributes and primary keys that adequately describe entities - Revise and review ERD