CSSE 220 – Object-Oriented Software Development

Homework 8

Objectives

Practice with decisions (if, switch) in Java. More practice implementing classes based on a given specification.

Tasks

  1. Complete the assigned reading for the next session: Big Java Chapter 6.
  2. Complete the assessment exercise over this reading on ANGEL (under Lessons → Assignments).
  3. Programming:
    1. Boutell's section: finish CubicPlot
    2. Mutchler's section: finish Faces

    3. In Eclipse, checkout the Decisions project.
      • Use the SVN Repositories view to check out this project.
    4. Complete any in-class exercises that you didn’t finish in class:
      • EmailValidator
      • Bid, including getValue(), isValid(), and 100% test coverage
    5. Big Java, Exercise P5.5. We would like you to get more experience using ifs, if-elses, and switch statements, so instead of getNumericGrade, we would like you to write two methods:
      • getNumericGrade1(String). This should use either ifs or if-elses, whichever is more appropriate.
      • getNumericGrade2(String). Change your code to use at least one switch statement.

Turn-in Instructions

Turn in your programming work by committing it to your SVN repository.