Control Flow
The control flow is the path of execution through a program.
Related concepts: SequenceConditionalLoop
Closest Wikipedia entry: Control flow — In computer science, control flow (or flow of control) is the order in which individual statements, instructions or function calls of an imperative program are executed or evaluated. The emphasis on explicit control flow distinguishes an imperative programming language from a declarative programming language. Within an imperative programming language, a control flow statement is a statement that results in a choice being made as to which of two or more paths to follow.
Misconceptions about Control Flow34 documented Misconceptions
Check YourselfConditionalIsSequence
If-then-else block is equivalent to sequence of two if-then blocksElseAlwaysExecutes
The else branch of an if-then-else block always executesMissingElseTerminates
Blocks following an if without else will not execute if the condition is falseRepeatDistributes
Each block in a loop is repeated individuallyResetStateEachLoopIteration
The computation of all loop iterations starts from the state before the loop