An experiment on short-term effects of animated versus static visualization of operations on program perception

Empirical evaluation of visualizations has so far been typically carried out by measuring the performance of participants that have been shown the visualization in relation to control group by grading programming tasks. Such studies tell little about what effects take place during the visualizations and how these effects build up into the learning effects. To address these issues, we are carrying out a series of experiments using visualization tools whose long-term effects are known.This paper presents a model of the cognitive phenomena that take place during visualization viewing sessions and describes an experiment where two visualization tools that differed in the amount of animation were used. The results show that even when participants were provided with rich visual information in the form of animations, they resorted heavily to the textual cues present on the screen. As the animation proceeded, participants started to follow visual cues more closely. However, if the names of the variables involved in the current operation were not in the visually cued area, participants tended to search for them in the program code. In the absence of animation, participants were more eager to browse the code in general.

[1]  Marc H. Brown,et al.  Zeus: a system for algorithm animation and multi-view editing , 1991, Proceedings 1991 IEEE Workshop on Visual Languages.

[2]  John T. Stasko,et al.  Evaluating animations as student aids in learning computer algorithms , 1999, Comput. Educ..

[3]  E. Helttula,et al.  Graphical specification of algorithm animations with ALADDIN , 1989, [1989] Proceedings of the Twenty-Second Annual Hawaii International Conference on System Sciences. Volume II: Software Track.

[4]  Seppo Nevalainen,et al.  Short-Term Effects of Graphical versus Textual Visualisation of Variables on Program Perception , 2005, PPIG.

[5]  Jorma Sajaniemi,et al.  An empirical analysis of roles of variables in novice-level procedural programs , 2002, Proceedings IEEE 2002 Symposia on Human Centric Computing Languages and Environments.

[6]  Robert S. Rist Schema Creation in Programming , 1989, Cogn. Sci..

[7]  Marja Kuittinen,et al.  An Experiment on Using Roles of Variables in Teaching Introductory Programming , 2005, Comput. Sci. Educ..

[8]  Marja Kuittinen,et al.  An Inter-Rater Reliability Analysis of Good's Program Summary Analysis Scheme , 2004, PPIG.

[9]  John T. Stasko,et al.  Please address correspondence to , 2000 .

[10]  Jorma Sajaniemi,et al.  Roles of variables and programming skills improvement , 2006, SIGCSE '06.

[11]  Bernd Freisleben,et al.  ANIMAL: A System for Supporting Multiple Roles in Algorithm Animation , 2002, J. Vis. Lang. Comput..

[12]  Andrew T. Duchowski,et al.  Eye Tracking Methodology: Theory and Practice , 2003, Springer London.

[13]  Nancy Pennington,et al.  Comprehension strategies in programming , 1987 .

[14]  Judith Good Programming paradigms, information types and graphical representations : empirical investigations of novice program comprehension , 1999 .

[15]  Rachelle S. Heller,et al.  Integrating algorithm animation into a learning environment , 1997, Comput. Educ..

[16]  Jorma Sajaniemi,et al.  An Empirical Evaluation of Visual Metaphors in the Animation of Roles of Variables , 2005, Informing Sci. Int. J. an Emerg. Transdiscipl..

[17]  Erkki Sutinen,et al.  Animation of user algorithms on the Web , 1997, Proceedings. 1997 IEEE Symposium on Visual Languages (Cat. No.97TB100180).

[18]  N. Hari Narayanan,et al.  Dancing hamsters and marble statues: characterizing student visualizations of algorithms , 2003, SoftVis '03.

[19]  Erkki Sutinen,et al.  Automated Animation of Algorithms with Eliot , 1998, J. Vis. Lang. Comput..

[20]  Haider Ali Ramadhan Programming by discovery , 2000, J. Comput. Assist. Learn..

[21]  Kate Ehrlich,et al.  An empirical investigation of the tacit plan knowledge in programming , 1984 .

[22]  Marja Kuittinen,et al.  Visualizing Roles of Variables in Program Animation , 2004, Inf. Vis..