Debugging: the good, the bad, and the quirky -- a qualitative analysis of novices' strategies


Autoria(s): Zander, Carol; Simon, Beth; Lewandowski, Gary; Murphy, Laurie; Thomas, Lynda; McCauley, Renee
Contribuinte(s)

Department of Computer Science

Software Engineering

Data(s)

26/09/2008

26/09/2008

01/02/2008

Resumo

Murphy, L., Lewandowski, G., McCauley, R., Simon, B., Thomas, L., and Zander, C. 2008. Debugging: the good, the bad, and the quirky -- a qualitative analysis of novices' strategies. SIGCSE Bull. 40, 1 (Feb. 2008), 163-167

A qualitative analysis of debugging strategies of novice Java programmers is presented. The study involved 21 CS2 students from seven universities in the U.S. and U.K. Subjects 'warmed up' by coding a solution to a typical introductory problem. This was followed by an exercise debugging a syntactically correct version with logic errors. Many novices found and fixed bugs using strategies such as tracing, commenting out code, diagnostic print statements and methodical testing. Some competently used online resources and debuggers. Students also used pattern matching to detect errors in code that 'just didn't look right'. However, some used few strategies, applied them ineffectively, or engaged in other unproductive behaviors. This led to poor performance, frustration for some, and occasionally the introduction of new bugs. Pedagogical implications and suggestions for future research are discussed.

Non peer reviewed

Formato

5

Identificador

Zander , C , Simon , B , Lewandowski , G , Murphy , L , Thomas , L & McCauley , R 2008 , ' Debugging: the good, the bad, and the quirky -- a qualitative analysis of novices' strategies ' pp. 163-167 .

PURE: 77626

PURE UUID: cc5f5f4d-8595-4869-a3d9-d2aadb38073a

dspace: 2160/652

http://hdl.handle.net/2160/652

Idioma(s)

eng

Tipo

/dk/atira/pure/researchoutput/researchoutputtypes/contributiontoconference/paper

Conference paper

Relação

Direitos