Back to Search Start Over

Debugging: Finding, Fixing and Flailing, a Multi-Institutional Study of Novice Debuggers

Authors :
Fitzgerald, Sue
Lewandowski, Gary
McCauley, Renee
Murphy, Laurie
Simon, Beth
Thomas, Lynda
Zander, Carol
Source :
Computer Science Education. Jun 2008 18(2):93-116.
Publication Year :
2008

Abstract

Debugging is often difficult and frustrating for novices. Yet because students typically debug outside the classroom and often in isolation, instructors rarely have the opportunity to closely observe students while they debug. This paper describes the details of an exploratory study of the debugging skills and behaviors of contemporary novice Java programmers. Based on a modified replication of Katz and Anderson's study of novices, we sought to broadly survey the modern landscape of novice debugging abilities. As such, this study reports general quantitative results and fills in the picture with qualitative detail from a relatively small, but varied sample. Comprehensive interviews involving both a programming and a debugging task, followed by a semi-structured interview and a questionnaire, were conducted with 21 CS2 students at seven colleges and universities. While many subjects successfully debugged a representative set of typical CS1 bugs, there was a great deal of variation in their success at the programming and debugging tasks. Most of the students who were good debuggers were good novice programmers, although not all of the good programmers were successful at debugging. Students employed a variety of strategies to find 70% of all bugs and of the bugs they found they were able to fix 97% of them. They had the most difficulty with malformed statements, such as arithmetic errors and incorrect loop conditions. Our results confirm many findings from previous studies (some quite old)--most notably that once students find bugs, they can fix them. However, the results also suggest that some changes have occurred in the student population, particularly an increased use of debugging tools and online resources, as well as the use of pattern matching, which has not previously been reported. (Contains 4 tables, 5 figures, and 1 note.)

Details

Language :
English
ISSN :
0899-3408
Volume :
18
Issue :
2
Database :
ERIC
Journal :
Computer Science Education
Publication Type :
Academic Journal
Accession number :
EJ810215
Document Type :
Journal Articles<br />Reports - Research
Full Text :
https://doi.org/10.1080/08993400802114508