Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 9 - No. 41)

Why are trace tables useful in debugging an algorithm?
To provide a detailed summary of the algorithm's structure.
To illustrate how the values of variables change throughout the execution of the algorithm.
To represent the algorithms in machine code.
To provide input data for use with the algorithm.

Explanation

Trace tables show the variable changes.

Comments (0)

Advertisement