James Liang - ICS Blog

ICS4U Blogging

OOP - Learning Station

Station 1: Constructing Code

  1. AS A GROUP, construct the code to match the UML
  2. AS A GROUP, construct the code for the main method that instantiates the Fraction class and uses some of its instance methods

Don’t split up the work! Do it together! What strategy did you use to help you construct the code? What are some general tips you would add for defining objects?

TO BE WRITTEN

Station 2: Draw the UML

AS A GROUP, draw up the UML for the Java code on the left for each slide. Why do you think we use UML? Add any additional reflections.

TO BE WRITTEN

Station 3: Predict the Code

  1. INDIVIDUALLY, predict the output by dragging the green circle to the correct answer
  2. AS A GROUP, compare your results with each other and discuss any values that do not match in the tables

Don’t split up the work! Do it together! What gave you some difficulty? Or, what do you think others would find difficult? Why? Add any additional reflections.

TO BE WRITTEN