CS 145 Lecture 10 – Midterm 1 review
Things to know
- The test is hand-written.
- You may write SOP instead of System.out.println.
- You need not import any classes.
- The front page of the exam will contain compact documentation for the Scanner, Random, and String classes.
- A strategy: on questions where you are asked to write a method, write the method signature first, not worrying about what it’s supposed to do. Just get the return type and arguments framed correctly. Then read what the method is supposed to do and implement it.