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 | |
|---|---|---|
| 1validation | ATyped 'abc' into a Score field -> average is wrong | |
| 2verification | BAge must be between 11 and 14 | |
| 3Validation catches an impossible value, like a student age of 150 when the allowed range is 11 to 14 | CWithout validation, a typo like 1750 instead of 175 is accepted. A range check would have rejected it. | |
| 4Garbage in, garbage out means bad data entered gives bad results, so validation helps keep it clean | DValidation only checks data is reasonable and allowed, not that it is correct. Verification against the source is needed to catch this typo. | |
| 5Height (cm): 1750 accepted, because the cell has no validation | EAn automatic check that data is reasonable and allowed when it is entered, like being in range or the right type | |
| 6Validation proves 'Jorda' is the correct spelling of the student's name Jordan | FChecking that data matches the original source, such as re-reading what you typed against the survey form |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
validation — An automatic check that data is reasonable and allowed when it is entered, such as being in range or the right type, so typos and impossible values are caught.IF age < 0 OR age > 120 THEN
DISPLAY "Invalid age"
END IF=IF(AND(B2>=0,B2<=100),"OK","Check")REPEAT
INPUT score
UNTIL score >= 0 AND score <= 100IF NOT ISNUMBER(age) THEN
DISPLAY "Enter a number"
END IFIF mark > 100 THEN
DISPLAY "Mark is impossible"
END IF