Map
Index
Random
Help
Group
th

Group: conditional control

topics > computer science > programming > Group: program control



Topic:
case statement
Topic:
conditional control by guards
Topic:
conditional expression
Topic:
conditional statement
Topic:
if-then-else test chain
Topic:
else clause
Topic:
temporal relationships
Topic:
boolean values, binary numbers, and bit strings
Topic:
conditional compilation
Topic:
conditional statement language
Topic:
declarative vs. procedural representation

Summary

A Turing machine is specified by a list of conditional actions (if state A input B, ...). Natural language descriptions tend to use qualifiers instead of conditions. (cbb 6/96)
Subtopic: conditions key to programming languages up

Quote: natural language emphasizes the action while programming languages emphasize the conditions and control structures [»millLA10_1978]

Subtopic: status register up

Quote: PL.8 intermediate language uses a status register for compares and conditional jumps; no source language control structures [»auslM6_1982]
Quote: condition codes difficult to optimize; use values instead and generate condition codes at final assembly; uses peephole optimization [»auslM6_1982]

Subtopic: conditional control by clocks up

Quote: flow operators deactivated if an operand clock is false [»benvA1_2003]
Quote: Lustre controls program activation by clocks
Quote: if activation condition is false, a flow node's value is either frozen or a default value; deactivation by clocks too restrictive [»benvA1_2003]

Subtopic: nesting conditionals up

Quote: with Pancode, conditional evaluation of predicates can be done without side-effects or sentinels [»jonsD8_1987]
Quote: found a nestable conditional construct was easier for novices than a branching conditional construct [»simeME1_1973]

Subtopic: Babbage's analytical engine up

Quote: Babbage's analytical engine can backup and advance the operation cards to any extent; can make judgments based on any number of conditions [»babbC_1864, OK]

Subtopic: conditional goto up

Quote: equations may be numbered; the interpreter included a goto and conditional goto instruction [»laniJH1_1954]

Subtopic: problems with conditional up

Quote: in paper solutions, 90% of occurrences of 'then' concerned sequencing; instead of consequence [»paneJF2_2001]
Note: a programming language should minimize conditional code; e.g., Turing machines are all conditional
[»cbb_1990, OK]

Group: conditional control up

Topic: case statement (25 items)
Topic: conditional control by guards (17 items)
Topic: conditional expression (11 items)
Topic: conditional statement (8 items)
Topic: if-then-else test chain (18 items)
Topic: else clause (11 items)
Topic: temporal relationships
(40 items)

Related Topics up

Topic: boolean values, binary numbers, and bit strings (44 items)
Topic: conditional compilation (1 item)
Topic: conditional statement language (5 items)
Topic: declarative vs. procedural representation
(54 items)

Updated barberCB 7/05
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.