ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
2 marks · Data dictionary and validation
A school carried out a survey to find out how pupils travel to school. Pupils completed the survey shown below. Mode of transport Car Bus Walk Cycle Other Class Scottish Candidate Number (This is your 9-digit code) Please answer the questions below. All results were stored in a database. A sample record is shown below. scotN class transport 132548702 4N1 Bus Complete the table below to identify the validation for the fields scotN and transport. Validation Field scotN transport
• ScotN: Length Check/9 characters/Range Check/Presence Check • Transport: Restricted Choice/ Car, Bus, Walk, Cycle, Other