Sections 0101, 0102, 0103 and Honors, Fall 1995
Thursday October 5, 1995
Assigned Reading: 5.2 - 5.3
Handouts (available on-line): none
- A function that has a for loop inside and computes
the factorial of the parameter.
- A program uses a function which calls the factorial function
to compute the combinations of "n choose k".
- A program that illustrates the properties of local variables.
- Practice tracing function calls using question from last
semester's midterm exam. The problem is to write down
the output of the following program.
Fri Oct 6 22:30:55 EDT 1995
Richard Chang, email@example.com