 |
|
|
|
|
Tests Performed Automatically During Compilation and Execution |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging Hints |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quick Check |
|
|
|
| |
 |
|
|
|
|
Exam Preparation Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Warm-Up Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Problems |
|
|
|
| |
 |
|
|
|
|
Case Study Follow-Up |
|
|
|
| |
| |
 |
|
|
|
|
The While Statement |
|
|
|
| |
 |
|
|
|
|
Phases of Loop Execution |
|
|
|
| |
 |
|
|
|
|
Loops Using the While Statement |
|
|
|
| |
 |
|
|
|
|
Count-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Event-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Sentinel-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
End-of-File-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Flag-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Looping Subtasks |
|
|
|
| |
 |
|
|
|
|
Counting |
|
|
|
| |
 |
|
|
|
|
Summing |
|
|
|
| |
 |
|
|
|
|
Keeping Track of a Previous Value |
|
|
|
| |
 |
|
|
|
|
Theoretical Foundations: Finite State Machines |
|
|
|
| |
 |
|
|
|
|
How to Design Loops |
|
|
|
| |
 |
|
|
|
|
Designing the Flow of Control |
|
|
|
| |
 |
|
|
|
|
Count-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Sentinel-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
EOF-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Flag-Controlled Loops |
|
|
|
| |
 |
|
|
|
|
Designing the Process Within the Loop |
|
|
|
| |
 |
|
|
|
|
The Loop Exit |
|
|
|
| |
 |
|
|
|
|
Nested Logic |
|
|
|
| |
 |
|
|
|
|
Designing Nested Loops |
|
|
|
| |
 |
|
|
|
|
Theoretical Foundations: The Magnitude of Work |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Average Income by Gender |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: High and Low Temperatures |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Shipping Invoices |
|
|
|
| |