CH 6 Functions Vocabulary
Across
- 2. Pertaining to a sequence of numbers that appear to be random, but are generated by a deterministic program.
- 4. Pertaining to a program that does the same thing each time it runs, given the same inputs.
- 5. A statement that executes a function. It consists of the function name followed by an argument list.
- 6. A function that returns a value.
- 9. A value created by an import statement that provides access to the data and code defined in a module.
- 11. A named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result.
- 13. A statement that reads a module file and creates a module object.
- 14. The syntax for calling a function in another module by specifying the module name followed by a dot (period) and the function name.
- 15. The sequence of statements inside a function definition.
- 17. A general process for solving a category of problems.
- 18. The order in which statements are executed during a program run.
- 19. A name used inside a function to refer to the value passed as an argument.
Down
- 1. A statement that creates a new function, specifying its name, parameters, and the statements it executes.
- 3. A value created by a function definition. The name of the function is a variable that refers to a function object.
- 7. Using an expression as part of a larger expression, or a statement as part of a larger statement.
- 8. A function that does not return a value.
- 10. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
- 12. The first line of a function definition.
- 16. The result of a function. If a function call is used as an expression, the return value is the value of the expression.