Can someone please tell me how to do this trace table, I missed a lot of my classes and so i'm not sure how to do this.
Here is the algorithm and trace table (The numbers held in an array Sift, where the size of the array is 10. All of the variables used in the algorithm are integers.).
Turn on thread page Beta
Trace Table watch
- Thread Starter
- 05-02-2006 21:45
- 06-02-2006 16:55
Basically you work through the algorithm line by line. Every time data CHANGES, you write the new value in the table working left to right and top to bottom.
The hard bit is keeping track of where you are in the algorithm. I \ each line as I reach it and / when I leave it.