Loops
Overview
This chapter introduces loops and iteration control structures.
Chapter Outline
- Iteration Control Structures
- While Loop
- Do While Loop
- Flag Concept
- For Loop
- Branching Statements
- Increment and Decrement Operators
- Integer Overflow
- Nested For Loops
- Code Examples
- Practice
Learning Objectives
- Understand key terms and definitions.
- Identify control structures based on test before iteration, test after iteration, and counting, and when to use each type.
- Given example pseudocode, flowcharts, and source code, create a program that uses loops and iteration control structures to solve a given problem.