Desk Checking and Sub Routines (1 Viewer)

DJGerber

3rd Year BIT @ UTS
Joined
Aug 20, 2004
Messages
92
Location
Sydney, NSW, Australia
Gender
Male
HSC
2004
I've got no problem doing a desk check on a given algorithm, just rule up a table with a column for each variable and a column for output and navigate my way throught the code - BUT, what happens when I reach a sub routine? (ref: HSC 2001, Q21). How do I seperate local and global variables and local variables that share the same name across sub routines - what a mess.

Any ideas?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top