Question 4(a)(ii) 2013 · May-June · Paper 32 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 4
Part (a)
(ii)
(ii)
Dynamic data structure matches size to data requirements
Show text version of question
Question 4
Part (a)
(ii)
Question 4
A binary tree is implemented with three 1-dimensional arrays. For
Examiner's Use Identifier Data Type Description Data ARRAY[100] OF STRING Stores the data values LeftP ARRAY[100] OF INTEGER Stores the left index pointer RightP ARRAY[100] OF INTEGER Stores the right index pointer Root INTEGER Stores the index position of the root value An array is a static data structure.
(ii)
What benefit would be gained from using a dynamic data structure to implement a
binary tree?
Question 11
The initially empty tree has the following items added in this order: For Examiner's MELON, PEAR, BANANA, ORANGE Use
Why this question appears here
98% assigned-topic match · Data types and structures › Arrays
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
