Errata, Third Printing (May 2018)
CHAPTER 1
p. 16
Printed:  Certain reserved wordsâ€”such as public, static, int, double, String, true, false, and null 
Fixed:  Certain reserved wordsâ€”such as public, static, int, double, true, false, and null 
p. 46, Exercise 1.2.22
Printed:  This value is the displacement in meters and null 
Fixed:  This value is the height in meters 
p. 48, Exercise 1.2.29
Printed:  2500 % 7 = 1 and null 
Fixed:  2528 % 7 = 1 
p. 120, Exercise 1.4.14
Printed:  of a square twodimensional array 
Fixed:  of a rectangular twodimensional array 
p. 130
Printed:  Newton (Program 1.3.6)

Fixed:  Sqrt (Program 1.3.6)

p. 171, 178, 186, 188
Printed:  tiny.txt

Fixed:  tiny G .txt

p. 183, figure
Printed:  pageranks and histogram 
Fixed:  they correspond to a slightly different graph 
CHAPTER 2
p. 223, Exercise 2.1.27
Printed:  Horner's formula 
Fixed:  the secondtolast right parenthesis should be after the ellipsis 
p. 326, Exercise 2.4.20
Printed:  A live cell with exactly one live neighbor becomes dead. 
Fixed:  A live cell with fewer than two live neighbors becomes dead. 
CHAPTER 3
p. 424, Exercise 3.2.26
Printed:  second component in product a0 b1  a1 b0 + a2 b3  a3 b2 
Fixed:  second component in product a0 b1 + a1 b0 + a2 b3  a3 b2 
p. 481, figure
Printed:  Directions of vectors delta, delta.direction() and a.forceFrom(b) point toward a 
Fixed:  Should point toward b (to match code) 
CHAPTER 4
p. 534, Program 4.2.1 Trace
Printed:  false true true false false true false 
Fixed:  true false false true true false true 
p. 536
Printed:  the sequence of answers no yes yes no no yes no 
Fixed:  the sequence of answers yes no no yes yes no yes 
CHAPTER 5
p. 729
Printed:  bbbbbbbba [Yes] 
Fixed:  bbbbbbbba [No] 
p. 747
Printed:  As before, atransitions from {0, 2} 
Fixed:  As before, btransitions from {0, 2} 
p. 749
Printed:  01, 01, 12 (twostate subsets) 
Fixed:  01, 02, 12 (twostate subsets) 
p. 853
Printed:  a boolean array inSubset[] of length m 
Fixed:  a boolean array inSubset[] of length n 
CHAPTER 6
p. 889
Printed:  10, 23, and 53 bits for binary16, binary32, and binary64, respectively. 
Fixed:  10, 23, and 52 bits for binary16, binary32, and binary64, respectively. 
p. 891
Printed:  0b11111111111111111111111111111111 
Fixed:  0b00000000000000000000000000001111 
p. 910
Printed:  the TOY instruction 1234 says to direct the contents of R[2] and R[3] to the ALU, add them, and then direct the result to R[4] 
Fixed:  the TOY instruction 1234 says to direct the contents of R[3] and R[4] to the ALU, add them, and then direct the result to R[2] 
p. 919
Printed:  Then we use the conditional branch C0xx 
Fixed:  Then we use the conditional branch C1xx 
p. 928, Exercise 6.2.12
Printed:  only if either or both bits are 0 
Fixed:  only if both bits are 0 
p. 956, Exercise 6.3.35
Printed:  97: C4 1B

Fixed:  97: C4 99

p. 956, Exercise 6.3.35
Printed:  99: D293 (R[2] == 0)

Fixed:  99: D293 (R[2] > 0)

p. 956, Exercise 6.3.35
Printed:  9A: F F00

Fixed:  9A: E F00

p. 991, table
Printed:  the column for the first occurrence of y' is 1 1 1 0 
Fixed:  it should be 1 0 1 0 
p. 1028, paragraph 2
Printed:  y3 y2 y1 y3 
Fixed:  y3 y2 y1 y0 
p. 1028, paragraph 2
Printed:  then add that carry to the two 1 inputs at the third position from the right to get an output bit of 1 and a 1 carry 
Fixed:  then add that carry 0 to the two 1 inputs at the third position from the right to get an output bit of 0 and a 1 carry 
p. 1081 and 1086, diagram
Printed:  circuit connects EXECUTE WRITE to HALT instruction 
Fixed:  circuit should connect EXECUTE to HALT instruction 
CHAPTER 7
No errata reported at this time.
APPENDIX
No errata reported at this time.