0% found this document useful (0 votes)
100 views4 pages

CH 6 pt2

1. A table is in 3NF if it contains no transitive dependencies. 2. A surrogate key is an artificial primary key introduced by the designer to simplify assigning primary keys. 3. Surrogate keys are usually numeric, automatically generated, without semantic meaning, and hidden from users.

Uploaded by

Bree Elaine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views4 pages

CH 6 pt2

1. A table is in 3NF if it contains no transitive dependencies. 2. A surrogate key is an artificial primary key introduced by the designer to simplify assigning primary keys. 3. Surrogate keys are usually numeric, automatically generated, without semantic meaning, and hidden from users.

Uploaded by

Bree Elaine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

A table in ________ contains no transitive dependencies.

a. 1NF
1. b. 2NF
c. 3NF
d. none of these

A ________ key is an artificial PK introduced by the designer with the purpose of simplifying the
assignment of primary keys to tables.

2. a. composite
b. foreign
c. surrogate
d. candidate

________ keys are usually numeric, they are often automatically generated by the DBMS, they are
free of semantic content (they have no special meaning), and they are usually hidden from the end
users.
3. a. Candidate
b. Composite
c. Foreign
d. Surrogate

Improving ________ leads to more flexible queries.

a. derived attributes
4. b. denormalization
c. atomicity
d. normalization

Which of the following would be the best name for a column representing the charges per hour in a
table named JOB?

5 a. CHG_HR
b. CHARGES_PER_HOUR_FOR_JOB
c. CHARGES_PER_HOUR
d. JOB_CHG_HOUR

In an ideal (database design) world, the level of desired granularity is determined at the ________
design or at the requirements gathering phase.

6. a. conceptual
b. functional
c. data
d. external

7 Storing a(n) ________ attribute in a table makes it easy to write the application software to produce
the desired results.

a. derived
b. incomplete
c. redundant
d. duplicate

____ refers to the level of detail represented by the values stored in a table's row.

a. Granularity
8. b. Depth
c. Atomicity
d. Duplication

A ________ key makes it more difficult to write search routines.

a. foreign
9. b. primary
c. composite primary
d. surrogate

To implement a surrogate key, MS Access uses an AutoNumber data type, MS SQL Server uses an
identity column, and Oracle uses a(n) ________ object.

10. a. generator
b. sequence
c. auto increment
d. keygen

In a real-world environment, we must strike a balance between design integrity and ________.

a. uniqueness
11. b. anomalies
c. robustness
d. flexibility

Assume you have the following table:


JOB_CODE JOB_DESCRIPTION JOB_CHG_HOUR
511 Programmer $35.75
512 Programmer $35.75
12.
How might you eliminate the possibility of duplicate entries for JOB_DESCRIPTION?

a. there is no way to eliminate the duplication


b. use a unique index for JOB_DESCRIPTION
c. create a foreign key on JOB_CODE
d. create a surrogate key for the table

Most designers consider Boyce-Codd normal form (BCNF) as a special case of ________.

a. 1NF
13. b. 2NF
c. 3NF
d. 4NF
Tables in ________ will perform suitably in business transactional databases.

a. 0NF
14. b. 1NF
c. 2NF
d. 3NF

A table where every determinant is a candidate key is said to be in ________.

a. 2NF
15. b. 3NF
c. 4NF
d. BCNF

When a table contains only one ________ key, the 3NF and the BCNF are equivalent.

a. candidate
16. b. foreign
c. surrogate
d. primary

Assume the following table definition and dependencies. In which normal form is this table?
TABLE(A, B, C, D)
A + B   C, D
C   B
17.
a. 1NF
b. 2NF
c. 3NF
d. BCNF

BCNF can be violated only if the table contains more than one ________ key.

a. foreign
18. b. candidate
c. primary
d. secondary

In BCNF, every ________ in a table is a candidate key.

a. determinant
19. b. atomic attribute
c. primary key
d. entity

20. Assume the following table definition and dependencies. How many tables would be produced by
converting to BCNF?
TABLE(STU_ID, STAFF_ID, CLASS_CODE, ENROLL_GRADE)
STU_ID + STAFF_ID   CLASS_CODE, ENROLL_GRADE
CLASS_CODE   STAFF_ID

a. one
b. two
c. three
d. four

When designing a database you should ________.

a. create table structures then normalize the database


21 b. consider more important issues such as performance before normalizing
c. only normalize the database when performance problems occur
d. make sure entities are in normal form before table structures are created

A table where all attributes are dependent on the primary key and are independent of each other,
and no row contains two or more multivalued facts about an entity, is said to be in ________.

22. a. 1NF
b. 2NF
c. 3NF
d. 4NF

The conflicts between design efficiency, information requirements, and performance are often
resolved through ________.

23. a. conversion from 1NF to 2NF


b. compromises that may include denormalization
c. conversion from 2NF to 3NF
d. conversion from 3NF to 4NF

Lower normalization forms occur (and are even required) in specialized databases known as
________.

24. a. data warehouses


b. historical databases
c. data dumps
d. operational databases

Unnormalized tables yield no simple strategies for creating virtual tables, which are also known as
________.
a. sets
25.
b. indexes
c. views
d. warehouses

You might also like