Here, there and everywhere - on the recurring use of turtle graphics in CS1

  • Authors:
  • Michael E. Caspersen;Henrik Bærbak Christensen

  • Affiliations:
  • -;-

  • Venue:
  • ACSE '00 Proceedings of the Australasian conference on Computing education
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Logo programming language implements a virtual drawing machine—the turtle machine. The turtle machine is well-known for giving students an intuitive understanding of fundamental procedural programming principles. In this paper we present our experiences with resurrecting the Logo turtle in a new object-oriented way and using it in an introductory object-oriented programming course. While, at the outset, we wanted to achieve the same qualities as the original turtle (understanding of state, control flow, instructions) we realized that the concept of turtles is well suited for teaching a whole range of fundamental principles. We have successfully used turtles to give students an intuitive understanding of central object-oriented concepts and principles such as object, class, message passing, behaviour, object identification, subclasses and inheritance; an intuitive understanding of recursion; and to show students the use of abstraction in practice as the turtles at a late stage in the course becomes a handy graphics library used in a context otherwise unrelated to the turtles.