A List of Questions to Know for the Final

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