ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions

N5 Computing Science 2025 Question 14

3 marks · Data dictionary and validation

Complete the missing attribute and attribute type in the table below. Attribute Attribute type contactNum Boolean Errors are made when data is entered for new employees. State one attribute where restricted choice validation could be used to reduce errors. A restaurant stores employee details in a database. Each employee is trained as either a chef, a server, a manager or a cleaner. Sample data from the database is shown below. Employee empID empName jobTitle startDate fullTime contactNum 117254 Alex Roberts Manager 21/10/24 ✓ 07701675815 259631 Rayyan Patel Chef 05/09/23 ✓ 07778589526 300193 Charlie King Server 10/03/25 07789900991 220205 Sam Scott Cleaner 13/02/25 07811606115 576482 Drew Moore Cleaner 30/12/24 07705900169 365482 Carter Price Server 23/01/25 07716168759 419372 Rowan Kelly Chef 07/07/24 ✓ 07700148652 895714 Jun Baek Server 30/04/25 07812612568 681354 Nikan Khan Manager 06/08/23 ✓ 07780254369 … … … … … …

Marking scheme

• text • fullTime Do not award a mark for ‘string’. jobTitle Also allow: • startDate • fullTime

Previous question: N5 Computing Science 2025 Question 13

Next question: N5 Computing Science 2025 Question 15