Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
31 Cards in this Set
- Front
- Back
A relation is a three-dimensional table (T/F)
|
False
|
|
A tuple is a group of one or more columns that uniquely identifies a row. (T/F)
|
False
|
|
In the functional dependency shown as A -> B, B is the determinant. (T/F)
|
False
|
|
Functional dependencies can involve groups of attributes. (T/F)
|
True
|
|
A key can be composed of a group of attributes taken together (T/F)
|
True
|
|
Surrogate keys are normally not shown on forms or reports. (T/F)
|
True
|
|
A relation is in 4NF when multivalued dependencies are isolated in their own relation. (T/F)
|
True
|
|
The cast operator explicitly converts an expression from on data type to a different data type. (T/F)
|
True
|
|
The optional INSERT clause of the SELECT statement is used to create temporary tables. (T/F)
|
False
|
|
If the removal of facts about one entity results in the unintentional lose of data about another entity, this is referred to as a(n) ____.
a) normalization anomaly b) insertion anomaly c) update anomaly d) deletion anomaly e) removal anomaly |
d) deletion anomaly
|
|
A table that meets the definition of a relation is in ______.
a) First Normal Form b) Second Normal Form c) Third Normal Form d) Boyce-Codd Normal Form e) Fourth Normal Form |
a. First Normal Form
|
|
A relation is in Boyce-Cott normal form if _____.
a) every determinant is a candidate key. b) every determinant is a primary key c) every attribute is a candidate key d) there is more than one candidate key e) there is more than one primary key |
a) every determinant is a candidate key
|
|
If a table is designed so that every determinant is a candidate key, then that relation is in _____.
a) First Normal Form b) Second Normal Form c) Third Normal Form d) Boyce-Codd Normal Form e) Fourth Normal Form |
d) Boyce-Codd Normal Form
|
|
A relation is in domain/key normal form if _______.
a) every key of the relation is a logical consequence of the definition of constraints and determinants b) every key of the relation is a logical consequence of the definition of constraints and domains c) every constraint on the relation is a logical consequence of the definition of keys and determinants d) every constraint on the relation is a logical consequence of the definition of keys and domains e) every domain of the relation is a logical consequence of the definition of keys and constraints |
d) every constraint on the relation is a logical consequence of the definition of keys and domains
|
|
In general, each relation should have ____.
a) one and only one theme b) one or more themes c) exactly two themes d) one or two themes e) exactly three themes |
a) one and only one theme
|
|
Saying that two entities are functionally dependent means that ______.
a) the entities are always connected by a mathematical equation b) for one of the entities, if we are given the value of that entity, we can determine the value of one other entity c) for both of the entities if we are given the value of that entity, we can determine the value of one other entity d) the functional dependency will have to be removed through normalization e) all of the above |
b) for one of the entities, if we are given the value of that entity, we can determine the value of one other entity
|
|
Given the functional dependency (A,B)->C then _______.
a) A ->B b) A ->C c) B -> A d) B -> C e) none of the above is correct |
e) None of the above is correct
|
|
The only reason(s) for having relations is to ____.
a) store instances of functional dependencies b) store equation components c) store equation results d) b and c e) a, b, and c |
a) store instances of functional dependencies
|
|
A combination of two or more columns used to identify particular rows in a relation is a(n) _____.
a) record b) field c) composite key d) foreign key e) surrogate key |
c) composite key
|
|
Referential integrity constraints are used to limit the possible values of a(n) _____.
a) composite key b) candidate key c) foreign key d) surrogate key e) dependency |
c) foreign key
|
|
the _____ operator removes duplicates from a rowset or from a collection of values.
a) SINGLE b) UNIQUE c) DISTINCT d) TOP e) NO DUPLICATE |
c) DISTINCT
|
|
When using WITH TIES, an _____ clause must be specified.
a) SORT BY b) ARRANGE BY c) SET [DESC | ASC] ORDER d) DESC <strribute name> e) ORDER BY |
e) ORDER BY
|
|
In relational terms as defined by E.F. Codd, a row is called a(n) ______.
|
Tuple
|
|
A(n) _____ is a relationship between attributes such that if we know the value of one attribute, we can determine the value of the other attribute.
|
dependency
|
|
A(n) ______ is an artificial column that is added to a relation to be its primary key.
|
Surrogate Key
|
|
Any table that meets the definition of a(n) ______ is said to be in first normal form.
|
relation
|
|
Everytime we break up a relation during the normalization process, we may have to create _____ constraints.
|
Referential Integrity
|
|
In SQL Server you can reformat the column output with automatic data type conversion by using the ______ and ____ functions in the SELECT statement
|
CAST, CONVERT
|
|
You can sort query results by one or more of the columns in the returned rows by using an _____ clause
|
ORDER BY
|
|
The _____ clause is used to reduce the output of a select statement based on a specific criteria.
|
WHERE
|
|
The _____ keyword specifies that the first N words of the result set are returned.
|
TOP
|