Basic Definitions V Flashcards
boolean function
A function that returns a boolean value.
composition (of functions)
Calling one function from within the body of another, or using the return value of one function as an argument to the call of another.
dead code
Part of a program that can never be executed, often because it appears after a return stateme
fruitful function
A function that yields a return value.
incremental development
A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
None
A special Python value returned by functions that have no return statement, or a return statement without an argument. None is the only value of the type, NoneType.
return value
The value provided as the result of a function call.
scaffolding
Code that is used during program development but is not part of the final version.
temporary variable
A variable used to store an intermediate value in a complex calculation.
unit testing
An automatic procedure used to validate that individual units of code are working properly. Python has doctest built in for this purpose.