CS 1713 Introduction to Computer Science, Fall 2007 Exam 1 Comments

The grades were not good on this exam.
If you got below a 70, please come and see me with your exam this week or next.

Also, be prepared to stay after class on Mondays from 10 until 11 for a problem session.

  1. A code segment or method should only print if you are told to do so.
  2. Java does not have a combined <= symbol.
  3. The following is invalid: else(weight > 20)
  4. You can simplify if (won == true) to if (won)
  5. For Problem 4, most solutions must handle the case of an array of length 0 separately.
  6. Diagrams:
You can find the solutions here.