Exam 1-Chapter 4 Flashcards

1
Q

The Entity Relationship Model (ERM)

A
  • ERD represents conceptual database as viewed by end user

- ERDs depict database’s main components: entities, attributes, relationship

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

Entities

A

Refers to eneity set and not to a 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; entity name, a noun, written in capital letters

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

Attirbutes

A

Characteristics of entities; Chen notation; attributes represented by ovals connected to entity rectangle with a line (each oval contains the name of attribute it represents; 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
4
Q

Required Attribute

A

Must have a value’ boldfaced in Crow’s Foot notation

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

Optional Attribute

A

May be left empty

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

Domain

A

Set of possible values for an attribute; attributes may share a domain

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

Identifiers (Primary Keys)

A

One or more attributes that uniquely identify each entity instance; boldfaced and underlined in the table structure

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

Compostie Identifer

A

Primary key composed fo more than one attribute

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

Composite Attribute

A

Can be subdivided

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

Simple Attribute

A

Cannot be subdivided

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
Q

Multivalued Attributes

A

Can have many values (double lines in the Chen ERM; Not identified in Crow’s Foot)
M:N relationships and multivaled attributes should not be implemented in the RDBMS

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

Derived (Computed) Attribute

A

Vale may be calculated from otehr attributes; need not be physically stored within database

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

Relationships

A

Association between entities; Participants are entities that participate in a relationship; relationship name is a verb; relationships between entities always operate in both directions

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

Connectivity

A

Describes the relationship classification (type)

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

Cardinality

A

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

17
Q

Existence Dependence

A

entity exists in database only when it is associated with another related entity occurrence
It has a mandatory foreign key attribute that cannot be null

18
Q

Existence Idependence

A

Entity can exist apart from one or more related entities

Sometimes such an entity is referred to as a strong or regular entity

19
Q

Weak (Non-Identifying) Relationship

A

Exists if the PK of the related entity does not contain a PK component of the parent entity (i.e., the foreign key is not part of the primary key)
Dashed line in Crow’s Foot

20
Q

Strong (Identifying) Relationship

A

Exists when the PK of the related entity contains a PK component of the parent entity
Solid line in Crow’s Foot

21
Q

Weak Entities

A

Meet two conditions (is existence-dependent=it cannot exist without the entity with which it has a relationship; its primary key is partially or totally derived from parent entity in relationship)
A strong relationship indicates that the related entity is weak
Database designer determines whether an entity is weak based on business rules

22
Q

Optional Participation (in a relationship)

A

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

23
Q

Mandatory Participation

A

One entity occurrence requires corresponding entity occurrence in particular relationship

24
Q

Unary Relationship

A

Association is maintained within single entity

25
Q

Binary Relationship

A

Two entities are associated

26
Q

Ternary Relationship

A

Three entities are associated

27
Q

Associative (Composite) Entities

A

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