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
-
S
Sequent
Conditional assertion that if all of the antecedent conditions are true, then at least one of the consequent formulas is true
Nº Q843632 ★
Not listed
-
S
Short-circuit evaluation
Type of semantics in some programming languages
Nº Q605499 ★
Not listed
-
H
Heine–Cantor theorem
Theorem
Nº Q765987 ★★
Not listed
-
Pythagorean theorem
Relation in Euclidean geometry among the three sides of a right triangle
Nº Q11518 ★★★★
Not listed
-
O
Operator theory
Mathematical study of linear operators on function spaces, such as differential operators and integral operators
Nº Q1198874 ★
Not listed
-
Optimality theory
Linguistic model proposing that the observed forms of language arise from the optimal satisfaction of conflicting constraints
Nº Q1207598 ★
Not listed
-
Prime number theorem
Theorem in number theory
Nº Q386292 ★★★
Not listed
-
Quadtree
Tree data structure in which each internal node has exactly four children
Nº Q934791 ★★
Not listed
-
C
Constructible universe
Particular class of sets which can be described entirely in terms of simpler sets
Nº Q2777107 ★
Not listed
-
Fundamental theorem of arithmetic
Theorem about prime factorization of a number
Nº Q670235 ★★★
Not listed
-
Haskell
Purely functional programming language
Nº Q34010 ★★★
Not listed
-
M
Modelica
Programming language
Nº Q385325 ★
Not listed
-
D
Data-driven programming
Programming paradigm
Nº Q287472 ★
Not listed
-
N-gram
Contiguous sequence of n items from a given sample of text or speech
Nº Q94489 ★★
Not listed
-
C
Complex conjugate root theorem
Theorem that complex roots of a real polynomial come in conjugate pairs
Nº Q5156572 ★
Not listed
-
Ramsey's theorem
Combinatorics theorem that any edge labeling of a sufficiently large complete graph contains monochromatic cliques
Nº Q918099 ★★
Not listed
-
Law of tangents
Theorem
Nº Q468887 ★★
Not listed
-
R
Routh–Hurwitz theorem
Mathematical theorem
Nº Q4455015 ★
Not listed