Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Student_ID, Subject_1, Subject_2, Subject_3 | AA repeating group is a 1NF problem, not a 3NF problem. 3NF problems are transitive dependencies. | |
| 2Primary key (OrderID, ProductID) with ProductName in the table | BRow (1, Ava, Red, Ms Lee) repeats Red and Ms Lee for every Red student | |
| 3Transitive dependency: a non-key field depends on another non-key field, so the table fails 3NF | CStudentID -> House -> HouseCaptain | |
| 4Justify a failed check with an example row from the table | DFails 2NF: partial dependency on part of the key | |
| 5Check 3NF first, then 2NF, then 1NF | EThe normal forms must be checked in order: 1NF, then 2NF, then 3NF, because each form builds on the one before. | |
| 6Table fails 3NF because it has a repeating group | FFails 1NF: repeating group of columns |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
normal form check — Test a table against 1NF, then 2NF, then 3NF, naming each dependency problem found (repeating group, partial or transitive) and backing it up with an example row.-- Row 1: Phone = 0412, 0498 breaks 1NF-- ProductName depends on ProductId only
-- This is a partial dependency (2NF)-- Suburb depends on Postcode, not the key
-- This is a transitive dependency (3NF)CREATE TABLE Product (
ProductId INT PRIMARY KEY,
Name VARCHAR(30));SELECT Postcode, Suburb, COUNT(*)
FROM Customer
GROUP BY Postcode, Suburb;