CS 1713 Introduction to Computer Science, Fall 2009 Exam 2 Comments
The exam average was 67.
If you got below 60, you are not prepared to continue with this course.
- In each case you should be printing a message only if the condition is
satisfied. This means that you do not print anything if the condition
is not satisfied. Note that 5 and 9 are both in the range.
- Many students got his one wrong. Some did not get paid for the first
20 hours if they worked more than 20 hours. Some got paid twice for the
hours over 20.
- The while clause should be true when the number entered is the wrong one.
- The "Any additional output ..." means that you should do a println
when done.
- Nobody answered "error" for 5c. Congratulations.
- Always use .equals to compare strings.
- In this problem you are to return a position, the the value of the
largest entry.
- You lost one point if you fond the first one. Many students just checked
the first array element.
- No loop here. You need to declare the temp variable.
- You need to know what instantiate means.
- For primitive variables, the value goes in the box.
- This is identical to the problem from the review web site.
- An array variable holds a reference.
- This was hard, but a few were able to come close.