What is a Trace Table and Why do We Need One?
Exam Style Trace Tables
The following code is taken from a GCSE exam paper. It shows a control conidtioned loop written in pseudocode. To the right we can see each value of x and y that will be stored when the code is executed. The output column is blank until the loop has completed, you then see the output.
You can check these values by creating this program, breakpointing and watching the variables as you step through the code.
You can check these values by creating this program, breakpointing and watching the variables as you step through the code.
Want to know more?
Check the following video for a step by step guide.