Question 3(c)(i) 2024 · May-June · Paper 42 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (c)
(i)
Question 1
mark each
Question 4
Show text version of question
Question 3
Part (c)
(i)
Question 3
A program sorts an array of integers and searches the array for a particular value.
The function RecursiveInsertion()can be changed to use iteration instead of recursion.
(i)
Write program code for the function IterativeInsertion()to perform the same
processes as RecursiveInsertion()but using iteration instead of recursion.
Save your program.
Copy and paste the program code into part 3(c)(i) in the evidence document.
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 9618_s24_qp_42.pdf
