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

The exam average was 71.
If you got below 50, please see me.

  1. Be careful with integer division
  2. Remember that the first position in a String is position 0.
  3. Most had no problem with this one.
  4. The total price is the price per pound times the number of pounds.
  5. a) This was taken directly from the recitation
    b) Be sure to prompt before reading in.
  6. For part b) you need to handle the fence post problem.
    Be sure that your solution works for an empty array.
  7. We did this one in class.
  8. You need to declare each of the variables.
  9. Rememebr that the last character is at index s.length() -1.
  10. No arrows in this diagram.
  11. Three variables, two arrays.