Answer

  1. You need to know the name of the subroutine.

  2. You need to know the number and types of the arguments.

  3. You need to know if there are any restrictions on the possible values of the arguments.

  4. You need to know what side effects the subroutine causes. (Generally, assignments to parameters and input/output.)

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu