Questions: First and Second Normal Forms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A table has composite primary key (StudentID, CourseID) and includes the attribute InstructorEmail, which depends only on CourseID. This violates which normal form?

AFirst Normal Form — because InstructorEmail may contain non-atomic values
BSecond Normal Form — because InstructorEmail has a partial dependency on the key
CThird Normal Form — because InstructorEmail depends on a non-key attribute
DNo normal form is violated — a non-key attribute may depend on any part of the key
Question 2 Multiple Choice

In a flat enrollment table, a student's only course enrollment is deleted to record a withdrawal. As a side effect, the student's name and contact information are also lost. This is an example of:

AAn update anomaly — the same data exists in multiple places and only one copy was updated
BAn insertion anomaly — new data cannot be inserted without providing unrelated information
CA deletion anomaly — deleting one fact unintentionally destroys another unrelated fact
DA 1NF violation — the row contained multiple values in a single column
Question 3 True / False

A table with a single-column primary key can still violate Second Normal Form if non-key attributes depend on primarily part of that key.

TTrue
FFalse
Question 4 True / False

Storing a student's enrolled courses as 'CS101, CS202, CS303' in a single column violates First Normal Form.

TTrue
FFalse
Question 5 Short Answer

What is a partial dependency, and why does it cause update anomalies in a database table?

Think about your answer, then reveal below.