click below
click below
Normal Size Small Size show me how
AI 2.1-2.5
| Term | Definition |
|---|---|
| Redundancy | Duplicated or replicated code within a program. |
| for loop | A type of loop that repeats for a given number of repetitions. |
| Parameter | A value provided as input to a code block or a predefined procedure. |
| header (of a code block) | The first line of a code block that embodies other blocks. The top line of text for an event handler block, or an if-else block, or a for loop. |
| local variable | A variable that is only accessible inside a block of code or a procedure. |
| Procedure | A set of code that performs an action and is considered a type of abstraction. |
| List | An ordered collection of data elements stored and accessed in a program. |
| Initialize | To assign a variable its initial, or first, value. |
| dynamic list | A list whose items can change during the runtime of a program. |
| traverse (a list) | To loop through a list of items, one item at a time. |
| persistent data | Any data that is stored and not lost after the application is terminated or power to the device is shut off. |