 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quick Check |
|
|
|
| |
 |
|
|
|
|
Exam Preparation Exercises |
|
|
|
| |
 |
|
|
|
|
Programming WarmUp Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Problems |
|
|
|
| |
 |
|
|
|
|
Case Study Follow-Up |
|
|
|
| |
|
|
|
|
|
3
Arithmetic Expressions, Function Calls, and Output |
|
|
|
| |
 |
|
|
|
|
Arithmetic Expressions |
|
|
|
| |
 |
|
|
|
|
Precedence Rules |
|
|
|
| |
 |
|
|
|
|
Type Coercion and Type Casting |
|
|
|
| |
 |
|
|
|
|
Assignment Statements |
|
|
|
| |
 |
|
|
|
|
Arithmetic Expressions |
|
|
|
| |
 |
|
|
|
|
Function Calls and Library Functions |
|
|
|
| |
 |
|
|
|
|
Value-Returning Functions |
|
|
|
| |
 |
|
|
|
|
May We Introduce: Blaise Pascal |
|
|
|
| |
 |
|
|
|
|
Library Functions |
|
|
|
| |
 |
|
|
|
|
Void Functions |
|
|
|
| |
 |
|
|
|
|
Formatting the Output |
|
|
|
| |
 |
|
|
|
|
Creating Blank Lines |
|
|
|
| |
 |
|
|
|
|
Inserting Blanks Within a Line |
|
|
|
| |
 |
|
|
|
|
Manipulators |
|
|
|
| |
 |
|
|
|
|
Matters of Style: Program Formatting |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Map Measurements |
|
|
|
| |
 |
|
|
|
|
Problem-Solving Case Study: Painting Traffic Cones |
|
|
|
| |
 |
|
|
|
|
Testing and Debugging Hints |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quick Check |
|
|
|
| |
 |
|
|
|
|
Exam Preparation Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Warm-Up Exercises |
|
|
|
| |
 |
|
|
|
|
Programming Problems |
|
|
|
| |
 |
|
|
|
|
Case Study Follow-Up |
|
|
|
| |
|
|
|
|
|
4
Program Input and the Software Design Process |
|
|
|
| |
 |
|
|
|
|
Getting Data into Programs |
|
|
|
| |
 |
|
|
|
|
Input Streams and the Extraction Operator (>>) |
|
|
|
| |