Question 5(b) 2015 · May-June · Paper 33 · 4 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 5
Part (b)
Question 5
(i)
What is meant by a recursive rule? ........................................................................................................................................... .......................................................................................................................................[1]
(ii)
For each statement below, state whether it is TRUE or FALSE. Statement TRUE or FALSE None of the given rules are recursive Rule 4 is recursive Rule 5 is recursive
Question 7
Part (b)
Complete the pseudocode procedure below to initialise the stack.
Animal StackPointer
- 1
0 ””
Question 1
””
Question 2
”” : :
Question 99
”” PROCEDURE InitialiseStack FOR Index 0 to 99 Animal[............................................................................................................] "" ENDFOR StackPointer ............................................................................................................... ENDPROCEDURE
Question 13
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_s15_qp_33.pdf
