home—info—labs—hws—exams
textbook—java.lang docs—java.util docs—archive
Homeworks
-
(For Barland's section:)
hw10—A Book Catalog: objects containing objects due Dec.12 (Fri).
hw10-soln:
Name.java,
Book.java,
Library.java.
-
hw09—Random walks; variance due Dec.03 (Wed).
soln
-
hw08—Translating many words due Nov.12 (Wed).
soln (arrays), a
soln (lists),
and
spiffier soln (lists).
-
hw07—booleans; loop drill, due Oct.29 (Wed),
hw07-soln.html.
-
hw06—if: nesting, if-else-if, due Oct.20 (Mon).
hw06-soln.html.
Also, consider a
poorer TresAmigos solution
(which repeats code),
and a
clever TresAmigos solution
(which makes a helper-functions maxString,minString,
and calls them repeatedly to find the maximum of three Strings).
Also, you're free to look at
an evolution of the tester program:
v1,
v2,
v3,
v4,
v5.
-
hw05—arithmetic, constants, static methods, due Oct.13 (Mon) 17:00.
hw05 solution
Note: Dr. Ray's students should use this hw page instead.
-
hw-ec01—Hello World (objectively): extra credit
-
hw04—metamorphosis
hw04 solution (pdf)
-
hw03—adding interest
hw03 solution (pdf)
-
hw02—rectangles
hw02 solution
-
hw01—The 10th day of Christmas?
hw01 solution
Grading notation
If you're wondering about
funny-looking markup
on your returned papers,
check out
Instructions for submitting
-
Turn in hardcopy of your work.
Review questions can either be hand-written,
or typed as a comment in a program.
All program problems should be programs you compile and run;
turn in a printout.
Always due at start of class on the due-date.
-
Your file should include
your name, the assignment-number,
and your 120 section (e.g. “10:00”)
at the top of your file, in comments.
-
Also, if your function does not work completely,
say so clearly at the top (in comments).
You get more points for knowing what your program doesn't do,
than not knowing.
(Submitting code which doesn't compile, without acknowledging such,
may result in a summary 0.
In the workplace, it is unacceptable.)
-
If the gradebook in WebCT lists a homework but your score is empty,
then it means I think you didn't turn it in.
(Note that if I haven't released a column to the gradebook section
of WebCT, then I haven't yet finished grading for that assignment.)
It is your responsibility to report any missing scores in the gradebook.
-
Moreover: Any empty gradebook entry
which is not reported within three weeks of appearing in the gradebook
is liable to not be graded, and you will get a 0.
(Otherwise I have too many students suddenly needing regrades
in the last week, of assignments I'd graded months earlier.)
- Spelling and punctuation counts (in your comments).
The first such error is okay, but -1/2 for every error after that.
(Sentence fragments, though, can be acceptable if the context is clear.)
home—info—labs—hws—exams
textbook—java.lang docs—java.util docs—archive