Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Structured programming
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Theoretical foundation=== The [[structured program theorem]] provides the theoretical basis of structured programming. It states that three ways of combining programs—sequencing, selection, and iteration—are sufficient to express any [[computable function]]. This observation did not originate with the structured programming movement; these structures are sufficient to describe the [[instruction cycle]] of a [[central processing unit]], as well as the operation of a [[Turing machine]]. Therefore, a processor is always executing a "structured program" in this sense, even if the instructions it reads from memory are not part of a structured program. However, authors usually credit the result to a 1966 paper by Bรถhm and Jacopini, possibly because [[Edsger W. Dijkstra|Dijkstra]] cited this paper himself.{{sfn|Dijkstra|1968}} The structured program theorem does not address how to write and analyze a usefully structured program. These issues were addressed during the late 1960s and early 1970s, with major contributions by [[Edsger W. Dijkstra|Dijkstra]], [[Robert W. Floyd]], [[Tony Hoare]], [[Ole-Johan Dahl]], and [[David Gries]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)