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

N5 Computing Science 2024 Question 5

2 marks · Data types and structures

State the most suitable data structure used to store the bridge names. State the predefined function that should be used to select any one of the 20 stored bridge names as the winner. A competition was run to suggest names for a new bridge. The 20 most popular bridge names have been identified and stored.

Marking scheme

array random Accept language specific functions: eg randint, rnd

Previous question: N5 Computing Science 2024 Question 4

Next question: N5 Computing Science 2024 Question 6