Exam 2

The focus of Exam 2 is on Java programming; evaluating expressions, knowing type of an expression, tracing through code, problem solving and writing code (adding methods to classes, writing code fragments, and writing whole classes).
You may want review Some Tips for Taking CS21 Exams.

Exam 2 Topics

The topics that will be covered on the exam are:
  1. sorting and searching arrays

  2. arrays of objects including sorting and searching (using compareTo method)

  3. objects with array data members

  4. linked lists

  5. complexity analysis (big-O, # steps of algorithm in terms of size n)
    know how to figure out the complexity of algorithms that we discussed in class. for example:

  6. binary search trees