Study sets, textbooks, questions
Upgrade to remove ads
Terms in this set (11)
a small program that exist within a larger program
a reusable sub-program
have their own variables, inputs and outputs
each sub-program is given a ______ which must be _________ from other variables, command words or other sub-programs in the program.
what is the subprogram name followed by?
a parameter list
a list of variables that are used to transfer variables from outside the sub program for use inside the sub-program
what are the variables making up the parameter list are known as When a sub-program is being defined?
A copy of the value of the variable is made and only the copy is used by the sub-program leaving the original value outside the sub-program unchanged
Pass by Value
is used when changes to values have to be passed back to the part of the program i.e. for inputs to and outputs from the sub-program.
pass by reference
what are the three categories of sub-programs
Procedures, Functions, Methods
many or one input but always one output
Sets with similar terms
CHAPTER 13 PROGRAMMING & LANGUAGES
cecs 100 ch11
Prelude To Programming Chapter 03