Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 12 - No. 7)
What is the purpose of trace tables in debugging an algorithm?
To automatically correct errors in the algorithm.
To display the output of the algorithm.
To help in understanding the flow of the algorithm and how variables change during execution.
To translate the code into machine language.
Explanation
Trace tables visualize an algorithm's step-by-step execution, showing variable changes.
Comments (0)
