Note AcademyNote Academy

Computer Science · Oct / Nov 2021 · Paper 1 SL · Question 8

Adapt for 2027Tracing a loop is taught, but the old IB pseudocode should be rewritten in Python or Java first.

IBCS

As printed in the paper

The question as text

8. Construct a trace table for the following algorithm: K = 0 I = 0 loop while 6 > I K = K + I I = I + 2 end loop output(K) [3]

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.