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

N5 Computing Science 2025 Question 3

2 marks · Assignment, arithmetic and concatenation

State the value stored in abc when ‘3’ is entered by the user at Line 34. The programmer has not used internal commentary or white space in their code. State one other way to improve the readability of this code. Part of a program is shown below. … Line 34 RECEIVE xyz FROM (INTEGER) KEYBOARD Line 35 SET abc TO xyz ^ 2 …

Marking scheme

9 • meaningful variable names • indentation Award 1 mark for any one bullet. Accept a description of why the variables are meaningful.

Previous question: N5 Computing Science 2025 Question 2

Next question: N5 Computing Science 2025 Question 4