CIS 3050 Chapter 4 Terms and Definitions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

30 Terms

1
New cards

Relation

A named, two-dimensional table of data.

2
New cards

Primary key

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

3
New cards

Composite key

A primary key that consists of more than one attribute.

4
New cards

Foreign key

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

5
New cards

Null

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

6
New cards

Entity integrity rule

A rule that states that no primary key attribute (or component of a primary key attribute) may be null.

7
New cards

Referential integrity constraint

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.

8
New cards

Well-structured relation

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

9
New cards

Anomaly

An error or inconsistency that may result when a user attempts to update a table that contains redundant data. The three types of anomalies are insertion, deletion, and modification anomalies.

10
New cards

Recursive foreign key

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

11
New cards

Normalization

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

12
New cards

Normal form

A state of a relation that requires that certain rules regarding relationships between attributes (or functional dependencies) are satisfied.

13
New cards

Functional dependency

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

14
New cards

Determinant

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

15
New cards

Candidate key

An attribute, or combination of attributes, that uniquely identifies a row in a relation.

16
New cards

First normal form (1NF)

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

17
New cards

Second normal form (2NF)

A relation in first normal form in which every nonkey attribute is fully functionally dependent on the primary key.

18
New cards

Partial functional dependency

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

19
New cards

Third normal form (3NF)

A relation that is in second normal form and has no transitive dependencies.

20
New cards

Transitive dependency

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

21
New cards

Synonyms

Two (or more) attributes that have different names but the same meaning.

22
New cards

Alias

An alternative name used for an attribute.

23
New cards

Homonym

An attribute that may have more than one meaning.

24
New cards

Enterprise key

A primary key whose value is unique across all relations.

25
New cards

Data integrity

Mechanisms for implementing business rules that maintain integrity of manipulated data

26
New cards

Domain Constraints

Allowable values for an attribute (includes data types and restrictions on values)

27
New cards

Insertion Anomaly

adding new rows forces user to create duplicate data

28
New cards

Deletion Anomaly

deleting rows may cause a loss of data that would be needed for other future rows

29
New cards

Modification Anomaly

changing data in a row forces changes to other rows because of duplication

30
New cards

Surrogate Primary Key

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