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-else is equivalent to sequence of two ifs
Misconception
DeferredReturn
A return statement in the middle of a function doesn't return immediately
Misconception
IfIsLoop
The body of an if-statement executes repeatedly, as long as the condition holds
Misconception
NoShortCircuit
and/or always evaluate both operands
Misconception
OutsideInFunctionNesting
Nested function calls are invoked outside in
Misconception
RecursiveFunctionNeedsIfElse
A recursive function needs to contain an if-else statement
Misconception
RightToLeftChaining
Chained accesses are invoked from right to left

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors