Matches in DBpedia 2014 for { <http://dbpedia.org/resource/Zahn's_construct> ?p ?o. }
Showing items 1 to 15 of
15
with 100 items per page.
- Zahn's_construct abstract "Zahn's construct, in computer science, was a proposed structure for structured control flow in computer programming languages first described by Charles T. Zahn in 1974. The construct is primarily described in terms of an extension to looping constructs to recognize multiple means by which a loop could terminate. For example, a search loop might terminate early, when the target is found; or it might terminate after the search has been completed unsuccessfully. Zahn's construct can be used to avoid GO TO statements when determining which case was encountered. Zahn does this by introducing a new kind of variable called a situation indicator in a CASE-like construct following the loop.Donald Knuth, in his paper "Structured Programming with Go To Statements", describes two forms of Zahn's construct as follows: loop until <situation 1> or ... or <situation n>: <statement list 0> repeat; then <situation 1> => <statement list 1>; ... <situation n> => <statement list n>; fiand: begin until <situation 1> or ... or <situation n>: <statement list 0>; end; then <situation 1> => <statement list 1>; ... <situation n> => <statement list n>; fiThere must also be a statement to set a specific situation indicator and exit the body of the construct.The following simple example involves searching a two-dimensional table for a particular item. exitwhen found or missing; for I := 1 to N do for J := 1 to M do if table[I,J] = target then found; missing; exits found: print ("item is in table"); missing: print ("item is not in table"); endexit;Try-catch blocks, used in modern programming languages for exception handling, are variations of Zahn's construct. The major difference is that the scope of Zahn's proposals were limited to individual loops within a program, whereas exception-handling capabilities often allow exceptions to be "thrown" from deep within a call stack and "caught" at a point higher up in the stack.".
- Zahn's_construct wikiPageExternalLink spwgif.txt.
- Zahn's_construct wikiPageExternalLink control.html.
- Zahn's_construct wikiPageExternalLink slac-pub-1530.pdf.
- Zahn's_construct wikiPageID "6031369".
- Zahn's_construct wikiPageRevisionID "578275585".
- Zahn's_construct hasPhotoCollection Zahn's_construct.
- Zahn's_construct subject Category:Control_flow.
- Zahn's_construct comment "Zahn's construct, in computer science, was a proposed structure for structured control flow in computer programming languages first described by Charles T. Zahn in 1974. The construct is primarily described in terms of an extension to looping constructs to recognize multiple means by which a loop could terminate. For example, a search loop might terminate early, when the target is found; or it might terminate after the search has been completed unsuccessfully.".
- Zahn's_construct label "Zahn's construct".
- Zahn's_construct sameAs m.0flhmx.
- Zahn's_construct sameAs Q8064708.
- Zahn's_construct sameAs Q8064708.
- Zahn's_construct wasDerivedFrom Zahn's_construct?oldid=578275585.
- Zahn's_construct isPrimaryTopicOf Zahn's_construct.