Session Details

Week 3, Session 8 — Tue Dec 15

Reading

  1. Big Java, Ch. 5 Pay particular attention to the §5.2 on Comparing Values and §5.5 on Test Coverage. Be sure to read Advanced Topics 5.1-Selection Operator, 5.2-switch Statement, and 5.3-Enumerated Types.

HW Due

  1. HW 7

Topics

  1. if statements
  2. == and equals()
  3. Selection operator
  4. switch statements and enumerated types
  5. Test coverage

Resources

  1. Slides

Outline

  1. [5 min] Questions
  2. [5 min] if statement review
  3. [15 min] Comparing objects
  4. [5 min] Selection operator
  5. [5 min] Sketchpad video (break)
  6. [5 min] Switch and enum
  7. [20 min] Bid exercise
  8. [10 min] Booleans, predicate methods
  9. [5 min] Test coverage
  10. [25 min] Work time

HW Assigned

  1. HW 8