Chapter 6 Flashcards
The first step in the database design process is to create tables and columns from entities and attributes.
True
When creating a relational database design from E-R diagrams, first create a relation for each relationship.
False
Each entity in the extended E-R model is represented as a table in the relational database design.
True
An entity needs to be examined according to normalization criteria before creating a table from it in the relational database design.
False
When creating a table in the relational database design from an entity in the extended E-R model, the attributes of the entity become the rows of the table.
False
By default, the identifier of the entity becomes the foreign key of the corresponding table.
False
The ideal primary key is short, numeric, and fixed.
True
A surrogate key is appropriate when the primary key of a table contains a lengthy text field.
True
One of the important properties of an attribute is whether or not it is required
True
A surrogate key is a unique, system-supplied identifier used as the primary key of a table.
True
The values of a surrogate key have no meaning to the users.
True
A surrogate key should be considered when the key contains a lengthy text field.
True
Whether or not an attribute is required is determined during the database modeling phase.
False
A null value is an attribute value that has been set to zero.
False
Data types are consistent across all DBMS products.
False
A default value is the value the user enters into the row the first time the user enters data.
False
A data constraint is a limitation on data values.
True
The last step in creating a table is to verify table normalization.
True
One of the important properties of a column is whether or not it can have a NULL value.
True
A foreign key is a key that does not belong in any table.
False
In a relational database design, all relationships are expressed by creating a foreign key.
True
When the key of one table is placed into a second table to represent a relationship, the key is called a “relational key” in the second table.
False
To represent a 1:1 binary relationship in a relational database design, the key of one table is placed into the second table.
True
When placing a foreign key for a 1:1 relationship, the key of either table can be used as the foreign key in the other table.
True
In a 1:1 relationship, the foreign key is defined as an alternate key to make the DBMS enforce uniqueness.
True
In a 1:N relationship, the term “parent” refers to the table on the “many” side of the relationship.
False
In 1:N relationships, the table on the “one” side is called the parent.
True
In representing a 1:N relationship in a relational database design, the key of the table representing the parent entity is placed as a foreign key in the table representing the child entity
True
In representing a 1:N relationship in a relational database design, the key of the table representing the entity on the “many” side is placed as a foreign key in the table representing the entity on the “one” side of the relationship.
False
To represent a 1:N relationship in a relational database design, an intersection table is created.
False
In 1:N relationships, the table on the “many” side is called the child.
True
To represent a one-to-many relationship in a relational database design, the key of the child table is placed as a foreign key into the other table.
False
To represent an M:N relationship in a relational database design, a table is created to represent the relationship itself.
True
To represent an M:N relationship in a relational database design, an intersection table is created.
True
Which of the following is not a step in the database design process?
A) Create tables and columns from entities and attributes
B) Select primary keys
C) Represent relationships
D) Create constraints and triggers
E) All of the above are steps in the database design process
D
The first step in transforming an extended E-R model into a relational database design is to ________.
A) create a table for each relationship
B) evaluate the entities against the normalization criteria
C) create a table for each entity
D) remove any recursive relationships
E) document referential integrity constraints
C
Each attribute of an entity becomes a(n) \_\_\_\_\_\_\_\_ of a table. A) column B) primary key C) foreign key D) alternate key E) B or D
D