ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
2 marks · Data types and structures
A confectionery company requires a program to store information about boxed chocolates. Complete the table below to state which types of variable should be used. Variable Type of variable chocolateName inStock Boolean numberOfChocolatesInBox
• string • integer Accept str, int chocolateName: string numberOfChocolatesInBox: integer