Skip To Content

Athabasca University

Unit Exercises

  1. Based on Section 1.3: Objects and Their Interactions in Programming (Poo et al., 2008), consider the following scenario and outline the objects and their interactions in terms of messages and arguments: a customer buying a book from a bookstore.
  2. Define a class structure for cars. A car generally has the ability to start, move forward, move backward, stop, and shut off. A car can also return to its relative location. The starting location is a value 0. You can use English as a pseudocode to describe the methods, similar to Poo et al. (2008). You don’t need to consider how to implement the methods in detail at this moment.

Updated August 05 2020 by FST Course Production Staff