Deck 2: Database Design Fundamentals

Full screen (f)
exit full mode
Question
Because there is a one-to-many relationship between sales reps and customers in the Premiere Products database, one sales rep can be associated with zero, one, or more customers.
Use Space or
up arrow
down arrow
to flip the card.
Question
In a relational database, relationships are implemented by having common columns in two or more tables.
Question
In a relational database, two columns can be identical.
Question
The same column name can appear in two different tables in a relational database.
Question
In the one-to-many type of relationship, the word many always indicates a large number.
Question
Tables are called relations.
Question
You can determine functional dependence by viewing sample data.
Question
In a relational database, each entity has its own table.
Question
Each column in a table of a relational database should have a distinct name.
Question
Columns are sometimes called tuples.
Question
A relation is essentially a(n)three-dimensional table.
Question
A(n)relation is a characteristic or property of an entity.
Question
A secondary key is the unique identifier for a table.
Question
You usually indicate a table's primary key by underlining the column or collection of columns that comprises the primary key for each table in the database.
Question
In a relation, all values in a column are values of the same attribute.
Question
The concept of functional dependence is trivial to understanding database concepts.
Question
The statement "A sales rep's pay class functionally determines his or her pay rate" means that if you know the pay class, you also know the pay rate.
Question
The process of determining the particular tables and columns that will comprise a database is known as normalization.
Question
A primary key always comprises a single column
Question
A tabular database is a collection of tables.
Question
A programmer interviews users, examines existing and proposed documents, and examines organizational policies to determine exactly the type of data needs the database must support.
Question
Any column (or collection of columns)that determines another column is called a(n)____.

A)nonkey column
B)primary key
C)dependency
D)determinant
Question
In a relational database each ____ should be unique.

A)row
B)record
C)tuple
D)All of the above
Question
At Premiere Products, there is a ____ relationship between sales reps and customers.

A)one-to-one
B)one-to-two
C)one-to-many
D)many-to-many
Question
A table is in third normal form if it is in second normal form and no nonkey column is dependent on only a portion of the primary key.
Question
The definition for a primary key really defines a candidate key as well.
Question
An unnormalized relation is a relation that contains repeating groups.
Question
A(n)____ is the association between entities.

A)qualification
B)functional dependency
C)relationship
D)join
Question
Qualification is an update anomaly.
Question
Normalization is done before creating the database design.
Question
Which of the following is the primary key of the ORDER_LINE ( ORDER_NUM , PART_NUM , NUM_ORDERED, QUOTED_PRICE)table?

A)ORDER_NUM
B)PART_NUM
C)QUOTED_PRICE
D)ORDER_NUM and PART_NUM
Question
Which of the following symbols is used to qualify column names?

A).
B),
C)/
D)#
Question
A(n)____ is a characteristic or property of an entity.

A)field
B)attribute
C)column
D)All of the above
Question
The process of determining the particular tables and columns that will comprise a database is known as ____.

A)normalization
B)database design
C)qualification
D)relational management
Question
There is a commonly accepted shorthand representation to show the structure of a relational database: After the name of the table, all the columns in the table are listed within a set of ____.

A)square brackets
B)parentheses
C)back slashes
D)curly braces
Question
If a table contained both employee numbers and Social Security numbers, both columns would be referred to as candidate keys.
Question
It is possible for the computer to generate values that are used as the primary key column.
Question
A determinant is any column (or collection of columns)that determines another table.
Question
When you convert an unnormalized table to a table in first normal form, the primary key of the table in first normal form is usually the concatenation of at least two columns.
Question
Many organizations and institutions are moving toward using Social Security numbers as primary keys because of privacy issues.
Question
A(n)____________________ is a person, place, object, event, or idea for which you want to store and process data.
Question
____ can occur when there is a column in a table that is dependent on only a portion of the primary key.

A)Qualification
B)Update anomalies
C)Function splitting
D)Determination
Question
A(n)____________________ is the association between entities.
Question
In an entity-relationship (E-R)diagram, ____ are used to represent an entity.

A)rectangles
B)ovals
C)circles
D)diamonds
Question
____ is one of the categories of update anomalies.

A)Functional dependence
B)Functional splitting
C)Inconsistent data
D)Qualification
Question
A relation is in ____ if it does not contain any repeating groups.

A)first normal form
B)second normal form
C)third normal form
D)Boyce-Codd normal form
Question
____ is the formal term for combining two or more columns to form a primary key.

A)Qualification
B)Joining
C)Normalization
D)Concatenation
Question
____________________ is another name given to third normal form in this text.
Question
When you combine a column name with a table name, you are said to ____________________ the column name.
Question
A(n)____________________ column is a column that is not part of the primary key.
Question
In an entity-relationship (E-R)diagram, one-to-many relationships between entities are drawn as ____ .

A)ovals
B)equal signs
C)lines
D)circles
Question
A field is another term for a(n)____.

A)tuple
B)row
C)column
D)entity
Question
A ____ column is a column that is not part of the primary key.

A)determinant
B)candidate
C)functional
D)nonkey
Question
____ is the duplication of data.

A)Repeating group
B)Redundancy
C)Replication
D)Anomaly
Question
A record is another term for a(n)____.

A)tuple
B)field
C)attribute
D)property
Question
The ____________________ key of a table (relation)is the column or collection of columns that uniquely identifies a given row in that table.
Question
A relational database is a collection of ____________________.
Question
A table's design should be as simple as possible; you should restrict each position in a table to a single entry by not allowing multiple entries (called a(n)____________________ group)in an individual location in the table.
Question
In this text, Boyce-Codd normal form is the same as ____.

A)unnormalized
B)first normal form
C)second normal form
D)third normal form
Question
In one style of entity-relationship (E-R)diagrams, a crow's foot is used to represent the ____________________ side of a relationship.
Question
A(n)____________________ is another name for a record or a row.
Question
In one style of entity-relationship (E-R)diagrams, the letter n is used to represent the ____________________ side of a relationship.
Question
In one style of entity-relationship (E-R)diagrams, diamonds are used to describe ____________________.
Question
What is the precise definition of a primary key?
Question
If the primary key of a table contains only a single column, the table is automatically in ____________________ normal form.
Question
A relation is in ____________________ normal form if it does not contain any repeating groups.
Question
The four categories of update anomalies are additions, deletions, inconsistent data, and ____________________.
Question
In a relation, the order of the rows and columns is ____________________
Question
A relationship is an association between ____________________.
Question
Define a relation.
Question
What are the six steps necessary to design a database for a set of requirements?
Question
In a relational database, column B is _________________________ on another column A, it at any point in time a value for A determines a single value for B.
Question
How does a DBMS that follows the relational model handle entities, attributes of entities, and relationships between entities?
Question
If B is functionally dependent on A, you also can say that A functionally ____________________ it.
Question
When you write a column in the format CUSTOMER.REP_NUM, you say that you ____________________ the column name.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/75
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: Database Design Fundamentals
1
Because there is a one-to-many relationship between sales reps and customers in the Premiere Products database, one sales rep can be associated with zero, one, or more customers.
True
2
In a relational database, relationships are implemented by having common columns in two or more tables.
True
3
In a relational database, two columns can be identical.
False
4
The same column name can appear in two different tables in a relational database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
5
In the one-to-many type of relationship, the word many always indicates a large number.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
6
Tables are called relations.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
7
You can determine functional dependence by viewing sample data.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
8
In a relational database, each entity has its own table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
9
Each column in a table of a relational database should have a distinct name.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
10
Columns are sometimes called tuples.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
11
A relation is essentially a(n)three-dimensional table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
12
A(n)relation is a characteristic or property of an entity.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
13
A secondary key is the unique identifier for a table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
14
You usually indicate a table's primary key by underlining the column or collection of columns that comprises the primary key for each table in the database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
15
In a relation, all values in a column are values of the same attribute.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
16
The concept of functional dependence is trivial to understanding database concepts.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
17
The statement "A sales rep's pay class functionally determines his or her pay rate" means that if you know the pay class, you also know the pay rate.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
18
The process of determining the particular tables and columns that will comprise a database is known as normalization.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
19
A primary key always comprises a single column
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
20
A tabular database is a collection of tables.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
21
A programmer interviews users, examines existing and proposed documents, and examines organizational policies to determine exactly the type of data needs the database must support.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
22
Any column (or collection of columns)that determines another column is called a(n)____.

A)nonkey column
B)primary key
C)dependency
D)determinant
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
23
In a relational database each ____ should be unique.

A)row
B)record
C)tuple
D)All of the above
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
24
At Premiere Products, there is a ____ relationship between sales reps and customers.

A)one-to-one
B)one-to-two
C)one-to-many
D)many-to-many
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
25
A table is in third normal form if it is in second normal form and no nonkey column is dependent on only a portion of the primary key.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
26
The definition for a primary key really defines a candidate key as well.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
27
An unnormalized relation is a relation that contains repeating groups.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
28
A(n)____ is the association between entities.

A)qualification
B)functional dependency
C)relationship
D)join
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
29
Qualification is an update anomaly.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
30
Normalization is done before creating the database design.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
31
Which of the following is the primary key of the ORDER_LINE ( ORDER_NUM , PART_NUM , NUM_ORDERED, QUOTED_PRICE)table?

A)ORDER_NUM
B)PART_NUM
C)QUOTED_PRICE
D)ORDER_NUM and PART_NUM
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
32
Which of the following symbols is used to qualify column names?

A).
B),
C)/
D)#
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
33
A(n)____ is a characteristic or property of an entity.

A)field
B)attribute
C)column
D)All of the above
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
34
The process of determining the particular tables and columns that will comprise a database is known as ____.

A)normalization
B)database design
C)qualification
D)relational management
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
35
There is a commonly accepted shorthand representation to show the structure of a relational database: After the name of the table, all the columns in the table are listed within a set of ____.

A)square brackets
B)parentheses
C)back slashes
D)curly braces
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
36
If a table contained both employee numbers and Social Security numbers, both columns would be referred to as candidate keys.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
37
It is possible for the computer to generate values that are used as the primary key column.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
38
A determinant is any column (or collection of columns)that determines another table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
39
When you convert an unnormalized table to a table in first normal form, the primary key of the table in first normal form is usually the concatenation of at least two columns.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
40
Many organizations and institutions are moving toward using Social Security numbers as primary keys because of privacy issues.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
41
A(n)____________________ is a person, place, object, event, or idea for which you want to store and process data.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
42
____ can occur when there is a column in a table that is dependent on only a portion of the primary key.

A)Qualification
B)Update anomalies
C)Function splitting
D)Determination
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
43
A(n)____________________ is the association between entities.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
44
In an entity-relationship (E-R)diagram, ____ are used to represent an entity.

A)rectangles
B)ovals
C)circles
D)diamonds
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
45
____ is one of the categories of update anomalies.

A)Functional dependence
B)Functional splitting
C)Inconsistent data
D)Qualification
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
46
A relation is in ____ if it does not contain any repeating groups.

A)first normal form
B)second normal form
C)third normal form
D)Boyce-Codd normal form
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
47
____ is the formal term for combining two or more columns to form a primary key.

A)Qualification
B)Joining
C)Normalization
D)Concatenation
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
48
____________________ is another name given to third normal form in this text.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
49
When you combine a column name with a table name, you are said to ____________________ the column name.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
50
A(n)____________________ column is a column that is not part of the primary key.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
51
In an entity-relationship (E-R)diagram, one-to-many relationships between entities are drawn as ____ .

A)ovals
B)equal signs
C)lines
D)circles
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
52
A field is another term for a(n)____.

A)tuple
B)row
C)column
D)entity
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
53
A ____ column is a column that is not part of the primary key.

A)determinant
B)candidate
C)functional
D)nonkey
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
54
____ is the duplication of data.

A)Repeating group
B)Redundancy
C)Replication
D)Anomaly
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
55
A record is another term for a(n)____.

A)tuple
B)field
C)attribute
D)property
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
56
The ____________________ key of a table (relation)is the column or collection of columns that uniquely identifies a given row in that table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
57
A relational database is a collection of ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
58
A table's design should be as simple as possible; you should restrict each position in a table to a single entry by not allowing multiple entries (called a(n)____________________ group)in an individual location in the table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
59
In this text, Boyce-Codd normal form is the same as ____.

A)unnormalized
B)first normal form
C)second normal form
D)third normal form
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
60
In one style of entity-relationship (E-R)diagrams, a crow's foot is used to represent the ____________________ side of a relationship.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
61
A(n)____________________ is another name for a record or a row.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
62
In one style of entity-relationship (E-R)diagrams, the letter n is used to represent the ____________________ side of a relationship.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
63
In one style of entity-relationship (E-R)diagrams, diamonds are used to describe ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
64
What is the precise definition of a primary key?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
65
If the primary key of a table contains only a single column, the table is automatically in ____________________ normal form.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
66
A relation is in ____________________ normal form if it does not contain any repeating groups.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
67
The four categories of update anomalies are additions, deletions, inconsistent data, and ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
68
In a relation, the order of the rows and columns is ____________________
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
69
A relationship is an association between ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
70
Define a relation.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
71
What are the six steps necessary to design a database for a set of requirements?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
72
In a relational database, column B is _________________________ on another column A, it at any point in time a value for A determines a single value for B.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
73
How does a DBMS that follows the relational model handle entities, attributes of entities, and relationships between entities?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
74
If B is functionally dependent on A, you also can say that A functionally ____________________ it.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
75
When you write a column in the format CUSTOMER.REP_NUM, you say that you ____________________ the column name.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 75 flashcards in this deck.