Database Normalization Flashcards

1
Q

Enumeration:

Things to avoid when designing a Database

A

Repetition of Information

Inability to Represent Certain Information

Loss of Information

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

Process of applying a series of techniques and rules to a database in order to reduce data redundancy

A

Normalization

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

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

A

Normalization

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

Normalization techniques which involves
splitting a relation into two or more relations

A

Projection

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

Series of rules

A

Normal Form

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

Enumeration:

Main Goals of Normalization

A
  • Minimize data redundancy, avoid anomalies, conserve storage space
  • Simplify the enforcement of referential integrity constraints
  • Make it easier to maintain data (insert, update, delete)
  • Provide a better design that is an improved
    representation of the real world and a stronger basis for future growth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Identify the Normal Form:

Any multivalued Attribute have been removed

A

First Normal Form (1NF)

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

Identify the Normal Form:

Any functional dependencies have been removed

A

Second Normal Form (2NF)

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

Identify the Normal Form:

Any transitive dependencies have been removed

A

Third Normal Form (3NF)

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

Identify the Normal Form:

Any remaining anomalies that result from functional dependencies have been removed

A

Boyce/Codd Normal Form

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

Identify the Normal Form:

Any multivalued dependencies have been removed

A

Fourth Normal Form (4NF)

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

Identify the Normal Form:

Any remaining anomalies have been removed

A

Fifth Normal Form (5NF)

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

Constraints between two attributes or two sets of attributes

A

Functional Dependencies

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

The attribute or set of attributes that uniquely determines the value of another attribute

A

Determinant

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

The attribute whose value is determined by the another attribute

A

Dependent

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

Attribute on the left-hand side of the arrow in a functional dependency

A

Determinant

17
Q

Enumeration:

A candidate key must satisfy the following properties

A

Unique identification

Non-redundancy

18
Q

Candidate-key properties:

This property implies that each nonkey attribute is functionally dependent on that key

A

Unique identification

19
Q

Candidate-key properties:

No attribute in the key can be deleted without destroying the property of unique identification

A

Non-redundancy

20
Q

Determinants vs. Candidate Key

A

All candidate keys are determinants but not all determinants are candidate keys.

21
Q

Identify the Normal Form

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

A

First Normal Form

22
Q

Enumeration:

Anomalies in 1NF

A

Insertion
Deletion
Update

23
Q

Identify the Anomaly:

This anomaly occurs when inserting a new record into a database requires the duplication of existing data

Ex. if new product is ordered for order 1007 of existing customer, customer data must be re -entered, causing duplication

A

Insertion

24
Q

Identify the Anomaly:

This anomaly occurs when deleting a record from a database causes the loss of related data

Ex. if we delete the Dining Table from Order 1006, we lose information concerning this item’s finish and price

A

Deletion

25
Q

Identify the Anomaly:

This anomaly occurs when modifying data in one part of a database requires multiple changes in other parts of the database

Ex. changing the price of product ID 4 requires update in several records

A

Update

26
Q

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

A

Third Normal Form

27
Q

A functional dependency between two (or more) nonkey attributes

A

Transitive Dependency

28
Q

Attribute, or combination of attributes, that can uniquely identify a row in a relation

A

Candidate Keys

29
Q

Occurs when an attribute (or a set of attributes) within a relation depends on only a part of the composite primary key rather than the entire primary key

A

Partial Dependency

30
Q

occurs when an attribute (or a set of attributes) within a relation depends on the entire primary key

A

Full Dependency