Using Tracing and Sketching to Solve Programming Problems
Authors:
Open Access
- 14 August 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 164-172
Abstract
Sketching out a code trace is a cognitive assistance for programmers, student and professional. Previous research (Lister et al. 2004) showed that students who sketch a trace on paper had greater success on code 'reading' problems involving loops, arrays, and conditionals. We replicated this finding, and developed further categories of student sketching strategies. Our results support previous findings that students who don't sketch on code reading problems have a lower success rate than students who do sketch. We found that students who sketch incomplete traces also have a low success rate, similar to students who don't sketch at all. We categorized sketching strategies on new problem types (code writing, code ordering, and code fixing) and find that different types of sketching are used on these problems, not always with increased success. We ground our results in a theory of sketching as a method for distributing cognition and as a demonstration of the process of the notional machine.Keywords
This publication has 20 references indexed in Scilit:
- Subgoals, Context, and Worked Examples in Learning Computing Problem Solving2015
- Naturally occurring data as research instrumentACM SIGCSE Bulletin, 2010
- Making sense of the arrow-pushing formalism among chemistry majors enrolled in organic chemistryChemistry Education Research and Practice, 2008
- Factors in novice programmers' poor tracing skillsACM SIGCSE Bulletin, 2007
- A multi-national study of reading and tracing skills in novice programmersACM SIGCSE Bulletin, 2004
- CS1 assessment using memory diagramsACM SIGCSE Bulletin, 2004
- Learning from human tutoringCognitive Science, 2001
- How a Cockpit Remembers Its SpeedsCognitive Science, 1995
- Cognitive Load Theory and the Format of InstructionCognition and Instruction, 1991
- Some Difficulties of Learning to ProgramJournal of Educational Computing Research, 1986