Computer Science 161 A
Exam #2 review
Disclaimer: I have attempted to be comprehensive in the following, but important
items may have been omitted by mistake. If you see such an omission, please let
me know, but you are responsible for all of the lecture material to date.
The first hour exam in CSci 161 will be on Friday, October 24, and will
cover chapters three and four in the textbook (not yet including material on
searching and sorting).
We added toString to the review in class Friday.
In particular, be able to
- Describe (in general terms) what the debugger can do.
- Be able to use the new command and say what it does.
- Be able to specify and write code for an ArrayList. The current
exercise lists a few things that you should be able to do with ArrayLists.
- Be able to use iterators.
- Be able to use while loops and for loops (both kinds).
- Be able to list and describe the three basic control structures,
and to give examples of each.
- Specify arrays and use the for loop to process elements in
an array. The project Array01 gives examples of some things you should
be able to do.
- Be able to say what the this keyword does.
- Be able to override the toString method and to say what it
means to over-ride something)
- Be able to create random numbers.