19.2 Recursion
9 questions in this subtopic. Open a question to solve it and check the official answer.
Recursion · 1 mark · official answer ready
(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]
Recursion · 4 marks · official answer ready
(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]
Recursion · 1 mark · official answer ready
(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…
Recursion · 1 mark · official answer ready
(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]
Recursion · 4 marks · official answer ready
(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]
Recursion · 1 mark · official answer ready
(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…
Recursion · 1 mark · official answer ready
(ii) Write the line number from the pseudocode shown in part (b) that shows the procedure X is recursive. .............................. [1]
Recursion · 4 marks · official answer ready
(i) Complete the trace table for the dry-run of the pseudocode for the procedure CALL X(1, 9). MyList Index Item 1 2 3 4 5 6 7 8 9 10 [4]
Recursion · 1 mark · official answer ready
(ii) State the purpose of procedure X when used with the array MyList. ............................................................................................................…
