Computer Science · May / June 2025 · Paper 1 TZ2 HL · Question 12
Adapt for 2027Stack operations are B2.2.3 and tracing recursion is B2.4.5 (HL only), but the algorithms should be written in Python or Java instead of IB pseudocode.
IBCS
As printed in the paper
Show the answer and mark scheme
12(a)[5]
12(b)[4]
12(c)[6]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

