|
Learning objectives for chapter 9 |
1 | Learn to use the Boolean data type, bool. |
2 | Learn about range limits on whole number data types. |
3 | Learn about precision limits on floating point numbers. |
4 | Learn how text is stored in computer memory. |
|
|
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. |
|
9.1 |
Three-Question Quiz, v.3.0 PDF |
X | | | |
9.2 |
NSA Encoder, v.0.0 PDF |
| | | X |
9.3 |
NSA Decoder, v.0.0 PDF |
| | | X |
9.4 |
Round-off Error PDF |
| | X | |
9.5 |
How To Get Rich On A 5-Cent Weekly Allowance PDF |
| X | X | |
| |
Samples |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
9.1 |
About Boolean Values And Variables PDF |
X | | | |
| |
Videos |
|
9.1 |
Click HERE for a YouTube-like video that demonstrates the issues of integer limits and floating point precision -- that is, why doesn't the computer always add right?
The running time is 18 minutes, and it's done on a Mac in both Java and C++, with the JNotePad editor and command-line compiling.
|
X | X | X | |
|
Code from the chapter in order of their appearance in the text |
|