Program animation based on the roles of variables

  • Authors:
  • Jorma Sajaniemi;Marja Kuittinen

  • Affiliations:
  • University of Joensuu;University of Joensuu

  • Venue:
  • Proceedings of the 2003 ACM symposium on Software visualization
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Computer programming is a difficult skill for many students and visualizations may be used to foster learning. This paper presents a program animation system, PlanAni, that is based on the concept of the roles of variables. Roles represent schematic uses of variables that occur in programs over and over again, and a set of nine roles covers practically all variables in novice-level programs. PlanAni has been tested in a teaching experiment comparing traditional teaching with role-based teaching and animation. The results of a semi-structured interview with the teacher indicate that students like to work with the animator and that the system clarifies many concepts in programming.