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

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

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

Official answer for Question 2

Part (a)

(ii)

✓
D is not a valid letter

Question 1

Mark scheme 9608_s18_ms_32.pdf →

Show text version of question

Question 2

Part (a)

(ii)

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.

(ii)

A = B − D;

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