Question 2(a)(iii) 2018 · May-June · Paper 32 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 2
Part (a)
(iii)
Question 1
Show text version of question
Question 2
Part (a)
(iii)
Question 2
The following syntax diagrams show the syntax of:
- an assignment statement
- a variable
- an unsigned integer
- a letter
- a digit
- an operator
assignment statement variable = variable operator variable ;
variable letter unsigned integer
unsigned integer digit
letter A
B
C
digit operator 1 +
2 -
3 *
4 /
Question 5
Question 5
The following assignment statements are invalid.
Give the reason in each case.
(iii)
C4 = B2 − A1 + C3;
Reason ..............................................................................................................................
.......................................................................................................................................[1]
Why this question appears here
71% assigned-topic match · Programming › Programming basics
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9608_s18_qp_32.pdf
