|
Learning objectives for chapter 8 |
1 | Learn to write and use a value-returning function. |
2 | Learn to write and use a void function. |
3 | Learn to use parameter lists for input to functions. |
4 | Learn what are Java function prototypes. |
|
|
Learning objective(s) addressed |
|
1 | 2 | 3 | 4 | |
Exercises |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
8.1 |
Parameter Lists PDF |
X | | X | |
8.2 |
More Parameter Lists PDF |
| X | | |
8.3 |
Password-protected Mortgage Calculator, v.1.0 PDF |
| X | | |
8.4 |
Password-protected Mortgage Calculator, v.2.0 PDF |
X | | | |
8.5 |
Three-Question Quiz, v.2.0 PDF |
X | X | X | X |
| |
Samples |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
8.1 |
About Value-returning Functions PDF |
X | | X | |
a
8.2 |
About Void Functions PDF |
| X | X | |
| |
Videos |
|
8.1 |
Click HERE for a YouTube-like video that shows how to modify existing code to use functions.
It's 24 minutes long, and done on a Mac in both Java and C++, with the JNotePad editor and command-line compiling.
It shows both void and value-returning functions.
|
X | X | X | |
|
Code from the chapter in order of their appearance in the text |
|