click below
click below
Normal Size Small Size show me how
interface design
vocab interface design
| Question | Answer |
|---|---|
| Instance | A member of a set. The TurtleWorld in this chapter is a member of the set of Turtle- Worlds. |
| Loop | A part of a program that can execute repeatedly |
| Encapsulation | The process of transforming a sequence of statements into a function definition. |
| Generalization | The process of replacing something unnecessarily specific (like a number) with something appropriately general (like a variable or parameter). |
| Keyword Argument | An argument that includes the name of the parameter as a “keyword.” |
| Interface | A description of how to use a function, including the name and descriptions of the arguments and return value. |
| Refactoring | The process of modifying a working program to improve function interfaces and other qualities of the code. |
| Docstring | A string that appears in a function definition to document the function’s interface. |
| Precondition | A requirement that should be satisfied by the caller before a function starts. |
| Postcondition | A requirement that should be satisfied by the function before it ends. |
| Development plan | A process for writing programs. |
| Precondition | A requirement that should be satisfied by the caller before a function starts. |