Deck 2: Database Design Fundamentals
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
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/75
Play
Full screen (f)
Deck 2: Database Design Fundamentals
1
Columns are sometimes called tuples.
False
2
You can determine functional dependence by viewing sample data.
False
3
In a relation, the order of the rows and columns is immaterial.
True
4
You can 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
5
A relation is essentially a three-dimensional table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
6
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
7
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
8
The statement "A sales rep's pay class functionally determines his or her pay rate" means that if you know the pay class, you can determine the pay rate.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
9
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
10
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.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
11
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
12
A 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
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
14
A matrix is the association between entities.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
15
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
16
The process of determining the particular tables and columns that will comprise a database is known as database design.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
17
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
18
In a relational database, relationships are implemented by having common columns in two or more tables.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
19
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
20
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
21
In a relational database each ____ should be unique.
A) row
B) record
C) tuple
D) All of the above
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
22
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
23
Qualification is an update anomaly.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following symbols is used to qualify column names?
A) period (.)
B) comma (,)
C) backslash (/)
D) pound sign (#)
A) period (.)
B) comma (,)
C) backslash (/)
D) pound sign (#)
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
25
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
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
26
A(n) ____ is a characteristic or property of an entity.
A) field
B) attribute
C) column
D) All of the above
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
27
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
28
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
29
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
30
A field is another term for a(n) ____.
A) tuple
B) row
C) column
D) entity
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
31
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
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
32
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
33
An unnormalized relation is a relation that may contain repeating groups.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
34
A record is another term for a(n) ____.
A) row
B) field
C) attribute
D) property
A) row
B) field
C) attribute
D) property
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
35
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
36
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
37
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
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
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
A(n) ____ is the association between entities.
A) qualification
B) functional dependency
C) relationship
D) join
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
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 ____ column is a column that is not part of the primary key.
A) determinant
B) candidate
C) functional
D) nonkey
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
42
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
43
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
44
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
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
45
A relationship is an association between ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
46
Any column (or collection of columns) that determines another column is called a(n) ____.
A) nonkey column
B) primary key
C) dependency
D) determinant
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
47
In an entity-relationship (E-R) diagram, one-to-many relationships between entitities are drawn as ____.
A) ovals
B) equal signs
C) lines
D) circles
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
48
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
49
In an entity-relationship (E-R) diagram, ____ are used to represent an entity.
A) rectangles
B) ovals
C) circles
D) diamonds
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
50
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
51
____ is the duplication of data.
A) Repeating group
B) Redundancy
C) Replication
D) Anomaly
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
52
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
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
53
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
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
54
____ is one of the categories of update anomalies.
A) Functional dependence
B) Functional splitting
C) Inconsistent data
D) Qualification
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
55
In a relation, the ____________________ of the rows and columns is immaterial.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
56
A(n) ____________________ is the association between entities.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
57
____ is the formal term for combining two or more columns to form a primary key.
A) Qualification
B) Joining
C) Normalization
D) Concatenation
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
58
____ 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
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
59
A(n) ____________________ is a person, place, thing, or event 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
60
A relational database is a collection of ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
61
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
62
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
63
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
64
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
65
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
66
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
67
______________________________ 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
68
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
69
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
70
If B is functionally dependent on A, you also can say that A functionally ____________________ B.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
71
Define a relation.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
72
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
73
In a relational database, column B is ____________________ on another column A, if 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
74
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
75
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