Deck 5: Database Design 1: Normalization
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 5: Database Design 1: Normalization
1
The normalization process used to convert a relation or collection of relations to an equivalent collection of third normal form tables is a crucial part of the database design process.
True
2
Removal of repeating groups is the starting point in the quest to create tables that are as free of problems as possible.
True
3
A table that is in first normal form is better than one that is in second normal form.
False
4
The primary key in a table is a determinant but candidate keys are not determinants.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
To correct update anomalies in a database,tables must be converted into various types of normal forms.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Converting to third normal form always avoids the problems related to dependencies.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The definition for ____ also defines a candidate key.
A)functional key
B)natural key
C)primary key
D)surrogate key
A)functional key
B)natural key
C)primary key
D)surrogate key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
In general,when converting a non-first normal form table to first normal form,the primary key will usually include the original primary key concatenated with the key to the repeating group.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
Tables that are in second normal form do not update anomalies.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Functional dependencies can be determined by looking at sample data.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
If B (an attribute) is functionally dependent on A,we can also say that ____.
A)A functionally determines B
B)A functionally determines another attribute in the table
C)B functionally determines A
D)B does not determine any other attribute
A)A functionally determines B
B)A functionally determines another attribute in the table
C)B functionally determines A
D)B does not determine any other attribute
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
If B is functionally dependent on A,you can also say that B functionally determines A.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
A column is a nonkey attribute when it is not part of the primary key.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
The possibility of data dependence is one of the four categories of update anomalies.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The fact that column B is functionally dependent on column A can be written as ____.
A)A ® ® B
B)B ® A
C)A ® B
D)B ® ® A
A)A ® ® B
B)B ® A
C)A ® B
D)B ® ® A
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
If the primary key of a table contains only a single column,the table is automatically in third normal form.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
Potential problems in the design of a relational database are known as ____.
A)select anomalies
B)update anomalies
C)modification anomalies
D)relational anomalies
A)select anomalies
B)update anomalies
C)modification anomalies
D)relational anomalies
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
By splitting relations to achieve third normal form tables,you create the need to express interrelation constraints.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
In a dependency diagram,the arrows below the boxes indicate the partial dependencies.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
The ____ is a column (or collection of columns) A such that all other columns are functionally dependent on A and no subcollection of the columns in A has this property.
A)functional key
B)composite key
C)primary key
D)declared key
A)functional key
B)composite key
C)primary key
D)declared key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
A column is a nonkey column if it is ____.
A)in first normal form
B)in second normal form
C)a part of the primary key
D)not a part of the primary key
A)in first normal form
B)in second normal form
C)a part of the primary key
D)not a part of the primary key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
A(n) ____________________ uses arrows to indicate all the functional dependencies present in the table.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
____ contains a repeating group.
A)Orders (OrderNum,OrderDate,(PartNum,NumOrdered) )
B)Orders (OrderNum,OrderDate,PartNum,NumOrdered )
C)Orders (OrderNum,OrderDate)
D)Orders (OrderNum,PartNum,NumOrdered )
A)Orders (OrderNum,OrderDate,(PartNum,NumOrdered) )
B)Orders (OrderNum,OrderDate,PartNum,NumOrdered )
C)Orders (OrderNum,OrderDate)
D)Orders (OrderNum,PartNum,NumOrdered )
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
To convert a table to fourth normal form,split the third normal form table into separate tables,each containing the column that ____ the others.
A)determines
B)multidetermines
C)defines
D)identifies
A)determines
B)multidetermines
C)defines
D)identifies
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Any column or collection of columns that determines another column is called a(n) ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Partial dependencies are dependencies on only a portion of the ____.
A)intelligent key
B)first column or attribute
C)primary key
D)index key
A)intelligent key
B)first column or attribute
C)primary key
D)index key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
A table that contains a repeating group is called a(n) ____.
A)dependent relation
B)unnormalized relation
C)nominal relation
D)non-nominal relation
A)dependent relation
B)unnormalized relation
C)nominal relation
D)non-nominal relation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
Another name for a nonkey column is a ____.
A)nonkey attribute
B)key attribute
C)nonkey row
D)key table
A)nonkey attribute
B)key attribute
C)nonkey row
D)key table
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
A column B is ____________________ on another column A if each value for A in the database is associated with exactly one value of B.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The conversion of an unnormalized table to first normal form requires the removal of ____.
A)determinants
B)interrelation constraints
C)nonkey columns
D)repeating groups
A)determinants
B)interrelation constraints
C)nonkey columns
D)repeating groups
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
An alternate key is a ____.
A)surrogate key
B)natural key
C)column that could be a primary key but was not chosen
D)row that could be a primary key but was not chosen
A)surrogate key
B)natural key
C)column that could be a primary key but was not chosen
D)row that could be a primary key but was not chosen
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
A table is in first normal form if it does not contain ____.
A)dependencies
B)repeating groups
C)a primary key
D)anomalies
A)dependencies
B)repeating groups
C)a primary key
D)anomalies
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
If there is more than one possible choice for the primary key,and one of the possibilities is chosen to be the primary key,the other choices are referred to as ____.
A)surrogate keys
B)alternate keys
C)intelligent keys
D)contributory keys
A)surrogate keys
B)alternate keys
C)intelligent keys
D)contributory keys
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
If you have different descriptions for the same item,such as part numbers,then you have the update anomaly known as ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
A(n) ____ is a column or collection of columns on which all columns in the table are functionally dependent.
A)index key
B)candidate key
C)major key
D)special key
A)index key
B)candidate key
C)major key
D)special key
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
The ____________________ process enables you to identify the existence of potential problems in the design of a database.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Second normal form can be defined as a table that is in first normal form but that contains no ____.
A)partial dependencies
B)alternate keys
C)nonkey columns
D)interrelation constraints
A)partial dependencies
B)alternate keys
C)nonkey columns
D)interrelation constraints
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
A table is in fourth normal form when it is in third normal form and there are no ____.
A)alternate dependencies
B)partial dependencies
C)multivalued dependencies
D)primary dependencies
A)alternate dependencies
B)partial dependencies
C)multivalued dependencies
D)primary dependencies
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
From all the ____ keys,one is chosen to be the primary key.
A)alternate
B)candidate
C)natural
D)normal
A)alternate
B)candidate
C)natural
D)normal
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
____ normal form has an additional condition that the only determinants the table contains are candidate keys.
A)First
B)Second
C)Third
D)Fourth
A)First
B)Second
C)Third
D)Fourth
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Explain what normalization is,including the goal of normalization.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Describe the procedure for converting a table to the third normal form.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
In a table with columns A,B,and C,there is a(n) ____________________ dependence of column B on column A if each value for A is associated with a specific collection of values for B and,further,this collection is independent of any values for C.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What is the difference between a table in second normal form and one in third normal form?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
By converting a given collection of tables to an equivalent third normal form collection of tables,you remove any problems arising from ____________________ dependencies.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
What are the four categories of update anomalies and why could these problems occur when a relation is in first normal form but not in second normal form?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
By splitting relations to achieve third normal form tables,you create the need to express a(n) ____________________ constraint,a condition that involves two or more relations.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
____________________ dependencies are dependencies on only a portion of the primary key.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
A ® ® B signifies that B is ____________________ on A.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Discuss how candidate keys,primary key,and alternate keys are related.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck