Functional Dependencies Flashcards

1
Q

What does a functional dependency describe?

A

The relationship between attributes

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

What is a functional dependency that holds?

A

When in a relation R, the relationship can be described using a functional dependency. However, these dependencies may not hold for all instances of relation R

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

What is a trivial functional dependency?

A

a -> B is trivial if (B subset or == A)

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

What is a partial functional dependency?

A

A partial functional dependency exists if you can remove an attribute from a and the dependency a -> B still exists.

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

What is a full functional dependency?

A

B is fully functionally dependent on a if removing any attribute from a results in the dependency no longer existing.

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

What is a transitive dependency?

A

Describes a condition where A, B and C are sets of attributes of a relation such that if A -> B and B -> then
A->B transitively

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

Closures are important, why?

A

Given a set of functional dependencies, F, there are certain other functional dependences that are logically implied by F. This is important in normalization

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

How do we define reflexivity?

A

If B (subset or ==) a, then a -> b

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

How do we define augmentation?

A

if a -> B, then ya -> yb

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

What is a formal definition of a closure?

A

If a -> B is in F+ then B (subset or eqaul to) a+

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