Certain Answers Flashcards

1
Q

In a Codd table, all NULLs are replaced with ________

A

variables/constants

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

An incomplete database is a set of _____ tables

A

Codd

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

An incomplete database represents infinitely many ______ _____

A

possible worlds

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

A possible world is obtained by replacing ______ with actual values

A

NULLs

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

A certain answer always gives the same results _________ of how we instantiate the NULLs

A

independent

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

In naive implementation of querying incomplete DBs, we treat the variables/NULLs as _______

A

constants

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

In naive implementation of querying incomplete DBs, problems arise with ______

A

negation

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

SQL does not use ______ evaluation in comparisons

A

naive

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

You can never trust the answers you get from a database with _____

A

NULLS

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

When talking about correctness in SQL, what does Q+ and Q? represent?

A

Q+ approximates certain answers

Q? represents possible answers

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

cert(Q,D) is a subset of ___ and is a superset of ___

A

Q?, Q+

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

REVIEW CORRECTNESS IN SQL: TRANSLATION SLIDE

A

REVIEW CORRECTNESS IN SQL: TRANSLATION SLIDE

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

The way SQL handles incomplete data is _______, ________, and _____

A

ambiguous, inconsistent, incorrect

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