Difference between revisions of "Loops"

From CompSciWiki
Jump to: navigation, search
Line 1: Line 1:
==[[Loops]]==
+
==An Introduction==
===An Introduction===
+
==Types of Loops==
===Types of Loops===
+
 
*[[While Loops|while]]
 
*[[While Loops|while]]
 
*[[for]]
 
*[[for]]
 
*nested loops
 
*nested loops
===Scope===
+
==Scope==
===Infinite Loops===
+
==Infinite Loops==
===Test Conditions===
+
==Test Conditions==
===Additional Information===
+
==Additional Information==
 
*[[more on loops|more on loops]]
 
*[[more on loops|more on loops]]
 
**multiple statements in the Initialization and Update
 
**multiple statements in the Initialization and Update

Revision as of 16:40, 20 February 2007

An Introduction

Types of Loops

Scope

Infinite Loops

Test Conditions

Additional Information

  • more on loops
    • multiple statements in the Initialization and Update
    • brief explanation of do-while loops (and why bottom testing loops are not ideal)
    • Running Totals and Sentinel Values
    • Review Questions and Exercises