Using a maze case study to teach: object-oriented programming and design patterns

  • Authors:
  • Chris Nevison;Barbara Wells

  • Affiliations:
  • Colgate University, Hamilton, NY;South Fork High School, Stuart, FL

  • Venue:
  • ACE '04 Proceedings of the Sixth Australasian Conference on Computing Education - Volume 30
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In order to teach object-oriented design and programming in introductory computer science it is imperative to teach objects from the very beginning of the course. The use of interacting objects is motivated by examples with an inherent complexity. We describe a case study based on a maze as an example that provides a complex framework but at the same time admits to simple pieces that students can work with early in an introductory course. This case study can be used throughout the first year not only to introduce basic control structures, but also to introduce a number of design ideas and algorithms.