Normalisation Flashcards

1
Q

State 3 ways redundancies can be minimised

A
  1. Closely related attributes are found in the same relation (table).
  2. Each relation contains aminimumnumber of attributes
  3. Each attribute value is stored aminimumnumber of times (ideally only once)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What would insertion anomalies consist of?

A

two inconsistent records containing conflicting data with no indication of which one is correct.

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

What would deletion anomalies consist of?

A

lost data from the database, and records are no longer complete.

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

What would modification anomalies consist of?

A

If any related row is missed in the modification of data, we are again left with inconsistent data.

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

What is a functional dependancy?

A

Functional dependency is a relationship that exists when one attribute uniquely determines another attribute.

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

What is the definition of Normalisation?

A

The procedure for refining database structures.

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

What is the aim of Normalisation?

A

To eliminate redundancy.

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

What are the conditions that must be met for data to be in First Normal Form?

A
  1. All attributes must be atomic
  2. There must be no repeating groups of attributes
  3. There must be a primary key
  4. All non-key attributes must be functionally dependent on the primary key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the conditions that must be met for data to be in Second Normal Form?

A

There must be no partial dependencies

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

What are the conditions that must be met for data to be in Third Normal Form?

A

There must be no transitive dependencies

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

What is a Surrogate (Synthetic) key?

A

A serial number or code with no intrinsic meaning added to provide a single unique attribute to be the primary key

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

What can a Data Warehouse be used for?

A

Designed for high data volumes and quick reporting

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