Procedure | Parameter |
Return Value | Local Variable |
Global Variable | Recursion |
Function | Argument |
Placeholders in a function's definition that outline the type and number of inputs the function can accept | A set of instructions that performs a specific task and does not return a value. |
A variable declared within a function which can only be accessed within that specific function. | The result of executing a function, sent back to the code that called it. |
A programming technique involving a function that calls itself to solve a problem. | A variable declared outside any function or procedure, which can be accessed from any part of the program. |
A value that is passed to a function or procedure when it is called. | A reusable block of code that performs a specific task and returns a value. |
Call | Modularization |
Function Scope | Block Scope |
Scope | Subprogram |
Return Statement |
The process of dividing a program into separate functions or procedures to make it more organized and easier to maintain. | The act of executing a function or procedure. |
The area within a program where variables are accessible within a block of code, such as within an if statement or a loop. | The area within a program where variables and functions are accessible. |
A Segment of code that perform a specific task and can be called from within a program. | The area in a program where a variable can be accessed |
A statement used in a subprogram to return a value to the calling program. |