Past-paper question · 2013 May-June · Paper 32 · Q2(b)(iii)
Question 2(b)(iii) 2013 · May-June · Paper 32 · 7 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
(iii)
(iii)
✓
Valid /
✓
Expression
✓
Rules used
✓
Invalid
✓
0
✓
Invalid
✓
1 , 4
✓
4, 2
✓
[1 + 1]
✓
combination
✓
4 then
✓
of 1,2 and 3,
✓
“1”
✓
Valid
✓
combination of 1,2
✓
and 3
✓
end with 4
✓
[1 + 1]
✓
combination
✓
4 then
✓
of 1,2 and 3
✓
combination of 1,2
✓
with rule 3
✓
“001”
✓
Valid
✓
and 3 AND rule 3
✓
used more
✓
used more than
✓
than once,
✓
once
✓
ends with 4
✓
[1 + 1 + 1]
Show text version of question
Question 2
Part (b)
(iii)
A
set of BNF rules are defined as follows:
1. <BinaryDigit> ::= 0 | 1 2. <Parentheses> ::= “ 3. <Binary> ::= <BinaryDigit> | <BinaryDigit> <Binary> 4. <BinaryString> ::= <Parentheses> <Binary> <Parentheses>
(iii)
For each expression state whether it represents a valid or invalid binary string. List
the rule number(s) in the order you have applied them to arrive at your decision.
Expression Valid/Invalid Rules used
0
“1”
“001”
[7]
Question 5
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 9691_s13_qp_32.pdf
