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 | |
|---|---|---|
| 1studentAge | integer | 2 digits | age in years | 15 | 11 to 19 | AA complete data dictionary row: name, data type, format or size, description, example value and validation rule for a student's age | |
| 2isEnrolled | Boolean | True or False | has the student enrolled | True | must be True or False | BThe validation rule is missing: the last column is empty, so the row does not say what input is allowed, for example a length of 1 to 20 characters. | |
| 3Choosing the data type: a requirement says the system must store the student's average mark, such as 76.5, so the type column needs a number with decimals | CA data dictionary row that records a yes or no value as a Boolean, with the allowed values stated as its validation rule | |
| 4Stating the validation rule: the IPO chart says a student's year level input must be a whole number from 7 to 12 | DWrong data type: age is a whole number used in a range check, so it should be integer, not text. | |
| 5studentAge | text | 2 digits | age in years | 15 | 11 to 19 | EaverageMark | float | 3 digits, 1 decimal place | average mark across subjects | 76.5 | 0.0 to 100.0 | |
| 6firstName | string | up to 20 characters | student's first name | Ava | | FyearLevel | integer | 1 or 2 digits | school year level | 10 | 7 to 12 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
studentAge, integer, 2 digits, age in years, 15, 11 to 19 — One data dictionary row for a data item: name, data type, format or size, description, example value and validation rule. Written from a requirement or IPO chart.studentAge | integer | 2 digits |
age in years | 15 | 11 to 19studentAge | integer | 2 digits |
age in years | 15 | 11 to 19studentAge | integer | 2 digits |
age in years | 15 | 11 to 19studentAge | integer | 2 digits |
age in years | 15 | 11 to 19studentName | string | up to 30 chars |
full name | Ava Nguyen | not empty