Chris Pollett > Old Classes >
CS158a

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]

  [Submit Sec1]
  [Submit Sec2]

  [Class Sign up Sec1]
  [Class Sign up Sec2]

  [
Lecture Notes]

  [Discussion Board]

  [Announcements]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                           












HW2 Solutions Page

Return to homework page.

To create a solution set, in general, I piece together better solutions to each problem from among the student solutions. In cases where one or more people score a 10, I might select from among these and put up such a solution set in its entirety with the names of the authors removed to ensure anonymity. In this latter case, for allowing me to use their homework, the student receives 1 bonus point added after curving. Below are the results of this process for this homework:

There were a number of good projects for this homework amongst which I chose one. The coding project of the one I chose follows the coding guidelines reasonably well. The Javadocs that are there follow the correct format. It would be nice to have slightly more comments. Also, people should strive to have descriptive variable names. You are allowed short variable names i, j, and k for loops variables, but otherwise you should use descriptive names.

[Book Problems-PDF] [Code-ZIP]