Lecture 8 OBJECTIVES
After completing this class, students will be able to:
- Explain what Procedural Abstraction is
- Explain what local variables are
- Use local variables correctly
- Explain what global constants are
- Use global constants correctly
- Describe the scope of a variable
- Explain what a call-by-value variable is
- Use call-by-value variables correctly
- Explain what a call-by-reference variable is
- Use call-by-reference variables correctly
- Use void functions correctly
- Write a driver for a function
Reading Assignment:Savitch: Re-Read Section 3.1 , Page 99 (Top Down Design)
Click here for presentation.
Homework: Area of a triangle
Example of triangle program
|