Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Control Flow

Control Flow

The control flow is the path of execution through a program.

Related concepts:  SequenceConditionalLoop

Closest Wikipedia entry:  Control flow

Misconceptions about Control Flow
28 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
ConditionalIsSequence
If-then-else block is equivalent to sequence of two if-then blocks
Misconception
ElseAlwaysExecutes
The else branch of an if-then-else block always executes
Misconception
MissingElseTerminates
Blocks following an if without else will not execute if the condition is false
Misconception
RepeatDistributes
Each block in a loop is repeated individually
Misconception
ResetStateEachLoopIteration
The computation of all loop iterations starts from the state before the loop

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors