Ch 4 Flashcards

1
Q

Required attribute

A

A required attribute is an attribute that must have a value, i.e. it cannot be left empty.

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

Optional attribute

A

An optional attribute is an attribute that does not need to have a value, i.e. it can be left empty.

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

Composite attribute

A

A composite attribute, not to be confused with a composite key, is an attribute that can be further subdivided to yield additional attributes.

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

Simple attribute

A

A simple attribute is an attribute that cannot be subdivided.

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

Single-valued attribute

A

A single-valued attribute is an attribute that can only have a single value. E.g. social security numbers, serial numbers.

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

Multivalued attributes

A

Multivalued attributes are attributes that can have many values. E.g. college degrees (you can have many different ones).

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

Derived attribute

A

A derived attribute is an attribute whose value is derived (calculated) from other attributes.

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

Participants

A

The entities that participate in a relationship are known as participants.

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

Cardinality

A

Cardinality expresses the minimum and maximum number of entity occurrences associated 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-dependency

A

An entity is said to be existence-dependent if it can exist in the database only when it is associated with another related entity occurrence.

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

Existence-independence

A

If an entity can exist apart from all of its related entities, then it is existence-independent.

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

Strong/regular entity

A

Entities that are existence-independent are strong (or regular) entities.

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

Weak/non-identifying relationship

A

A weak relationship, also known as a non-identifying relationship, exists if 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

A strong relationship, also known as an identifying relationship, exists when the primary key of the related entity contains a primary key component of the parent entity.

17
Q

Weak entity

A

A weak entity is one that meets two conditions:

1) The entity is existence-dependent; it cannot exist without the entity with which it has a relationship.
2) The entity has a primary key that is partially or totally derived from the parent entity in the relationship.

18
Q

Optional participation

A

Optional participation means that one entity occurrence does not require a corresponding entity occurrence in a particular relationship.

19
Q

Mandatory participation

A

Mandatory participation means that one entity requires a corresponding entity occurrence in a particular relationship.

20
Q

Relationship degree

A

A relationship degree indicates the number of entities or participants associated with a relationship.

21
Q

Unary relationship

A

A unary relationship exists when an association is maintained within a single entity.

22
Q

Binary relationship

A

A binary relationship exists when two entities are associated.

23
Q

Ternary relationship

A

A ternary relationship exists when three entities are associated.

24
Q

Recursive relationship

A

A recursive relationship is one in which a relationship can exist between occurrences of the same entity set (naturally, such a condition is found within a unary relationship).

25
Q

Steps to build an ERD

A
  1. Create detailed narrative of organization’s descriptions of operations.
  2. Identify the business rules based on the description of operations.
  3. Identify the main entities and relationships from the business rules.
  4. Develop the initial ERD.
  5. Identify attributes and primary keys that adequately describe the entities.
  6. Revise and review the ERD.