Deck 5: Database Design 1: Normalization
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 5: Database Design 1: Normalization
1
What is a potential problem, if any, if you design a database in which the last name of a consultant functionally determines the consultant's address?
A) There is no problem with this design.
B) There could be two consultants living at the same address.
C) There could be more than one consultant with the same last name.
D) The address will automatically functionally determine the consultant's last name.
A) There is no problem with this design.
B) There could be two consultants living at the same address.
C) There could be more than one consultant with the same last name.
D) The address will automatically functionally determine the consultant's last name.
C
2
What do you call a data inconsistency that results from data redundancy or the use of inappropriate nulls?
A) update anomaly
B) insertion anomaly
C) deletion anomaly
D) relational anomaly
A) update anomaly
B) insertion anomaly
C) deletion anomaly
D) relational anomaly
A
3
If B is functionally dependent on A, what can you also say?
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
A
4
Which of the following can be defined as 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
The normalization process is a series of steps that will automatically restructure your database to resolve design flaws.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which term's definition also defines a candidate key?
A) functional key
B) repeating group
C) primary key
D) nonkey column
A) functional key
B) repeating group
C) primary key
D) nonkey column
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Converting to third normal form always avoids the problems related to dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Tables without repeating groups are said to be in first normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A table is in fourth normal form (4NF) when it is in third normal form and there are no multivalued dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Third normal form is sometimes referred to as the Boyce-Codd normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Any row that determines another row is called a determinant.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
A table that is in first normal form may contain problems that will require you to restructure it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Tables that are in second normal form can still contain redundancy problems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
A column is a nonkey column when it is part of the primary key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
If the primary key of a table contains only a single column, the table is automatically in third normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
An interrelation constraint is a condition that involves two or more relations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
To correct anomalies in a database, tables must be converted into various types of normal forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Functional dependencies can always be determined by looking at sample data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
When converting a non-first normal form table to first normal form, the foreign key will usually include the original foreign key concatenated with the key to the repeating group.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
If column B is functionally dependent on column A, you can also say that column B functionally determines column A.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
If there is more than one possible choice for the primary key, and one of the possibilities is chosen to be the primary key. What are the others called?
A) canceled keys
B) alternate keys
C) nonkey attributes
D) contributory keys
A) canceled keys
B) alternate keys
C) nonkey attributes
D) contributory keys
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
What is the difference between a third normal form and fourth normal form table?
A) A 4NF table has no alternate keys.
B) A 4NF table has no foreign keys.
C) A 4NF table has no multivalued dependencies.
D) A 4NF table has no primary dependencies.
A) A 4NF table has no alternate keys.
B) A 4NF table has no foreign keys.
C) A 4NF table has no multivalued dependencies.
D) A 4NF table has no primary dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
What is each key that meets the criteria for a primary key called?
A) alternate key
B) candidate key
C) functional key
D) normal key
A) alternate key
B) candidate key
C) functional key
D) normal key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
What is a table that contains a repeating group called?
A) normalized relation
B) unnormalized relation
C) nominal relation
D) non-nominal relation
A) normalized relation
B) unnormalized relation
C) nominal relation
D) non-nominal relation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
The ____________________ process enables you to identify the existence of potential problems in the design of a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
With the table Orders (OrderNum, OrderDate, (ItemNum, NumOrdered) ) where OrderNum is the primary key, how would you convert the table to first normal form?
A) by creating a second table with just the columns ItemNum and NumOrdered
B) by changing the primary key to OrderDate
C) by making ItemNum a foreign key
D) by making the primary key a combination of OrderNum and ItemNum
A) by creating a second table with just the columns ItemNum and NumOrdered
B) by changing the primary key to OrderDate
C) by making ItemNum a foreign key
D) by making the primary key a combination of OrderNum and ItemNum
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which of the following 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
If you convert a collection of tables to an equivalent third normal form collection of tables, what problems do you remove?
A) those arising from multivalued dependencies
B) those arising from functional dependencies
C) those arising from inappropriate null values
D) those arising from incomplete deletions
A) those arising from multivalued dependencies
B) those arising from functional dependencies
C) those arising from inappropriate null values
D) those arising from incomplete deletions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
What type of diagram uses arrows to indicate all the functional dependencies present in a table?
A) interrelation diagram
B) functional diagram
C) dependency diagram
D) index diagram
A) interrelation diagram
B) functional diagram
C) dependency diagram
D) index diagram
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
When the ____________________ of a table is a single column, the table is automatically in second normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
What is an alternate key?
A) foreign key
B) primary 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) foreign key
B) primary 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A column B is ____________________ on another column A if each value for A in the database is associated with exactly one value of B.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A column is a nonkey column if it is not a part of the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Which of the following is a characteristic of a table that is in first normal form?
A) It doesn't contain repeating groups.
B) It has at least two foreign keys.
C) It doesn't have a primary key
D) There are no alternate keys.
A) It doesn't contain repeating groups.
B) It has at least two foreign keys.
C) It doesn't have a primary key
D) There are no alternate keys.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
When is a 1NF table automatically a 2NF table?
A) when two or more columns make up the primary key
B) when there are no interrelation constraints
C) when there are only nonkey columns
D) when the primary key contains only a single column
A) when two or more columns make up the primary key
B) when there are no interrelation constraints
C) when there are only nonkey columns
D) when the primary key contains only a single column
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
A(n) ________________ key is a candidate key not chosen ad the primary key.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
What is a nonkey column?
A) A column that is not part of the primary key.
B) A column that has a null value.
C) A column that is part of a repeating group.
D) A column that contains a numeric value.
A) A column that is not part of the primary key.
B) A column that has a null value.
C) A column that is part of a repeating group.
D) A column that contains a numeric value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which of the following contains a repeating group where the primary key is OrderNum?
A) Orders (OrderNum, OrderDate, (ItemNum, NumOrdered) )
B) Orders (OrderNum, OrderDate, ItemNum, NumOrdered )
C) Orders (OrderNum, OrderDate)
D) Orders (OrderNum, ItemNum, NumOrdered )
A) Orders (OrderNum, OrderDate, (ItemNum, NumOrdered) )
B) Orders (OrderNum, OrderDate, ItemNum, NumOrdered )
C) Orders (OrderNum, OrderDate)
D) Orders (OrderNum, ItemNum, NumOrdered )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Describe the normalization process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Describe the procedure for converting a table to the third normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
When you normalize a table by breaking down the relations into progressively finer levels of detail, it is called?_____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
A table that contains a ________________ that is not a candidate key indicates the table is not in third normal form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
A table is in fourth normal form when it is in third normal form and there are no ________________ dependencies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Any column or collection of columns that determines another column is called a(n) ___________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
What is the difference between a table in first normal form and one in second normal form?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Discuss what normal forms are and list the most common normal forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
An interrelation ____________________ is a condition that involves two or more relations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
Discuss how candidate keys, primary key, and alternate keys are related.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck