Ch 5 Key Terms Compsci
Across
- 3. The method body in which the parameter is located that determines the visibility of a variable within the code.
- 8. A piece of Python program text that is executed as a unit.
- 9. Created and used just like value-returning functions except they do not return a value after the function executes.
- 10. Solves a large problem by recursively breaking it down into smaller sub-problems until they can be solved directly.
- 11. Variables that are declared outside of a function
- 12. A special statement that you can use inside a function or method to send the function's result back to the caller.
- 15. An expression containing the function name followed by the function call operator, ().
- 16. Constant that returns the Eular's number: 2.718281828459045.
- 19. A special kind of variable used in a function to refer to one of the pieces of data provided as input to the function.
- 20. The code that creates or describes the purpose of the function.
- 22. Blocks of code written to carry out a specified task.
- 23. Arguments are passed in the order of parameters.
- 25. Enables you to import a module into your code.
- 26. A literal value to which you assign a name.
- 27. Statement used as a placeholder for future code.
- 28. Specifies the name of the function, and any arguments (inputs, or parameters) into the function.
Down
- 1. Through the "benefits of using ___," you can avoid rewriting the same logic or code repeatedly in a program.
- 2. Constant that returns the value of PI: 3.141592653589793.
- 4. The variables that are declared inside the function.
- 5. Defines the structure of a Python program and indicates a block of code.
- 6. A function that returns a value back to where it was called.
- 7. Used to define a null value, or no value at all.
- 13. The value that are sent to the function when it is called.
- 14. A built-in module in the Python 3 standard library that provides standard mathematical constants and functions.
- 17. A designation for a defined function that generally describes the purpose of the created function.
- 18. The context in which that variable is visible/accessible to the Python interpreter.
- 21. A file containing Python code, definitions of functions, statements, or classes.
- 24. An in-built module of Python that is used to generate random numbers in Python.