Past-paper question · 2018 May-June · Paper 32 · Q2(a)(iii)

Question 2(a)(iii) 2018 · May-June · Paper 32 · 1 mark

Original past-paper question for 2(A)(III)
Original past-paper question for 2(A)(III)
Original past-paper question for 2(A)(III)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)(III)

Official answer for Question 2

Part (a)

(iii)

✓
There are two operators (only one is allowed) // three variables on the right hand

Question 1

✓
side but only two allowed

Mark scheme 9608_s18_ms_32.pdf →

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]

Topic relevance

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

Keep practising this topic