Login or Create an Account to view the mark scheme, comment, and add to a test
Construct a trace table for the following algorithm.
[4] K = 1
N = 1
M = 100
loop while K < 4
output(N,M)
K = K + 1
N = N + K
M = M - N
end loop
Short Answer4 MarksPremium
38 Uses43 Views0 Likes