Global Information Lookup Global Information

Structured program theorem information


The structured program theorem, also called the Böhm–Jacopini theorem,[1][2] is a result in programming language theory. It states that a class of control-flow graphs (historically called flowcharts in this context) can compute any computable function if it combines subprograms in only three specific ways (control structures). These are

  1. Executing one subprogram, and then another subprogram (sequence)
  2. Executing one of two subprograms according to the value of a boolean expression (selection)
  3. Repeatedly executing a subprogram as long as a boolean expression is true (iteration)

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 goto commands and exclusively uses subroutines, sequences, selection and iteration.

Graphical representation of the three basic patterns of the structured program theorem — sequence, selection, and repetition — using NS diagrams (blue) and flow charts (green).
  1. ^ Dexter Kozen and Wei-Lung Dustin Tseng (2008). "The Böhm–Jacopini Theorem is False, Propositionally". Mathematics of Program Construction (PDF). Lecture Notes in Computer Science. Vol. 5133. pp. 177–192. CiteSeerX 10.1.1.218.9241. doi:10.1007/978-3-540-70594-9_11. ISBN 978-3-540-70593-2. {{cite book}}: |journal= ignored (help)
  2. ^ "CSE 111, Fall 2004, BOEHM-JACOPINI THEOREM". Cse.buffalo.edu. 2004-11-22. Retrieved 2013-08-24.

and 22 Related for: Structured program theorem information

Request time (Page generated in 0.9192 seconds.)

Structured program theorem

Last Update:

The structured program theorem, also called the Böhm–Jacopini theorem, is a result in programming language theory. It states that a class of control-flow...

Word Count : 2826

Structured programming

Last Update:

modify. The structured program theorem provides the theoretical basis of structured programming. It states that three ways of combining programs—sequencing...

Word Count : 3717

Structure theorem

Last Update:

Structure theorem may refer to: Structured program theorem, a result in programming language theory Structure theorem for finitely generated modules over...

Word Count : 84

Goto

Last Update:

(see § language support). The structured program theorem proved that the goto statement is not necessary to write programs that can be expressed as flow...

Word Count : 5906

Control flow

Last Update:

Kosaraju refined the structured program theorem by proving that it is possible to avoid adding additional variables in structured programming, as long as arbitrary-depth...

Word Count : 5971

Cyclomatic complexity

Last Update:

(CFGs) of non-structured programs look like in terms of their subgraphs, which McCabe identified. (For details, see structured program theorem.) McCabe concluded...

Word Count : 2912

Essential complexity

Last Update:

the structuredness of a program" in his words) rather than a yes/no answer to the question of whether a program's control-flow graph is structured or not...

Word Count : 1133

List of theorems

Last Update:

(abstract algebra) Structure theorem for Gaussian measures (measure theory) Structured program theorem (computer science) Sturm's theorem (theory of equations)...

Word Count : 5996

Turing completeness

Last Update:

loop Loop (computing) Machine that always halts Rice's theorem smn theorem Structured program theorem Turing tarpit Virtualization Emulation (computing) Hodges...

Word Count : 3163

Theorem

Last Update:

In mathematics, a theorem is a statement that has been proved, or can be proved. The proof of a theorem is a logical argument that uses the inference...

Word Count : 4373

Jordan curve theorem

Last Update:

In topology, the Jordan curve theorem asserts that every Jordan curve (a plane simple closed curve) divides the plane into an "interior" region bounded...

Word Count : 3270

Kolmogorov complexity

Last Update:

diagonal argument, Gödel's incompleteness theorem, and Turing's halting problem. In particular, no program P computing a lower bound for each text's Kolmogorov...

Word Count : 7143

List of computer scientists

Last Update:

engineering economics, spiral development Corrado Böhm – author of the structured program theorem Kurt Bollacker Jeff Bonwick – invented slab allocation and ZFS...

Word Count : 5134

Flow chart language

Last Update:

(RTMs), laying the foundation for reversible programming. The reversible variant of the structured program theorem, for instance, can be effectively analyzed...

Word Count : 958

Prolog

Last Update:

Prolog is a logic programming language that has its origins in artificial intelligence, automated theorem proving and computational linguistics. Prolog...

Word Count : 7988

List of programming language researchers

Last Update:

language, the first meta-circular evaluator, contributed the structured program theorem Grady Booch, developer of Unified Modeling Language (UML) Kathleen...

Word Count : 5830

Term indexing

Last Update:

index is a data structure to facilitate fast lookup of terms and clauses in a logic program, deductive database, or automated theorem prover. Many operations...

Word Count : 873

Classification of finite simple groups

Last Update:

"sporadic groups" The classification theorem has applications in many branches of mathematics, as questions about the structure of finite groups (and their action...

Word Count : 3913

Control table

Last Update:

be tested in the next table entry. See Structured program theorem) Multiway branching is an important programming technique which is all too often replaced...

Word Count : 6465

Procedural programming

Last Update:

Object-oriented programming Programming paradigms Programming language Structured programming SQL procedural extensions "Programming Paradigms". "Welcome to...

Word Count : 985

Infinite monkey theorem

Last Update:

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type...

Word Count : 6680

Hamiltonian path

Last Update:

the Bondy–Chvátal theorem, which generalizes earlier results by G. A. Dirac (1952) and Øystein Ore. Both Dirac's and Ore's theorems can also be derived...

Word Count : 2012

PDF Search Engine © AllGlobal.net