Test 1 is scheduled for Tuesday (10/15). It will cover the Williams College Manuscript Chapters 1-4 and corresponding topics from Big Java. Here is a list of review topics and student expectations for test 1. You will be allowed your blue "Quick Summary of Graphic Objects and Methods" handout, and a single 8.5" x 11" sheet of paper with notes (front and back) during the test.
You should be able to:
- know the general syntax of a class that extends the WindowController including the methods begin, onMouseClick, etc.
- understand the difference between object declaration and object creation
- call appropriate mutator methods (e.g., setColor)
- use instance variables to storage long-term objects and communicate information between methods
- call accessor methods (e.g., getHeight)
- evaluate arithmetic expressions using the precedence rules
- write arithmetic expressions
- select the appropriate numeric data type: double, int, etc.
- display numeric information as Text
- understand the differences between primitive/numeric data types (int, double, boolean, etc) and reference data types (reference to objects) with respect to declaration, assignment, and parameter passing
- define and use numeric constants
- write mathematical expressions using methods in the Math class
- Implement selection control in a program using "if" and "if-else" statements
- write boolean expressions using relational and boolean operators
- evaluate given boolean expressions correctly using precedence rules
- nest an "if" statement inside another "if" statement's "then" or "else" body correctly
- understand the declaration and usage of boolean data types
- define an instantiable class with multiple instance variables, constructors, and methods
- understand the correct usage of "public" vs. "private" access control
- differentiate local and instance variables
- define and use value-returning methods
- describe how the actual arguments are passed to the formal parameters in method definition (pass-by-value)
- understand the scope rules of Java instance variables, local variable, and formal parameters
- understand the usage of "this"