Summary
Amplified on parameters for procedures
- Parameters link the variables in the calling context with the variables in the procedure context
- There is a 1-to-1 relationship between the formal parameters of the procedure definition and the actual parameters of the actual procedure call
- Substitution Rule
Touched on testing …
- It is essential whenever the computer is “computing unaided”
- Use test values for which the answer is known
- If there are many types of inputs, test a range alternatives