Difference between revisions of "Loops"

From CompSciWiki
Jump to: navigation, search
(Test Conditions)
Line 15: Line 15:
 
==Scope==
 
==Scope==
 
==Infinite Loops==
 
==Infinite Loops==
==Test Conditions==
+
 
 +
 
 
==Additional Information==
 
==Additional Information==
 
*[[more on loops|more on loops]]
 
*[[more on loops|more on loops]]

Revision as of 17:27, 4 March 2007

An Introduction

TO DO LIST (in any order):

  • Discuss WHAT a loop is. (Definition)
  • Types: while, for, do, etc...
  • Bottom tested, top tested
  • Terms:
    • Initializing
    • Condition (basic definition because we have a section below)
    • etc...

Types of Loops

Scope

Infinite Loops

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