Introduction to Computer Science II for majors by James Tam |
Calling a method within the methods of the same class
Calling a method outside the methods of a class
Writing a program that illustrates an example of: information hiding, method overloading, attributes and local variables
Converting an iterative program to a recursive equivalent
Any of the linked list functions covered in class plus:
In order insert (using two pointers "2-step" and 1 pointer "peek-ahead")
Search and remove (using 1 pointer "peek-ahead")
Reverse order insert
Recursive reverse order display
Array operations covered in class plus:
In order insert
Reverse order insert
Recursive display (reverse order)
Iterative display (reverse order)
Search and replace an element
Finding the average (numeric only)
Finding the largest and smallest elements
Implementing common methods:
toString() and equals() method (if advanced Java is included in the midterm
Mutators, accessors, constructors, overloaded constructors and this()
Note: this list is not meant to be a comprehensive list of topics that you
should study, for that information you should look to the course notes. Instead
this link is meant to give you an idea of some questions that are similar in
difficulty to some of the ones that you could find in the actual midterm.