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.name | ADeclares a new record called book | |
| 2DECLARE book OF RECORD | Bstudent.age | |
| 3Groups related fields under one record name | CWrong - use ← for assignment, not = | |
| 4Connects a record name to one of its fields | DDECLARE car OF RECORD | |
| 5student.name = "Sam" | EWrong - use a dot (.) to access a field, not a colon | |
| 6DISPLAY student:name | FAccesses the name field of the student record |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
student.name — Accesses the name field of the student record, using a dot to connect the record to its field.student.name ← "Sam"DISPLAY student.namestudent.age ← 15DECLARE student OF RECORDbook.title ← "Dune"