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