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
-
Green–Tao theorem
Theorem
Nº Q922012 ★★
Not listed
-
Graph theory
Study of graphs, which are mathematical structures used to model pairwise relations between objects
Nº Q131476 ★★★★
Not listed
-
Mathematical logic
Subfield of mathematics
Nº Q1166618 ★★★★
Not listed
-
Automata theory
Study of abstract machines and automata
Nº Q214526 ★★★
Not listed
-
Morley's trisector theorem
Theorem
Nº Q913447 ★
Not listed
-
l
linear congruence theorem
Mathematical concept
Nº Q524257 ★
Not listed
-
Stewart's theorem
Theorem describing a relation between the lengths of the sides and the length of a cevian in a triangle
Nº Q739403 ★★
Not listed
-
Approximation theory
Theory of getting acceptably close inexact mathematical calculations
Nº Q774123 ★
Not listed
-
Evolutionary programming
Evolutionary algorithm paradigm where the structure of the program to be optimized is fixed, while its numerical parameters are allowed to evolve
Nº Q2596288 ★
Not listed
-
Erdős–Szekeres theorem
Theorem that sufficiently long sequences of numbers have long monotonic subsequences
Nº Q976607 ★
Not listed
-
S
Slutsky's theorem
Theorem in probability theory
Nº Q643826 ★
Not listed
-
F
Functional programming
Programming paradigm based on applying and composing functions
Nº Q193076 ★★★
Not listed
-
Machine code
Set of instructions executed directly by a computer's central processing unit (CPU)
Nº Q55813 ★★★
Not listed
-
Symmetrical components
Engineering method for analysis of unbalanced three-phase electrical power systems exhibiting an electrical fault or other unbalanced condition
Nº Q552380 ★★
Not listed
-
Relay logic
Logic circuits built around electromagnetic relays
Nº Q2514145 ★
Not listed
-
C
Completeness (logic)
Fundamental concept in metalogic, and the term may be used without qualification with differing meanings depending on the context within mathematical logic
Nº Q15846555 ★
Not listed
-
F
Fluctuation theorem
Theorem
Nº Q900831 ★
Not listed
-
Compactness theorem
Theorem
Nº Q1149458 ★
Not listed