< previous page page_111 next page >

Page 111
Hour 8
Advanced Program Flow.
Programs accomplish most of their work by branching and looping. In this hour you will learn
What loops are and how they are used
How to build various loops
An alternative to deeply-nested ifelse statements
Looping
Many programming problems are solved by repeatedly acting on the same data.
New Term: Iteration means doing the same thing again and again. The principal method of iteration is the loop.
The Roots of Looping goto
In the primitive days of early computer science, loops consisted of a label, some statements, and a jump.

 
< previous page page_111 next page >

If you like this book, buy it!