Home > Software Design and Development > Core > Software Development Cycle > Testing an algorithm
| Variables | Outputs | ||||
|---|---|---|---|---|---|
| Count | Hours | Totalhours | Payrate | Pay | |
| 0 | 0 | 10.00 | |||
| 1 | 4 | 4 | |||
| 2 | 2 | 6 | |||
| 3 | 0 | 6 | |||
| 4 | 8 | 14 | |||
| 5 | 0 | 14 | |||
| 6 | 0 | 14 | |||
| 7 | 4 | 18 | 180 | 180 | |
Activity 2
Logic errors would be detected with a walk through, for example a WHILE LOOP that loops 9 times instead of 10.