Question 6(a) 2025 · May-June · Paper 23 · 41 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (a)
Question 5
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
Question 1
Question 2
Question 3
Question 4
Question 5
Show text version of question
Question 6
Part (a)
Question 6
This pseudocode represents an algorithm.
DECLARE Store : ARRAY[1:100] OF CHAR DECLARE Word : STRING DECLARE Index : INTEGER DECLARE Letter : CHAR INPUT Word FOR Index 1 TO LENGTH(Word) Letter SUBSTRING(Word, Index, 1) CASE OF Letter 'A' : Letter ""
'E' : Letter "" 'I' : Letter "" 'O' : Letter "" 'U' : Letter "" ENDCASE Store[Index] Letter NEXT Index FOR Index 1 TO LENGTH(Word) IF Store[Index] <> "" THEN OUTPUT Store[Index] ENDIF
NEXT Index
Question 9
, ,
Part (a)
Complete the trace table for the algorithm, using input data: COMPUTER
Store[] Word Index Letter
[8] OUTPUT
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
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 0478_s25_qp_23.pdf
