CompSci 6- Review - Apr 6, 2010
Main Topics Covered
- Topics from last exam - Still Important!
- Assigned Reading on the calendar
- data types: int, double, boolean
- String class - member functions
- Conditional (if), Loops (for, while)
- Class - parts
Fill in parts of a new class
- ArrayList - create, add to, access, set
- Reading from a file, File class
- Scanner class
- random number generator
- New Topics since last exam
- Inheritance
- More on Classes
- loops, loop invariants
- 2D arrays Pixmap
- Sets/Iterators (TreeSet)
Topics NOT Covered
- Material from April 1 (comparators, sorting)
Note Classwork 18 is due April 13.
- output to a file
Logistics
- Just need pen or pencil
- Closed book, closed notes, closed neighbor
- No electronic devices (no cellphones, calculates, computers, etc.)
- No paper
- will provide Java classes that you may need for the exam (similar
to old tests) such as String, ArrayList, Scanner, File, Pixmap
How to Study
- Review classwork, lecture notes
practice writing code on paper
- Old tests - under resources link