Authors' official companion web site
StarFigure2
shows the wrong expected output.
The output should be: Height 3 | Height 6 |
---|---|
////////\\\\\\\\ ////********\\\\ **************** |
////////////////////\\\\\\\\\\\\\\\\\\\\ ////////////////********\\\\\\\\\\\\\\\\ ////////////****************\\\\\\\\\\\\ ////////************************\\\\\\\\ ////********************************\\\\ **************************************** |
Projectile2.java
has some negative symbols "-"
that are erroneously appearing as "2"
.
Line 7 of the program has 29.81
which should be -9.81
and line 31 has 22.0
which should be -2.0
.
(thanks to Eric Summer, APCS teacher at Da Vinci School, El Paso, TX)
randomX
has a small typo.
It says "prints a lines" when it should say "prints lines".
stdev
has the wrong formula for the standard deviation due to a printing error.
The formula should be: clump
has minor formatting errors in its output.
The last sentence of the problem description should be: ["(four score)", "(and seven)", "(years ago)", "our"]
.
fromCounts
should be more explicit about the fact that the method builds and returns a new ArrayIntList
.
The first two sentences of the exercise text should read,
"Write a method called fromCounts
that constructs and returns a new ArrayIntList
of values given an existing ArrayIntList
of counts.
Assume that the ArrayIntList
that is passed as a parameter stores a sequence of integer pairs that each indicate a count and a number."
Lake
class is missing.
It should in the problem description after the Ocean
class.
Many thanks to Jonathan Sanders of the University of Washington for verifying and reporting several errors.
Have you found an error in our textbook? If so, please email us at: