Learning objectives for chapter 9
Learn to use the Boolean data type, bool.
Learn about range limits on whole number data types.
Learn about precision limits on floating point numbers.
Learn how text is stored in computer memory.
  Learning objective(s) addressed
  1234
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  XX 

 
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 C++ and Java, with the JNotePad editor and command-line compiling. XXX 

Code from the chapter in order of their appearance in the text
beyondInfinity.cpp keepingScoreBool.cpp

Chapter 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15