Loops

CS-150, Learning Objectives


While Loops

Be able to understand and predict the behavior of while loops.

Be able to write valid while loops.

Be able to describe and give an example of the condition part of while loops.

Know the standard flowchart representation for while loops.

Know the standard pseudocode representation for while loops.

Know how to indent while loops to make them readable.

Do/While Loops

Be able to understand and predict the behavior of do/while loops.

Be able to write valid do/while loops.

Be able to describe and give an example of the condition part of do/while loops.

Know the standard flowchart representation for do/while loops.

Know the standard pseudocode representation for do/while loops.

Know how to indent do/while loops to make them readable.

Be able to identify situations in which it would be better to use a do/while loop than a while loop.

For Loops

Be able to understand and predict the behavior of for loops.

Be able to write valid for loops.

Be able to describe and give an examples of the initialization statment, condition and update expression parts of for loops.

Know the standard flowchart representation of for loops.

Know the standard pseudocode representation of for loops.

Know how to indent for loops to make them readable.

Common Loop Forms and Other Loop Topics

Be able to write loops that read (extract) values from cin.

Be able to write loops that display tables of values.

Be able to understand and predict the behavior of nested loops.

Be able to write valid nested loops.

Be able to explain what is meant by the term blook scope.


Send comments and suggestions about these objectives to: Dr. Charles S. Tritt
This page last updated 9/29/00