2025 Home

Question 3

Section 1: Software design and development, and Computer systems

Part of a program is shown below.

…
Line 34	 RECEIVE xyz FROM (INTEGER) KEYBOARD
Line 35	 SET abc TO xyz ^ 2
…

(a) State the value stored in abc when ‘3’ is entered by the user at Line 34.

1 mark

(b) The programmer has not used internal commentary or white space in their code.

State one other way to improve the readability of this code.

1 mark