Structured program theorem
Theorem that a class of control flow graphs can compute any computable function if it combines subprograms only through sequence, selection, and iteration
In programming language theory, the structured program theorem, generally called the Böhm–Jacopini theorem, states that a class of control-flow graphs (historically called flowcharts in this context) can compute any computable function using only the following three control structures to combine subprograms (statements and blocks): Sequence Executing one subprogram, and then another subprogram Selection Executing one of two subprograms according to the value of a boolean expression Iteration Repeatedly executing a subprogram as long as a boolea...
Nº Q2635326 ★★
Uncommon · Knowledge
Structured program theorem
Theorem that a class of control flow graphs can compute any computable function if it combines subprograms only through sequence, selection, and iteration
In programming language theory, the structured program theorem, generally called the Böhm–Jacopini theorem, states that a class of control-flow graphs (historically called flowcharts in this context) can compute any computable function using only the following three control structures to combine subprograms (statements and blocks): Sequence Executing one subprogram, and then another subprogram Selection Executing one of two subprograms according to the value of a boolean expression Iteration Repeatedly executing a subprogram as long as a boolea...
From Wikipedia
In programming language theory, the structured program theorem, generally called the Böhm–Jacopini theorem, states that a class of control-flow graphs (historically called flowcharts in this context) can compute any computable function using only the following three control structures to combine subprograms (statements and blocks): Sequence Executing one subprogram, and then another subprogram Selection Executing one of two subprograms according to the value of a boolean expression Iteration Repeatedly executing a subprogram as long as a boolean expression is true More precise definitions are listed in the next section. The structured chart subject to these constraints, particularly the loop constraint implying a single exit (as described later in this article), may however use additional variables in the form of bits (stored in an extra integer variable in the original proof) in order to keep track of information that the original program represents by the program location. The construction was based on Böhm's programming language P′′. The theorem forms the basis of structured programming, a programming paradigm which eschews the goto statement, exclusively using other control semantics for selection and iteration.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
i
instruction
Single operation of a computer
Nº Q925783 ★★
Not listed
-
Boolean algebra
Branch of algebra abstracting logical operations
Nº Q173183 ★★★
Not listed
-
Four color theorem
Statement in mathematics
Nº Q184410 ★★★
Not listed
-
K
Künneth theorem
Theorem
Nº Q1307676 ★
Not listed
-
M
Multi-paradigm programming language
Programming language type
Nº Q12772052 ★★
Not listed
-
Constraint programming
Programming paradigm wherein relations between variables are stated in the form of constraints
Nº Q528588 ★
Not listed
-
Millman's theorem
Method to simplify the solution of a circuit
Nº Q588736 ★★
Not listed
-
F
Formal system
Any well-defined system of abstract thought based on the model of mathematics
Nº Q649732 ★★★
Not listed
-
E
Event-driven programming
Programming paradigm
Nº Q1135914 ★★★
Not listed
-
T
Tellegen's theorem
Simple relation between magnitudes that satisfy Kirchhoff's laws of electrical circuit theory
Nº Q913327 ★
Not listed
-
A
Arzelà–Ascoli theorem
Theorem
Nº Q1477053 ★★
Not listed
-
Imperative programming
Programming paradigm of directly specifying commands that affect program state
Nº Q275596 ★★★
Not listed
-
P
Procedural programming
Programming paradigm
Nº Q1418502 ★★★
Not listed
-
D
Declarative programming
Programming paradigm that expresses the logic of a computation without describing its control flow
Nº Q531152 ★★
Not listed
-
R
Reverse mathematics
Branch of mathematical logic
Nº Q2005236 ★
Not listed
-
Intersection (set theory)
Concept in set theory (for the term in geometry, see Q1364910)
Nº Q185837 ★★★
Not listed
-
C
Concurrent computing
Form of computing in which several computations logically execute during overlapping time periods
Nº Q128392 ★★
Not listed
-
L
Logical form
Form for logical arguments, obtained by abstracting from the subject matter of its content terms
Nº Q6667497 ★
Not listed