Past-paper question · 2017 October-November · Paper 33 · Q3(c)
Question 3(c) 2017 · October-November · Paper 33 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (c)
Question 2
✓
Variable
✓
Letter
✓
Letter
✓
Digit
✓
Digit
✓
<
✓
one mark
✓
> <
✓
one mark
✓
>
✓
Syntax diagram shows one or two letters
Question 1
✓
Syntax diagram shows zero, one or two digits
Question 1
Show text version of question
Question 3
Part (c)
Question 3
The following syntax diagrams for a particular programming language show the syntax of:
- an assignment statement
- a variable
- an unsigned integer
- a letter
- an operator
- a digit.
Assignment statement
Unsigned Variable := Variable Operator integer
Variable Digit Letter Digit
Question 1
Unsigned integer
Question 2
Digit
Question 3
Question 4
Letter Operator
Question 5
A
+
B
– 6
C
* 7
^ 8
Question 9
0
Question 6
Part (c)
The definition of <variable> is changed to allow:
- one or two letters and
- zero, one or two digits.
Draw an updated version of the syntax diagram for <variable>.
Variable
Letter
[2]
Topic relevance
Why this question appears here
71% assigned-topic match · Hardware › Logic gates and logic circuits
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_w17_qp_33.pdf
