Functions
Overview
This chapter introduces modular programming, functions, parameters, return values, and scope.
Chapter Outline
- Modular Programming
- Hierarchy or Structure Chart
- Function Examples
- Parameters and Arguments
- Call by Value vs. Call by Reference
- Return Statement
- Void Data Type
- Scope
- Programming Style
- Standard Libraries
- Code Examples
- Practice
Learning Objectives
- Understand key terms and definitions.
- Given example pseudocode, flowcharts, and source code, create a program that uses functions, parameters, and return values to solve a given problem.