< previous page page_xxiv next page >

Page xxiv
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Documenting the Direction of Data Flow
356
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Matters of Style: Formatting Function Headings
358
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Software Engineering Tip: Conceptual Versus Physical Hiding of a Function Implementation
359
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Problem-Solving Case Study: Comparison of Furniture-Store Sales
362
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Testing and Debugging
369
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
The assert Library Function
371
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Testing and Debugging Hints
373
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Summary
374
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Quick Check
375
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Exam Preparation Exercises
376
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Programming Warm-Up Exercises
381
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Programming Problems
383
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Case Study Follow-Up
387
8
Scope, Lifetime, and More on Functions
389
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Scope and Lifetime
390
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Scope of Identifiers
390
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Scope Rules
393
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Variable Declarations and Definitions
396
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Lifetime of a Variable
397
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Initializations in Declarations
399
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Interface Design
400
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Side Effects
401
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Global Constants
404
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Value-Returning Functions
404
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
May We Introduce: Ada Lovelace
406
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Boolean Functions
412
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Matters of Style: Naming Value-Returning Functions
414
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Interface Design and Side Effects
415
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Background Information: Ignoring a Function Value
416
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
When to Use Value-Returning Functions
418
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Problem-Solving Case Study: Reformat Names
418
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Software Engineering Tip: Control Abstraction, Functional Cohesion, and Communication Complexity
424
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Problem-Solving Case Study: Comparison of Furniture-Store Sales, Part 2
426
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
Problem-Solving Case Study: Starship Weight and Balance
433

 
< previous page page_xxiv next page >