CIS 211 TEST 2 QUESTIONS WITH VERIFIED ANSWERS
Every relation contains: - Answers - Full key functional dependency
If P --> Q is an existing functional dependency, which of the following is
NOT an augmented functional dependency? - Answers - Q --> P
Which of the following (regarding the relation ENROLLMENT)
represents the insertion anomaly? - Answers - Inability to insert a major
without adding a student
Which of the following (regarding the relation ENROLLMENT)
represents the modification anomaly? - Answers - If a major name
changes, it may have to be changed in more than one record
Which of the following is in danger of being affected by the deletion
anomaly in the table ENROLLMENT (with its current 3 records)? -
Answers - Major E, English
Which of the following actions in the table ENROLLMENT will be
affected by a modification anomaly (with its current 3 records)? -
Answers - None of the above
What type of functional dependency does NOT exist in the table
ENROLLMENT? - Answers - Partial
Table ENROLLMENT is: - Answers - In 2NF but not in 3NF
Which of the following is a part of a DML statement? - Answers -
SELECT
Which of the following statements would be used to drop a column from
the table? - Answers - ALTER TABLE
What is the result of the following SQL query? SELECT ename FROM
employee WHERE esalary = (SELECT MAX(esalary) FROM employee);
- Answers - The query displays the name of the employee (or
employees) with the highest salary
Every relation contains: - Answers - Full key functional dependency
If P --> Q is an existing functional dependency, which of the following is
NOT an augmented functional dependency? - Answers - Q --> P
Which of the following (regarding the relation ENROLLMENT)
represents the insertion anomaly? - Answers - Inability to insert a major
without adding a student
Which of the following (regarding the relation ENROLLMENT)
represents the modification anomaly? - Answers - If a major name
changes, it may have to be changed in more than one record
Which of the following is in danger of being affected by the deletion
anomaly in the table ENROLLMENT (with its current 3 records)? -
Answers - Major E, English
Which of the following actions in the table ENROLLMENT will be
affected by a modification anomaly (with its current 3 records)? -
Answers - None of the above
What type of functional dependency does NOT exist in the table
ENROLLMENT? - Answers - Partial
Table ENROLLMENT is: - Answers - In 2NF but not in 3NF
Which of the following is a part of a DML statement? - Answers -
SELECT
Which of the following statements would be used to drop a column from
the table? - Answers - ALTER TABLE
What is the result of the following SQL query? SELECT ename FROM
employee WHERE esalary = (SELECT MAX(esalary) FROM employee);
- Answers - The query displays the name of the employee (or
employees) with the highest salary