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 | Strings Methods |
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 set of functions built into programming languages that allows manipulation and modification of strings. | A statement used in a subprogram to return a value to the calling program. |
String Manipulation | Concatenation |
Substring | Length |
Indexing | Case Conversion |
Replacing | Splitting |
The action of combining multiple strings together to form a single longer string. | The process of altering or transforming strings to achieve a desired result. |
The number of characters in a string. | A portion of a string that is extracted based on its starting and ending positions. |
Changing the case (uppercase or lowercase) of characters within a string. | The process of accessing individual characters within a string using their position. |
Dividing a string into multiple substrings based on a specified separator. | Swapping certain characters or substrings in a string with new ones. |
Trimming | String Slicing |
Start Index | End Index |
Step Value | Positive Index |
Negative Index |
The method used to extract a subset of characters from a string. | Removing leading and trailing whitespace characters from a string. |
The position of the first character to exclude from the slice. | The position of the first character to include in the slice. |
Tthe position of a character starting from the beginning of the string. | The number of positions to skip between characters in the slice. |
The position of a character starting from the end of the string. |