Chapter 4 Vocab Flashcards

1
Q

Relation

A

a named 2D table of data

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

Primary Key

A

an attribute or a combination of attributes that uniquely identifies each row in a relation

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

Composite Key

A

a primary key that consists of more than one attribute

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

Foreign Key

A

an attribute in a relation that serves as the primary key of another relation in the same database

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

Null

A

a value that may be assigned to an attribute when no other value applies or when the applicable value is unknown

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

Entity Integrity Rule

A

a rule that states that no primary key attribute may be a null

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

Referential Integrity Constraint

A

a rule that states that either each foreign key value must match a primary key value in another relation or the foreign key value must be null

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

Well-Structured Relation

A

a relation the contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without errors or inconsistencies

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

Anomaly

A
an error that may result when a user attempts to update a table that contains redundant data
   3 Types of Error
          1. Insertion
          2. Deletion
          3. Modification Anomaly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Surrogate Primary Key

A

a serial number or other system-assigned primary key for a relation

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

Recursive Foreign Key

A

a foreign key in a relation that references the primary key values of the same relation

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

Normalization

A

the process of decomposing relations with anomalies to produce smaller, well-structured relations

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

Normal Form

A

a state of a relation that requires that certain rules regarding relationships between attributes are satisfied

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

Functional Dependency

A

a constraint between two attributes in which the value of one attribute is determined by the value of another attribute

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

Determinant

A

the attribute on the left side of the arrow in a functional dependency

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

Candidate Key

A

an attribute or combination of attributes that uniquely identifies a row in a relation

17
Q

First Normal Form (1NF)

A

a relation that has a primary key and in which there are no repeating groups

18
Q

Second Normal Form (2NF)

A

a relation in 1NF in which every nonkey attribute is functionally dependent on the primary key

19
Q

Partial Functional Dependency

A

a functional dependency in which one or more nonkey attributes are functionally dependent on part (but not all) of the primary key

20
Q

Third Normal Form (3NF)

A

a relation that is in 2NF and has no transitive dendendencies

21
Q

Transitive Dependency

A

a functional dependency between the primary key and one or more nonkey attributes that are dependent on the primary key via another nonkey attribute

22
Q

Synonyms

A

two or more attributes that have different names but the same meaning

23
Q

Alias

A

an alternative name used for an attribute

24
Q

Homonym

A

an attribute that may have more than one meaning

25
Q

Enterprise Key

A

a primary key whose value is unique across all relations