 |
|
|
|
|
Problem-Solving Case Study: Finding the Area Under a Curve |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Rock, Paper, Scissors |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Birthday Reminder |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging |
|
|
|
| |
 |
|
|
|
|
Floating Point Data |
|
|
|
| |
 |
|
|
|
|
Coping with Input Errors |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging Hints |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quick Check |
|
|
|
| |
 |
|
|
|
|
Exam Preparation Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Warm-Up Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Problems |
|
|
|
| |
 |
|
|
|
|
Case Study Follow-Up |
|
|
|
| |
|
|
|
|
|
11
One-Dimensional Arrays |
|
|
|
| |
 |
|
|
|
|
Simple Versus Structured Data Types |
|
|
|
| |
 |
|
|
|
|
One-Dimensional Arrays |
|
|
|
| |
 |
|
|
|
|
Declaring Arrays |
|
|
|
| |
 |
|
|
|
|
Accessing Individual Components |
|
|
|
| |
 |
|
|
|
|
Out-of-Bounds Array Indices |
|
|
|
| |
 |
|
|
|
|
Initializing Arrays in Declarations |
|
|
|
| |
 |
|
|
|
|
(Lack of) Aggregate Array Operations |
|
|
|
| |
 |
|
|
|
|
Examples of Declaring and Accessing Arrays |
|
|
|
| |
 |
|
|
|
|
Passing Arrays as Parameters |
|
|
|
| |
 |
|
|
|
|
Processing Arrays |
|
|
|
| |
 |
|
|
|
|
Background Information: C, C++, and Parameter Passage of Arrays |
|
|
|
| |
 |
|
|
|
|
Subarray Processing |
|
|
|
| |
 |
|
|
|
|
Parallel Arrays |
|
|
|
| |
 |
|
|
|
|
Indices with Semantic Content |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Comparison of Two Lists |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Frequency of Certain Characters |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Frequency of All Characters |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging Hints |
|
|
|
| |