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

N5 Computing Science 2019 Question 11

2 marks · Testing

The programming language below uses & to concatenate two strings. SET message TO "hello" & "world" When coding, a programmer types £ instead of & leading to an error. State the type of programming error and describe its effect. Type Effect

Marking scheme

One mark for type of error • Syntax One mark for any effect from • the program will not run • program stops (crashes) at error • reports error Effect must relate to use of “£” instead of “&”.

Previous question: N5 Computing Science 2019 Question 10

Next question: N5 Computing Science 2019 Question 12