Deck 5: Database Design: Normalization

ملء الشاشة (f)
exit full mode
سؤال
A(n) _____ results if you cannot add data to the database due to absence of other data.

A)update anomaly
B)creation anomaly
C)deletion anomaly
D)insertion anomaly
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Data stored in a single list often creates redundant data when _____.

A)the list is not sorted
B)the list contains multiple subjects or topics
C)the list is used for looking up data
D)the list contains atomic values
سؤال
A table is in first normal form when it does not contain repeating groups, each column contains atomic values, and there are no duplicate records.
سؤال
_____ describes the relationship of attributes in an entity.

A)Transitive dependency
B)Relation anomaly
C)Boyce-Codd normal form
D)Functional dependence
سؤال
How do you free data from the problems associated with insertion, update, and deletion anomalies?

A)Apply algorithms to identify the anomalies.
B)Remove the functional dependencies from the data.
C)Normalize the data by converting a single list into multiple tables.
D)Identify atomic values in the data.
سؤال
_____ follows a series of steps to break columns into smaller tables to identify entities and facts about each entity.

A)Functional dependence
B)Online analytical processing
C)Structural modification
D)Normalization
سؤال
Which of the following is not a problem with duplicated data?

A)increased storage
B)decreased performance
C)inconsistencies in the data
D)decreased time in running queries
سؤال
Which of the following statements describes a table in first normal form?

A)It contains no repeating groups.
B)It has at least two foreign keys.
C)It doesn't have a primary key
D)It has no candidate keys.
سؤال
Functional dependence refers to how tables are related to each other in a database.
سؤال
The normalization process is a series of steps built into most relational database management software products that will automatically restructure your database to resolve all design flaws.
سؤال
The primary key can be a composite key, which is a combination of two or more fields.
سؤال
What is the problem with designing a database in which the last name of an employee functionally determines the employee's address?

A)This design has no problems.
B)Two employees could be living at the same address.
C)More than one employee could have the same last name.
D)The address will automatically functionally determine the employee's last name.
سؤال
A(n) _____ is a piece of data that cannot be meaningfully divided.

A)attribute
B)composite key
C)atomic value
D)tuple
سؤال
What is a major goal of normalization?

A)minimizing redundant data
B)clarifying field names
C)increasing functional independence
D)selecting suitable primary keys
سؤال
What do you call a table that contains multiple field entries in a single column?

A)unnormalized relation
B)composite key
C)Boyce-Codd normal form
D)lookup table
سؤال
In the following Projects table, which field is functionally dependent on the ClientID field? Projects (ProjectID, ProjectType, ProjectName, ProjectManager, Budget, ClientID)

A)ProjectID
B)ProjectManager
C)Budget
D)None of the fields in the Projects table is functionally dependent on ClientID.
سؤال
What do you call a data inconsistency that results from data redundancy or the use of inappropriate nulls?

A)relational anomaly
B)insertion anomaly
C)update anomaly
D)deletion anomaly
سؤال
Which of the following is an example of an insertion anomaly?

A)A new student cannot be assigned to a professor because the student does not have a StudentID.
B)A department name must be changed manually in several records.
C)When professors retire, their records are removed from the database, which also loses information about the students they advised.
D)A student can take several classes, and classes can enroll many students.
سؤال
_____ refers to how attributes (fields) depend on or relate to other attributes in a relation (table).

A)Data anomaly
B)Object dependence
C)Functional dependence
D)Functional relationships
سؤال
An Employee field with an employee's full name contains an atomic value.
سؤال
What type of query should you create to populate new EmployeeFirst and EmployeeLast fields with atomic values from an EmployeeName field?

A)select query
B)update query
C)concatenation query
D)atomic query
سؤال
A table is in second normal form when it is in first normal form and _____.

A)each nonkey column is dependent on the entire primary key field
B)it contains candidate keys
C)it allows no data modification anomalies
D)it contains at least one foreign key field
سؤال
What helps separate atomic values from a single column if the values follow a pattern?

A)conversion anomaly
B)Codd's 12 rules
C)algorithm
D)transitive dependency
سؤال
Third normal form is also often referred to as _____.

A)ultimate normal form
B)Boyce-Codd normal form
C)SQL normal form
D)Edgar-Hopper normal form
سؤال
Which of the following pairs has the clearest field name and atomic value?

A)DistanceInMiles, 20
B)Length, 10 feet
C)Time, 1.5
D)Amount, 12 per package
سؤال
Which of the following expressions combines the atomic values from two fields in a LastName, FirstName format in an expression in an Access query?

A)[LastName] > ", " < [FirstName]
B)"LastName" & "FirstName"
C)[FirstName] & " " & [LastName]
D)[LastName] & ", " & [FirstName]
سؤال
Which Access function returns the position of the space character in a field?

A)InStr
B)Space
C)Len
D)Null
سؤال
The nonkey fields of a table should be functionally dependent on _____.

A)the foreign key field
B)the primary key field
C)at least one field in a related table
D)an unnormalized relation
سؤال
Which of the following tables should be converted to third normal form?

A)Clients (ClientID, ClientFirst, ClientLast, ProjectID, ProjectType)
B)Departments (DeptID, DeptName)
C)Products (ProductID, CategoryID, ProductName, UnitPrice)
D)Classes (ClassID, ClassName, ClassDate, StartTime, EndTime, ClassPrice)
سؤال
Which type of table is an excellent candidate for improvement to second normal form?

A)table with duplicate records
B)lookup table
C)table with a multifield primary key field
D)table with an AutoNumber primary key field
سؤال
What do you call each key that meets the criteria for a primary key?

A)candidate key
B)potential key
C)lookup key
D)functional key
سؤال
Which of the following is a benefit of having atomic values in each column of a table?

A)The data is easier to sort, find, and filter.
B)Atomic values prevent deletion anomalies.
C)The data is functionally independent.
D)The data can be organized into repeating groups.
سؤال
What is a nonkey column?

A)a column that contains a null value
B)a column that is not part of the foreign key
C)a column that is not part of the primary key
D)a column that does not contain an atomic value
سؤال
What do you call a table that contains a repeating group?

A)normalized relation
B)unnormalized relation
C)nominal relation
D)non-nominal relation
سؤال
A table with no repeating groups in any attribute and atomic values in each column is, at a minimum, in what normal form?

A)third normal form
B)first normal form
C)second normal form
D)The table is unnormalized.
سؤال
What is an algorithm?

A)a piece of data that cannot be meaningfully divided
B)a defined set of steps to solve a problem
C)a characteristic or property of an entity
D)a problem generated when entering, updating, and deleting data
سؤال
Which of the following tables should be converted to second normal form?

A)Employees (EmpID, EmpFirst, EmpLast, Department)
B)Visits (VisitID, VisitType, VisitDate, PatientID, LengthInMinutes)
C)Players (PlayerID, PlayerFirst, PlayerLast, CoachID, CoachFirst, CoachLast, Team)
D)Bookings (BookingID, CheckInDate, CheckOutDate, RoomID, CustomerID)
سؤال
Which normal form has an additional condition that excludes transitive dependencies?

A)1NF
B)2NF
C)3NF
D)4NF
سؤال
When the primary key field consists of a combination of two or more fields, it is called a _____.

A)combo key
B)nonkey field
C)candidate key
D)composite key
سؤال
A(n) _____ occurs if a nonkey attribute determines another nonkey attribute.

A)insertion anomaly
B)unnormalized relation
C)composite key
D)transitive dependency
سؤال
Which normal form has additional conditions that further remove data redundancies and eliminate data modification anomalies beyond the Boyce-Codd normal form?

A)1NF
B)2NF
C)3NF
D)4NF
سؤال
What is the foreign key in the following table? Classes (ClassID, ClassName, ClassDate, StartTime, EndTime, ClassPrice, InstructorNum)

A)ClassID
B)ClassName
C)InstructorNum
D)ClassPrice
سؤال
Which of the following tables is most likely a lookup table?

A)Students (StudentID, StudentFirst, StudentLast)
B)Specialties (Specialty)
C)Vehicles (VehicleID, VehicleType, VehicleMake, VehicleModel)
D)Orders (OrderID, OrderDate)
سؤال
A(n) _____ helps constrain the values in a single field to a specific list, which eliminates update anomalies.

A)candidate list
B)attribute
C)lookup table
D)functional dependency
سؤال
Relational databases are often implemented on tables in what normal form?

A)4NF
B)3NF
C)2NF
D)1NF
سؤال
Discuss the overall process of normalization as it relates to anomalies and list the most common normal forms.
سؤال
Describe the purpose of the normalization process.
سؤال
Define third normal form and give an example of a transitive dependency.
سؤال
What is the difference between a table in first normal form and one in second normal form?
سؤال
Discuss how a primary key, candidate key, and composite key are related.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 5: Database Design: Normalization
1
A(n) _____ results if you cannot add data to the database due to absence of other data.

A)update anomaly
B)creation anomaly
C)deletion anomaly
D)insertion anomaly
D
2
Data stored in a single list often creates redundant data when _____.

A)the list is not sorted
B)the list contains multiple subjects or topics
C)the list is used for looking up data
D)the list contains atomic values
B
3
A table is in first normal form when it does not contain repeating groups, each column contains atomic values, and there are no duplicate records.
True
4
_____ describes the relationship of attributes in an entity.

A)Transitive dependency
B)Relation anomaly
C)Boyce-Codd normal form
D)Functional dependence
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
How do you free data from the problems associated with insertion, update, and deletion anomalies?

A)Apply algorithms to identify the anomalies.
B)Remove the functional dependencies from the data.
C)Normalize the data by converting a single list into multiple tables.
D)Identify atomic values in the data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
_____ follows a series of steps to break columns into smaller tables to identify entities and facts about each entity.

A)Functional dependence
B)Online analytical processing
C)Structural modification
D)Normalization
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following is not a problem with duplicated data?

A)increased storage
B)decreased performance
C)inconsistencies in the data
D)decreased time in running queries
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following statements describes a table in first normal form?

A)It contains no repeating groups.
B)It has at least two foreign keys.
C)It doesn't have a primary key
D)It has no candidate keys.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Functional dependence refers to how tables are related to each other in a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The normalization process is a series of steps built into most relational database management software products that will automatically restructure your database to resolve all design flaws.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
The primary key can be a composite key, which is a combination of two or more fields.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
What is the problem with designing a database in which the last name of an employee functionally determines the employee's address?

A)This design has no problems.
B)Two employees could be living at the same address.
C)More than one employee could have the same last name.
D)The address will automatically functionally determine the employee's last name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
A(n) _____ is a piece of data that cannot be meaningfully divided.

A)attribute
B)composite key
C)atomic value
D)tuple
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is a major goal of normalization?

A)minimizing redundant data
B)clarifying field names
C)increasing functional independence
D)selecting suitable primary keys
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
What do you call a table that contains multiple field entries in a single column?

A)unnormalized relation
B)composite key
C)Boyce-Codd normal form
D)lookup table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
In the following Projects table, which field is functionally dependent on the ClientID field? Projects (ProjectID, ProjectType, ProjectName, ProjectManager, Budget, ClientID)

A)ProjectID
B)ProjectManager
C)Budget
D)None of the fields in the Projects table is functionally dependent on ClientID.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
What do you call a data inconsistency that results from data redundancy or the use of inappropriate nulls?

A)relational anomaly
B)insertion anomaly
C)update anomaly
D)deletion anomaly
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is an example of an insertion anomaly?

A)A new student cannot be assigned to a professor because the student does not have a StudentID.
B)A department name must be changed manually in several records.
C)When professors retire, their records are removed from the database, which also loses information about the students they advised.
D)A student can take several classes, and classes can enroll many students.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
_____ refers to how attributes (fields) depend on or relate to other attributes in a relation (table).

A)Data anomaly
B)Object dependence
C)Functional dependence
D)Functional relationships
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
An Employee field with an employee's full name contains an atomic value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
What type of query should you create to populate new EmployeeFirst and EmployeeLast fields with atomic values from an EmployeeName field?

A)select query
B)update query
C)concatenation query
D)atomic query
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
A table is in second normal form when it is in first normal form and _____.

A)each nonkey column is dependent on the entire primary key field
B)it contains candidate keys
C)it allows no data modification anomalies
D)it contains at least one foreign key field
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
What helps separate atomic values from a single column if the values follow a pattern?

A)conversion anomaly
B)Codd's 12 rules
C)algorithm
D)transitive dependency
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Third normal form is also often referred to as _____.

A)ultimate normal form
B)Boyce-Codd normal form
C)SQL normal form
D)Edgar-Hopper normal form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which of the following pairs has the clearest field name and atomic value?

A)DistanceInMiles, 20
B)Length, 10 feet
C)Time, 1.5
D)Amount, 12 per package
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Which of the following expressions combines the atomic values from two fields in a LastName, FirstName format in an expression in an Access query?

A)[LastName] > ", " < [FirstName]
B)"LastName" & "FirstName"
C)[FirstName] & " " & [LastName]
D)[LastName] & ", " & [FirstName]
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which Access function returns the position of the space character in a field?

A)InStr
B)Space
C)Len
D)Null
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
The nonkey fields of a table should be functionally dependent on _____.

A)the foreign key field
B)the primary key field
C)at least one field in a related table
D)an unnormalized relation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following tables should be converted to third normal form?

A)Clients (ClientID, ClientFirst, ClientLast, ProjectID, ProjectType)
B)Departments (DeptID, DeptName)
C)Products (ProductID, CategoryID, ProductName, UnitPrice)
D)Classes (ClassID, ClassName, ClassDate, StartTime, EndTime, ClassPrice)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which type of table is an excellent candidate for improvement to second normal form?

A)table with duplicate records
B)lookup table
C)table with a multifield primary key field
D)table with an AutoNumber primary key field
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
What do you call each key that meets the criteria for a primary key?

A)candidate key
B)potential key
C)lookup key
D)functional key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which of the following is a benefit of having atomic values in each column of a table?

A)The data is easier to sort, find, and filter.
B)Atomic values prevent deletion anomalies.
C)The data is functionally independent.
D)The data can be organized into repeating groups.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
What is a nonkey column?

A)a column that contains a null value
B)a column that is not part of the foreign key
C)a column that is not part of the primary key
D)a column that does not contain an atomic value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
What do you call a table that contains a repeating group?

A)normalized relation
B)unnormalized relation
C)nominal relation
D)non-nominal relation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A table with no repeating groups in any attribute and atomic values in each column is, at a minimum, in what normal form?

A)third normal form
B)first normal form
C)second normal form
D)The table is unnormalized.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
What is an algorithm?

A)a piece of data that cannot be meaningfully divided
B)a defined set of steps to solve a problem
C)a characteristic or property of an entity
D)a problem generated when entering, updating, and deleting data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which of the following tables should be converted to second normal form?

A)Employees (EmpID, EmpFirst, EmpLast, Department)
B)Visits (VisitID, VisitType, VisitDate, PatientID, LengthInMinutes)
C)Players (PlayerID, PlayerFirst, PlayerLast, CoachID, CoachFirst, CoachLast, Team)
D)Bookings (BookingID, CheckInDate, CheckOutDate, RoomID, CustomerID)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which normal form has an additional condition that excludes transitive dependencies?

A)1NF
B)2NF
C)3NF
D)4NF
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
When the primary key field consists of a combination of two or more fields, it is called a _____.

A)combo key
B)nonkey field
C)candidate key
D)composite key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
A(n) _____ occurs if a nonkey attribute determines another nonkey attribute.

A)insertion anomaly
B)unnormalized relation
C)composite key
D)transitive dependency
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Which normal form has additional conditions that further remove data redundancies and eliminate data modification anomalies beyond the Boyce-Codd normal form?

A)1NF
B)2NF
C)3NF
D)4NF
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
What is the foreign key in the following table? Classes (ClassID, ClassName, ClassDate, StartTime, EndTime, ClassPrice, InstructorNum)

A)ClassID
B)ClassName
C)InstructorNum
D)ClassPrice
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
Which of the following tables is most likely a lookup table?

A)Students (StudentID, StudentFirst, StudentLast)
B)Specialties (Specialty)
C)Vehicles (VehicleID, VehicleType, VehicleMake, VehicleModel)
D)Orders (OrderID, OrderDate)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
A(n) _____ helps constrain the values in a single field to a specific list, which eliminates update anomalies.

A)candidate list
B)attribute
C)lookup table
D)functional dependency
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Relational databases are often implemented on tables in what normal form?

A)4NF
B)3NF
C)2NF
D)1NF
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Discuss the overall process of normalization as it relates to anomalies and list the most common normal forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Describe the purpose of the normalization process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Define third normal form and give an example of a transitive dependency.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
What is the difference between a table in first normal form and one in second normal form?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
Discuss how a primary key, candidate key, and composite key are related.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.