A List of Questions to Know for the Final
-
Arrays
-
How to declare an array
-
How to allocate space for an array
-
How to find the min/max/sum/average
-
How to find the number of elements of an array that exceed a certain value
-
Multidimentional Arrays
-
How to declare
-
How to allocate space
-
How to find the min/max/sum/average
-
How to compute the total number of elements in the array
-
How to find the number of elements of an array that exceed a certain value
-
Arrays of Objects
-
How to declare
-
How to allocate space
-
How to initalize
-
How to find the number of elements of an array that exceed a certain value.
-
Objects
-
How to initalize
-
What is a constructor
-
Nested objects
-
How does a child object get painted on the screen
-
Control Structures
-
The For loop
-
Normal for loops
-
For loops that count backwards
-
For loops that count by multiples, for example 3,6,9 ...
-
The if
-
Complex conditionals (with OR and AND)
-
When does 'else' work.
-
The Do Loop
-
The While Loop
-
Variables
-
Types (int, double, String, etc).
-
How to declare
-
What is 'scope' and how does that relate to the 'smallest inclosing block'.
-
Integer math
-
Functions
-
When is paint called and why
-
When is init called and why
-
When is mouseDown called and why.
-
Which must 'return true', a boolean function or a void function?
-
Graphics
-
The Basic Primatives (drawLine, drawString, etc).
-
Colors
-
When does 'paint' get called
-
What is the difference betwen paint() and repaint()