1 minute read
Algorithms
9 Designing algorithms
9.1 The context for the design process 133 9.2 Top-down design 135 9.3 Structure diagrams 135
10 Checking inputs
10.1 Validation and verification 10.2 Categories of validation 10.3 Programming validation 10.4 Verification 10.5 Check digit 142 142 144 151 152
11 Testing
11.1 Categories of error 11.2 The testing framework 156 157 11.3 Debugging
159 11.4 Using a debugger 160 11.5 Using a trace table in a dry-run 164
12 Programming scenario task
12.1 Suggestions for tackling the question 169 12.2 Coding a solution 172 12.3 Final thoughts 173