Keyword | Definition |
---|---|
Conditional statement | A control structure that is used to make decisions and to execute different statements or instructions based on the value of a conditional expression. |
Control structure | A fundamental building block of an algorithm or a program, such as a conditional statement or a loop, that is used to control the flow of execution and to make decisions based on the input or state of the program. |
Function | A named block of code that returns a value to the caller when it has finished executing. |
Procedural programming | A programming paradigm that is based on the idea of using procedures or subroutines to modularize a program, and of using control structures such as loops and conditional statements to specify the order in which the procedures should be executed. |
Procedure | A named block of code that performs a specific task or function, and that can be called from other parts of a program. |