ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
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
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 “&”.