click below
click below
Normal Size Small Size show me how
IS-IST-9
Building Blocks, Principles, and Code within Programming Language
| Term | Definition |
|---|---|
| Programming Language | A language used to write instructions a computer can execute. Examples include Python, JavaScript, and Java. |
| Code Library | A collection of reusable code that programmers can access to perform tasks without writing everything from scratch. |
| Import Statement | An instruction that makes code from a module or library available to a program. |
| Script | A program commonly used to automate tasks or control actions within another environment, such as a website or operating system. |
| Syntax | The rules for writing valid statements in a programming language. |
| Algorithm | A clear, ordered set of steps used to solve a problem or complete a task. |
| Sequence | Executing instructions in a specific order, one after another. |
| Selection | Choosing which instructions to execute based on a condition, often using if and else statements. |
| Iteration | Repeating instructions using a loop, such as a for or while loop. |
| Boolean Expression | An expression that evaluates to either True or False, such as score >= 70. |
| Variable | A named storage location for a value that a program can use or change. |
| Function | A named, reusable block of code that performs a task and may return a result. |
| Parameter | A named input in a function or procedure definition that receives a value when the code is called. |
| Argument | An actual value supplied when calling a function or procedure. |
| Function Call | An instruction that runs a function, supplying arguments when needed. |
| Procedural Abstraction | Giving a task a name through a function or procedure so programmers can use it without managing its internal steps each time. |
| Code Reuse | Using existing code again, such as calling the same function in several places in a program. |
| Readability | How easily someone can read and understand code, supported by clear formatting, organization, and names. |
| Self-Documenting Code | Code written so its purpose is clear through descriptive names and straightforward structure. Following a naming convention, or consistent naming rule, supports this goal. |
| Comment | Explanatory text in source code that is not executed and helps readers understand the program’s purpose or reasoning. |