ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
1 mark · Assignment, arithmetic and concatenation
The program below issues customers with a username. … Line 11 RECEIVE firstName FROM (STRING) KEYBOARD Line 12 RECEIVE yearOfBirth FROM (STRING) KEYBOARD Line 13 SET userName TO firstName & yearOfBirth Line 14 SEND userName TO DISPLAY Describe how the value assigned to the userName variable is created in Line 13.
• concatenation • description of two strings being joined Award 1 mark for any one bullet. Do not award a mark for “adding” strings.