This study addresses the gender differences of cognitive processes involved in program debugging. In the experiment, twenty-five participants were asked to find bugs in the test programs. Eye-movement analysis was employed to track the students’ gaze paths while they traced and tried to debug the programs. Cognitive processes were then obtained by employing sequential analysis of gaze data to investigate the significant sequences of attention areas. Cognitive processes of different genders were investigated by comparing the tracing sequences of program debugging. The experimental results show that both genders had limited working memory capacities for debugging the iterative program with complex computation. But females needed more manual calculation for the recursive program in this study. For the iterative structure, females tended to grasp the program requirements and then trace into the major part of the program, while males traced the change of output value according to the logic of the iterative statements. For the recursive problem, females traced the flow of recursive induction and the stop condition to execute the program and find bugs, while males traced the recursive function in a more leaping way. This study leaks the gender differences of cognitive processes in program debugging, based on which instructors/researchers can develop adaptive computer programming instruction for students of different genders.
[1]
Sue Fitzgerald,et al.
Debugging: finding, fixing and flailing, a multi-institutional study of novice debuggers
,
2008,
Comput. Sci. Educ..
[2]
Philip Smith.
Roger
Bakeman
John M.
Gottman
,
1987,
Animal Behaviour.
[3]
Hsueh-Chih Chen,et al.
Eye tracking technology for learning and education
,
2010
.
[4]
G J Hitch,et al.
Working memory and children's mental addition.
,
1997,
Journal of experimental child psychology.
[5]
Erkki Sutinen,et al.
Program Visualization: Comparing Eye-Tracking Patterns with Comprehension Summaries
,
2006,
PPIG.
[6]
Kirsti Ala-Mutka,et al.
A study of the difficulties of novice programmers
,
2005,
ITiCSE '05.
[7]
Roman Bednarik,et al.
Expertise-dependent visual attention strategies develop over time during debugging with multiple code representations
,
2012,
Int. J. Hum. Comput. Stud..
[8]
S. Al-Fedaghi,et al.
CONCEPTUAL FRAMEWORK FOR RECURSION IN COMPUTER PROGRAMMING
,
2012
.
[9]
David Perkins,et al.
Fragile knowledge and neglected strategies in novice programmers
,
1985
.