Procedures can only return a single value.
Which of these performs a single task?
Functions
Procedures
Both
Neither
Functions and procedures are blocks of code, and use values as for tasks.
Which type of variable do functions and procedures use to perform tasks?
Local
Global
Passing by reference changes the value of the variable being used in a procedure/function.
Stepwise refinement involves:
Breaking a problem into a few, large parts...
...until each task can be written as a single function/procedure
Breaking a problem into progressively smaller tasks...
...until each task is mildly complex