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
-
Compactness theorem
Theorem
Nº Q1149458 ★
Not listed
-
H
Hellmann–Feynman theorem
Theorem that relates the derivative of the total energy with respect to a parameter, to the expectation value of the derivative of the Hamiltonian with respect to that same parameter
Nº Q906809 ★
Not listed
-
Sylvester–Gallai theorem
Theorem that every finite set of points in the plane, not all collinear, has a line through exactly two points
Nº Q748233 ★
Not listed
-
Combinatorics
Branch of discrete mathematics
Nº Q76592 ★★★
Not listed
-
S
Seifert–Van Kampen theorem
A theorem in topology describing the fundamental group of a space in terms of a cover of the space by two open path-connected subspaces
Nº Q372037 ★
Not listed
-
M
Modula-2
Programming language
Nº Q777358 ★
Not listed
-
C
Conjugation (group theory)
Mathematical operation: aba⁻¹
Nº Q77980581 ★
Not listed
-
A
Automata-based programming
Programming paradigm centred around finite state machines
Nº Q4056322 ★
Not listed
-
Fundamental theorem of calculus
Calculus theorem describing the duality of differentiation and integration
Nº Q1217677 ★★★
Not listed
-
Pattern
Discernible regularity in an entity or set of entities
Nº Q2083958 ★★★★
Not listed
-
Lambda calculus
Formal system in mathematical logic
Nº Q242028 ★★★
Not listed
-
Schröder–Bernstein theorem
Theorem that, if there exist injective functions in both directions between two sets, then there exists a bijection between them
Nº Q1033910 ★
Not listed
-
Monotonic function
Function between ordered sets that preserves or reverses the given order
Nº Q194404 ★★
Not listed
-
No free lunch in search and optimization
Theorem
Nº Q255847 ★★
Not listed
-
c
computational formula for the variance
Nº Q367866 ★★
Not listed
-
B
Bolzano–Weierstrass theorem
Theorem about convergence in a finite-dimensional Euclidean space
Nº Q468391 ★★★
Not listed
-
S
Sutherland–Hodgman algorithm
Algorithm used for clipping polygons
Nº Q1808181 ★
Not listed
-
Theoretical computer science
Subfield of computer science and mathematics
Nº Q2878974 ★★★
Not listed