Lecture10: Repetition

  1. Do the normal set up: log on, open this page, open JCreator, create a lecture folder, and be prepared to take notes and solve problems.

  2. Download the files from this folder to your lecture folder.

  3. Israel Ditzler available Sunday 1:00-2:00pm (or later) and Ben Yoder available Sunday 3:00pm-4:00pm (or later) in UN004.
  4. As of Tuesday, there have been 8 lectures and 3 labs for a total time of about 12 hours. According to the convention that an average student expecting an average grade should spend an average of two hours outside of class for each in-class hour, the average student in this class should have worked around 36 hours. Eleven students submitted time logs. The minimum time, mean, and maximum times were 12, 25, and 49 hours.

  5. Have Circles.htm and Circles.java opened in JCreator.

  6. Review constructor signatures
       public FilledRect(Location corner1, Location corner2, DrawingCanvas canvas)
    accessor signatures
       public double getWidth()
    mutator signatures
       public void setColor(Color c)
    instance variable declarations
       private int ringCount;
    local variable declarations
       double x;
    constant declarations and assignment
       public static final int FONT_SIZE = 12;
  7. Exam 1 will cover chapters 1-7 (except for the starred sections 7.6 and 7.8). Exercises in the text provide good practice, and solutions are available in Blackboard. Exam questions will involve writing and interpreting Java code.

Demonstrations

For Reference Afterward