Vous êtes sur la page 1sur 9

key that contains more than one attribute is called a(n): Select one: a. multi-key. b. composite key.

Correct c. complex key. d. n-key. e. candidate key.

In the normalization process, if you find a candidate key that is not a determinant then you should: Select one: a. leave a copy of the determinant as a foreign key in the original relation. b. All of these c. None of these d. place the columns of the functional dependency in a new relation. e. make the determinant of the functional dependency the primary key of the new relation. Incorrect

A primary key is: Select one: a. required to be unique. b. All of these Correct c. a candidate key. d. used to identify unique rows. e. used to represent rows in relationships.

A table that meets the requirements of a relation is said to be in which normal form? Select one: a. Relational normal form (RNF) Incorrect b. Second normal form c. First normal form

d. Domain/key normal form e. Boyce-Codd normal form

A surrogate key may be appropriate under which of the following circumstances? Select one: a. The candidate keys available would produce a lot of data duplication when representing relationships. b. The candidate keys available would be prone to typographical errors. c. The candidate keys available have little meaning to the users. d. The primary key is numeric. e. Both The candidate keys available would produce a lot of data duplication when representing relationships and The candidate keys available would be prone to typographical errors Correct

In MS Access, the relationship between two tables is not actually created until:

Select one: a. The OK button in the edit relationships dialog box is clicked b. The create button in the edit relationships dialog box is clicked c. The OK button in the create relationships dialog box is clicked Incorrect d. The join button in the edit relationships dialog box is clicked e. The Create button in the create relationships dialog box is clicked

When the primary key of one relation is placed into a second relation, it is called a: Select one: a. relocated key. b. field key. c. referential integrity. d. foreign key. Correct e. candidate key.

In the normalization process, it is not necessary to: Select one: a. identify all the foreign keys of a relation. Correct b. identify all the candidate keys of a relation. c. identify all the determinants of a relation. d. identify all the functional dependencies of a relation. e. determine if every determinant is a candidate key.

The first step of the normalization process is to: Select one: a. identify all the determinants of a relation Incorrect b. split the relation into two or more new relations. c. identify all the functional dependencies of a relation. d. identify all the foreign keys of a relation e. identify all the candidate keys of a relation.

One important relational design principle is that: Select one: a. every determinant must be a candidate key. b. every primary key must be a surrogate key. c. every determinant must be functionally dependent on the primary key. d. every candidate key must not be a determinant. e. every primary key must be functionally dependent on every determinant. Incorrect Feedback The correct answer is: every determinant must be a candidate key.

A rule that requires that the values in a foreign key must have a matching value in the primary key to which the foreign key corresponds is called: Select one:

a. normalization. b. a functional dependency. c. a key matching constraint. d. a referential integrity constraint. Correct e. synchronization.

During the normalization process, the remedy for a relation that is not well formed is to: Select one: a. create a surrogate key. Incorrect b. break it into two or more relations that are well formed. c. convert it into a list. d. create a functional dependency. e. combine it with another relation that is well formed. Feedback The correct answer is: break it into two or more relations that are well formed.

A candidate key is: Select one: a. Both required to be unique and used to represent rows in relationships Incorrect b. required to be unique. c. a candidate to be the primary key. d. used to represent rows in relationships. e. Both required to be unique and a candidate to be the primary key Feedback The correct answer is: Both required to be unique and a candidate to be the primary key

Which of the following functional dependency diagrams accurately represents the following situation: A campus has many buildings. Each building has a unique name.

Each building has many rooms. All rooms in any given building are numbered sequentially starting at "101." Each room has a certain capacity although many rooms in the same building or different buildings may have the same capacity. Each room is assigned to a single department. A department may have many rooms in one or more buildings, each with the same or different capacities. Select one: a. (BuildingName, Capacity) (Department, RoomNumber) b. RoomNumber (BuildingName, Department, Capacity) c. (Department, Capacity) (BuildingName, RoomNumber) Incorrect d. BuildingName (RoomNumber, Capacity, Department) e. (BuildingName, RoomNumber) (Capacity, Department) Feedback The correct answer is: (BuildingName, RoomNumber) (Capacity, Department)

Which of the following terms is synonymous with "relation" ? Select one: a. Record b. Table Correct c. Tuple d. Attribute e. Row

Which of the following is not true about a relation? Select one: a. A relation is a two-dimensional table. Incorrect b. The order of the rows of a relation is insignificant. c. The cells of a relation must hold a single value.

d. A relation may have duplicate column names. e. A relation may not have duplicate rows. Feedback The correct answer is: A relation may have duplicate column names.

Which of the following is true about a relation? Select one: a. A relation may have multiple names. b. All entries in any column must be of the same kind. c. A relation may have duplicate rows. Incorrect d. A relation may have duplicate column names. Feedback The correct answer is: All entries in any column must be of the same kind.

In the normalization process, if you find that every determinant in a relation is a candidate key then you have determined that: Select one: a. the relation needs to have foreign keys added in order to be correctly linked to other relations. b. surrogate keys in the relation may not be correctly linked to other relations. c. referential integrity constraints concerning the relation need to be established. d. the relation needs to be broken into two or more new relations. e. the relation is well formed. Correct

Given the relations below, such that each student is assigned to one advisor, which of the following is true?

Student (SID, StudentName, Major, AdvisorID)

Advisor(AdvisorID, AdvisorName, Office, Phone)

Select one: a. AdvisorID is a foreign key. Correct b. AdvisorName is a determinant. c. SID is both a primary key and a foreign key. d. Phone is a candidate key. e. Major is a candidate key.

Given the functional dependency below, which of the following statement is not known to be true?

MedicineCode--> (MedicineName, ShelfLife, Manufacturer, Dosage)

Select one: a. ShelfLife is functionally dependent on MedicineCode b. Manufacturer is functionally dependent on MedicineCode. c. MedicineName is a determinant. d. MedicineCode is a candidate key of the relation MEDICINE (MedicineName, ShelfLife, Manufacturer, Dosage, MedicineCode). e. MedicineCode is a determinant. Incorrect Feedback The correct answer is: MedicineName is a determinant.

Which of the following is true about a key?

Select one: a. It may be non-unique. b. It may be unique. c. It may identify more than one row. d. All of these Incorrect

e. Both It may be unique and It may be non-unique Feedback The correct answer is: Both It may be unique and It may be non-unique

In the normalization process, if you find a candidate key that is not a primary key then you should: Select one: a. All of these Incorrect b. None of these c. make the determinant of the functional dependency the primary key of the new relation. d. place the columns of the functional dependency in a new relation. e. leave a copy of the determinant as a foreign key in the original relation. Feedback The correct answer is: None of these

Which of the following is not true about null values?

Select one: a. Null values cannot be avoided. b. A null value can mean that the value is known to be blank. c. A null value can mean that the value is unknown. d. A null value can mean that no value for the field is appropriate. e. A null value is ambiguous. Incorrect Feedback The correct answer is: Null values cannot be avoided.

Which of the following is not true of surrogate keys? Select one: a. They are usually generated by the DBMS. b. They are unique.

c. They are usually hidden on forms and reports. Incorrect d. They are numeric. e. They are meaningful to the users. Feedback The correct answer is: They are meaningful to the users.

Vous aimerez peut-être aussi