CSCI 180/181 Spring 2008, Topics for Exam I
Terms/Concepts
- Object
- Class
- Method
- Parameter (formal vs actual)
- Method signature
- Type
- Primitive type
- State
- Field/Instance Variable
- Constant
- Constructor
- Accessor method
- Mutator method
- Local variable
- Scope of a variable
- Expressions (logical, arithmetic)
- Internal vs. External method calls
- Whitebox testing
- Blackbox testing
- Interface vs. Implementation
Data Structures/Other Classes
- Array
- ArrayList
- HashMap
- HashSet
- Iterator
Statements
- Assignment
- Declaration
- Conditional
- Return
- Loops
Things you might be asked to do
- Read code and tell what it does
- Write simple classes
- Debug code
- Point out and identify parts of code
- Come up with test cases that help in debugging code
- Use data structures