Computer Science · Oct / Nov 2018 · Paper 1 HL · Question 12
Adapt for 2027Selection sort (B2.4.3) on parallel and two-dimensional arrays is on the syllabus; the pseudocode parts should be written in Python or Java.
IBCS
As printed in the paper
The question as text
12. The following method, swap(A,B)is written to exchange the values of variables A and B. swap(A,B) TEMP = A B = TEMP A = B end swap
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
12(a)(i)[1]
12(a)(ii)[2]
12(b)[4]
12(c)(i)[1]
12(c)(ii)[1]
12(d)[6]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

