Past-paper question · 2013 May-June · Paper 33 · Q2(b)(ii)
Question 2(b)(ii) 2013 · May-June · Paper 33 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
(ii)
(ii)
Rule 6
[1]
Show text version of question
Question 2
Part (b)
(ii)
A
set of BNF rules describe a data structure called a list.
1. <Char> ::= a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z 2. <ListItem> ::= <Char> 3. <Comma> ::= , 4. <LSquareBracket> ::= [ 5. <RSquareBracket> ::= ] 6. <Contents> ::= <ListItem> | <ListItem> <Comma> <Contents> 7. <List> ::= <LSquareBracket> <Contents> <RSquareBracket>
(ii)
State the rule above which is recursive.
Rule number is recursive.
[1]
Topic relevance
Why this question appears here
98% assigned-topic match · Computational thinking and problem-solving › Recursion
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_33.pdf
