Question 4(c)(i) 2025 · May-June · Paper 43 · 6 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 4
Part (c)
(i)
Question 4
Question 56
Question 67
Question 44
Question 43
Question 32
Question 31
345
Question 45
Question 6
Question 54
Question 1
Save your program as Question2_J25. Copy and paste the program code into part 2(a) in the evidence document.
Part (c)
The procedure OutputArray() takes an array of integers as a parameter. The procedure
outputs each element in the array from the first element to the last element. The output is on one line with a space between each number. An example output is: Write program code for OutputArray() Save your program. Copy and paste the program code into part 2(c) in the evidence document.
Question 5
Part (c)
(i)
The main program creates a new LinkedList object and uses the appropriate method to insert five nodes with the following integer data values in the order given:
Question 10
Question 20
Question 30
Question 40
Question 50
The main program then: • calls Traverse() • removes the node containing the integer data 30 using RemoveNode() • calls Traverse() Write program code for the main program. Save your program. Copy and paste the program code into part 3(c)(i) in the evidence document.
Why this question appears here
71% assigned-topic match · Programming › Structured programming
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_s25_qp_43.pdf
