Novice Rationales for Sketching and Tracing, and How They Try to Avoid It
Authors:
Open Access
- 2 July 2019
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 37-43
Abstract
Prior research has shown that sketching out a code trace on paper is correlated with higher scores on code reading problems. Why do students sometimes choose not to draw out a code trace, or if they do, choose a different sketching technique than their instructor has demonstrated? In this study, we interviewed 13 CS1 students retrospectively about their decisions to sketch and draw on a recent programming exam. When students do sketch, we find that their sketching choices do not always align with a strict execution of the notional machine. Sketching choices are driven by a search for a program's patterns, an attempt to create organizational structure among intermediate values, and the tracking of prior steps and results. When novices don't sketch, they often report that they've identified the goal that the code achieves. In either case, novices are searching for the functionality of code, rather than merely tracing its behavior.Keywords
Funding Information
- NSF (DGC-114890)
This publication has 18 references indexed in Scilit:
- A Review of Generic Program Visualization Systems for Introductory Programming EducationACM Transactions on Computing Education, 2013
- Trace-based teaching in early programming courses2013
- Factors in novice programmers' poor tracing skillsACM SIGCSE Bulletin, 2007
- Not seeing the forest for the treesACM SIGCSE Bulletin, 2006
- A multi-national study of reading and tracing skills in novice programmersACM SIGCSE Bulletin, 2004
- Scaffolding with object diagrams in first year programming classes2004
- CS1 assessment using memory diagramsACM SIGCSE Bulletin, 2004
- A Meta-Study of Algorithm Visualization EffectivenessJournal of Visual Languages & Computing, 2002
- Some Difficulties of Learning to ProgramJournal of Educational Computing Research, 1986
- When novices surpass experts: The difficulty of a task may increase with expertise.Journal of Experimental Psychology: Learning, Memory, and Cognition, 1984