Question 1(b)(i) 2014 · May-June · Paper 33 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(i)
Part (b)
(i)
Valid – using rules 1 and 4
Show text version of question
Question 1
Part (b)
(i)
Question 1
A set of Backus-Naur Form (BNF) rules to define a variable identifier is as follows:
1. <Letter> ::= a | b | c | d | e | f | g | h 2. <Digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 3. <Character> ::= <Letter> | <Digit> 4. <VarName> ::= <Letter> | <VarName><Character> For each of the expressions in the table below, state whether it is a valid <VarName>.
List the rule number(s) in the order you have applied them to arrive at your decision.
Expression Valid or invalid Rules used
(i)
f
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_s14_qp_33.pdf
