MIDTERMS Flashcards

1
Q

is a database design technique that organizes tables in a manner that reduces redundancy and dependency of data

A

Normalization

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

Divides larger tables into smaller tables and links them using relationships

A

Normalization

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

The purpose of ___ is to eliminate _____ (___) data and ensure data is stored logically

A

Normalization

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

Three main rules for normalizing data

A

Eliminate repeating data

Eliminate partial dependencies

Eliminate transitive dependencies

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

This rule is all about disallowing multivalued attributes

A

Eliminating repeating data

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

This refers to situations where the key for a table is a composite primary key, which means a key composed of MULTIPLE COLUMNS

A

Eliminating partial dependencies

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

This refers to situations where in a column in the table refers to a non-key column instead of referring to the primary key of a table

A

Eliminate transitive dependencies

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

PROBLEMS that can occur in poorly planned, unnormalized data bases where all the data is stored in one table (flat-file database)

A

Anomaly

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

Types of anomalies

A

Insert
Delete
Update

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

States that the domain of an attribute must include only atomic values and that the value of any attribute in a row must be single

Atomic value pertains to the built-in atomic data types

ACID

A

First normal form

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

ACID MEANING

A

ATOMICITY
CONSISTENCY
ISOLATION
DURABILITY

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

According to EF CODD, a relation is in __NF if it satisfies the following conditions

The table should be in the first normal form
there should be no partial dependency

A

Second normal form

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

The attributes which are used to form a candidate key are called ___ attributes

A

Prime attribute

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

The attributes which do not form a candidate key are called ___ attributes

A

Non-prime attribute

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

___ dependency is a concept that specifies the relationship between two sets of attributes where one attribute determines the value of another attribute

A

Functional dependency

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

____ dependency is a specific type of dependency that happens in table with a composite primary key (a primary key made up of two columns)

A

partial dependency

17
Q

According to the EF CODD, a relation is in ____ normal form if it satisfies the following:

It should be in second normal form

it should not have transitive dependencies

All transitive dependencies are removed to place in another table

A

Third normal form (3NF)

18
Q
A