Exam/quiz reminder
2013-02-27
We'll have our midterm exam for 201, and our first quiz for 185 on Wednesday, March 6.
See the 201 exam 1 review page for more details on the 201 exam.
For the 185 quiz, you should be prepared to answer short questions about
version control, command line usage, debugging, and unit testing. Here
are a few examples of the type of questions you should expect:
-
Suppose you hava java method with signature char mostCommonChar(String s)
that takes a string as input and returns the character that appears
most frequently in the string (breaking ties by choosing the first character
to appear). What inputs and expected outputs would you use when creating a
set of unit tests?
-
Name two reasons to use version control.
-
Suppose that the command arglen
prints the length of each of its
command line arguments. What would the output be of running
arglen one two three
?