Affiliation:
1. Lawrence University, Appleton WI
Abstract
Using algorithm visualisation, we depict the execution of an algorithm as a sequence of graphical snapshots, the viewing of which is controlled by the user. Current evidence indicates that algorithm visualisation is most effective as a pedagogical tool when students themselves are responsible for building the visualisation from their code. This paper discusses our use of a
Visualiser
class in Java. By providing such a class to students, they are able to incorporate into their programs, with relative ease, effective visualisations of the algorithms that their programs implement. This leads to both better understanding of the algorithm from a conceptual perspective and better proficiency at coding the algorithm.
Publisher
Association for Computing Machinery (ACM)