810:053 Java Object-Oriented Programming - Spring 2002

We're not ready to do this with Java until after spring break, but check out my Pet Spider. He likes to eat, sleep and browse around on the web.
SLIMERS HELP: Java teaching assistants TA hours in Wright 339 lab (or after 5 p.m. in evening in Wright 110/112 lab).
Another look at the OOP and Java TA hours schedule.
  1. Class #1 review. DONE.
  2. Class #2 review. DONE.
  3. Class #3 review. DONE. Program Assignment #1 handed out today (Friday).
  4. Class #4 review. DONE. Week #2.
  5. Class #5 review. Started.
  6. 01/28 6th class. DONE. Study and perhaps try out the code exercises... Week #3.
                              Program #1 due. Program #2 handed out.
  7. 01/30 7th class. Done at 9:19 pm Wednesday evening.
                              Study with 6th class review to prepare for closed book, no notes exercise.
  8. 02/01 8th class. DONE. Paper and Pencil Homework Assignment #1 now available. Due on Monday, Feb 11th.
  9. 02/04 9th class. Week #4.
  10. 02/06 10th class. DONE. Program #2 due.
  11. 02/08 11th class. Started. Assignment #3 assigned in class.
  12. 02/11 12th class. Week #5. Paper and Pen exercises due at START of class. Chapter 5 of Budd started.
  13. 02/13 13th class, including QUIZ #1 guidelines and tips DONE.
                              Program #3 due (solution will be posted here Thursday at 1 PM).
                              SEARCH: Search the online Java documentation.
  14. 02/15 14th class. Done. Quiz 1.
  15. 02/18 15th class. Done. Week #6.
                              NEW INFO 10 p.m. 02/20: Programming Assignment #4 to extend Ball
                              class to trace its history by drawing lines.
  16. 02/20 16th class. Vector class. DONE, including Vector group exercise solution.
  17. 02/22 17th class. PREVIEW READY.
  18. 02/25 18th class. Week #7. Program #4 due. See note.
  19. 02/27 19th class. Ready. INCLUDES QUIZ #2 outline and study guide.
  20. 03/01 20th class. Interfaces, Adapters, Inner classes. Quiz 2. Quiz Two.
  21. 03/04 21st class. Week #8. Program #5 handed out. To be discussed further on Wednesday.
  22. 03/06 22nd class. Ready.
  23. 03/08 23rd class. Here is Program #6 Ready. Window close button. windowClosing() method, WindowAdapter class.
                              Program #6 assigned. Page 120, #9, the red circle, blue circle, green circle for 1000 milliseconds Java Exercise.
                              THREAD HINTS: on GREEN for 1000 milliseconds, then BLUE
  24. 03/11 24th class. Week #9. Program #5 due by 9:30 a.m. tommorrow (Tuesday 03/12).
                              Download the PinBall Chapter 7 classes.
  25. 03/13 25th class. Started.
  26. 03/15 26th class. Not ready. Program #6 due. Thread hints on GREEN for 1000 ms, then BLUE
    SPRING BREAK
  27. 03/25 27th class. Week #10.
  28. 03/27 28th class. DONE. See binary tree nodeCount() method solution. Can you improve on it?
  29. 03/29 29th class. DONE.
  30. 04/01 30th class. Week #11. Program Assignment #7 handed out.
  31. 04/03 31st class.
  32. 04/05 32nd class. Not ready. Quiz #3.
  33. 04/08 33rd class. Week #12.
  34. 04/10 34th class. Not ready. Program #7 due at the START of class. (Changed from noon).
                                 Check HERE for HINTS and help, often. New material 6:30 p.m. Tuesday 4/9th.
                                  
  35. 04/12 35th class. Assignment #8, the Simon guessing the color sequence game.

    Assignment #8:


  36. 04/15 36th class. Week #13.
  37. 04/17 37th class. Not ready. QUIZ #4. COMPREHENSIVE.
  38. 04/19 38th class. DONE. Decorator pattern, Ghostbusters and Design.
  39. 04/22 39th class. Week #14.


    Wednesday 04/24 and Friday 04/26th classes: Ben Schaefer's 11 MWF

  40. 04/24 40th class. Link for Schaefer's and Jacobson's class, to Wallingford's Tuesday, April 23rd lecture notes.

  41. 04/26 41st class. Ben Schaefer's 810:062 Computer Science II 11 MWF class. This link is for you too. Template Pattern, Hamlet, Play class.


  42. 04/29 42nd class. Week #15. Ready.

  43. 05/01 43rd class. EXTRA CREDIT: Extra credit options and tasks.

    New: Pages 1-10 of Wallingford's last lecture - Composite Pattern.
    You may add this to your EXTRA CREDIT if you wish. Besides rewriting it, try to implement a MAJORITY TEST and an OR TEST. The implementation of an AND TEST is shown. The easiest task is to show how to modify the code to make it an OR test. Remember, lazy evaluation.

    if ( x >= 100 && x <= 200 && y % 2 == 0 && z == 1 )    <-- && is AND
    
       lazy evalution means the code the compiler generates will cause
       the first FALSE condition to mean the rest of the boolean expressions
       are not evaluated.
    
    if ( x >= 100 || x <= 200 || y % 2 == 0 || z == 1 )    <-- || is OR
    
        LAZY EVALUATION means the first TRUE that is found will
        cause the then evalution of the expression to stop with that
        TRUE condition, since OR requires only one T to make the
        entire expression true.
    
    A MAJORITY would require that 3 of 4 or more than half of the
    conditions would have to be true for COMPOSITE pattern to return 
    TRUE.  So if there were ten conditions, you would need to return
    true only if SIX or more of them were true.
    

    Study Guide for Final Exam is DONE.
  44. 05/03 44th class.
  45. Final Exam 3 p.m. Monday, May 6th. Comprehensive.