Question 4(c)(ii) 2015 · October-November · Paper 41 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (c)
(ii)
(ii)
A procedure that calls itself // is defined in terms of itself
Show text version of question
Question 4
Part (c)
(ii)
Question 4
A binary tree Abstract Data Type (ADT) has these associated operations:
- create the tree (CreateTree)
- add an item to tree (Add)
- output items in ascending order (TraverseTree)
programmer writes a recursive procedure in pseudocode.
(ii)
Explain what is meant by a recursive procedure. Give a line number from the code above
that shows procedure TraverseTree is recursive.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
Line number ..................................................................................................................[2]
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 9608_w15_qp_41.pdf
