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