Incomum · Saberes
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...
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.
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.
Texto: Wikipédia em inglês, CC BY-SA 4.0. ·
Cartas próximas
-
★★
Problema matemático
-
★
Sequence motif
Nucleotide or amino-acid sequence pattern that is widespread and has, or is conjectured to have, a biological significance. For proteins, a sequence motif is distinguished from a structural motif
-
I★★
Inversão de controle
-
E★★
Estrutura de controle
-
★
ROOT
Linguagem de programação
-
M★★
Modus ponens
-
T★
Teorema de Mann-Wald
-
★★
Ciclo de instrução
-
★★
Teoria da estruturação
-
★★
Teorema de Pick
-
★
Problema indecidível
-
T★
Teoria dos corpos
Teoria em matemática
-
★
Caminho (teoria dos grafos)
-
T★★★
Teoria de controle
-
C★
Concurrent logic programming
Logic programming paradigm
-
★★
Matemática computacional
-
E★
Estrutura de interpretação (lógica)
-
★
Japanese theorem for cyclic polygons
Theorem that no matter how one triangulates a cyclic polygon, the sum of inradii of triangles is constant