We use Trace Tables to track and monitor the values in an algorithm. A trace table is used to test an algorithm and predict step by step how the computer will run the algorithm. It can be used to to identify potential logic errors
(when the program compiles but does not produce the expected output).
It is probably easier to explain with an example.
The algorithm keeps looping until the count is = 5 then it stops . The table traces (tracks) the number of loops, the value of count and the value of a.