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 | |
|---|---|---|
| 1Row 14: Changed 'Vic.' to 'VIC' (6 rows) | AA cleaning log entry that records what changed and how many rows were affected | |
| 2Reason: Removed duplicate survey entries | BThe 'why' part of a cleaning log entry, explaining the purpose of the change | |
| 3A log entry should show how many rows were affected, so the change can be checked | CThe log was not recorded as each change was made, so details may be forgotten or wrong | |
| 4A cleaning log lets another person repeat the cleaning in the same steps | DToo vague: it does not say what changed, how many rows were affected or why | |
| 5Log: Fixed some data | EDeleted blank rows: 12 rows affected | |
| 6Cleaned the data, then wrote the log a week later from memory | FStep 3: TRIM applied to column B (names), 40 rows |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
cleaning log — A record of each change made to the data: what changed, how many rows it affected and why. It lets other people check the cleaning and repeat it.CREATE TABLE CleaningLog (why TEXT);INSERT INTO CleaningLog VALUES ('Trim', 12);=COUNTIF(B2:B101,"N/A")SELECT SUM(rowsAffected) FROM CleaningLog;SELECT why FROM CleaningLog;