NOVICES DEBUGGING WHEN PROGRAMMING IN PASCAL

被引:10
作者
ALLWOOD, CM
BJORHAG, CG
机构
[1] Department of Psychology, University of Göteborg, S-40020 Göteborg
来源
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES | 1990年 / 33卷 / 06期
关键词
D O I
10.1016/S0020-7373(05)80070-7
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this study an analysis was made of novices debugging their own Pascal programs. Eight novices verbalized their thoughts aloud while attempting to solve a programming task. Novices' debugging is seen as taking place in negative evaluation episodes (henceforth: evaluation episodes). During the three hour programming session, the novices spent 51% of the time in evaluation episodes. This percentage would presumably have been higher if the subjects had been given more time for the session. Evaluation episodes were found to be triggered in four different contexts: Reaction to an error message (67% of the total time spent in any evaluation episode), Reaction to the resulting value of a test run (23%), Hint from the experimenter (4%) and Other (6%). When related to results presented by Gray and Anderson (1987), our results indicate that novices perform the substantial part of their debugging after they have compiled the program, or part of it, for the first time. Despite the information given in the computer's error messages, the percentage of errors eliminated in episodes triggered by such messages was not higher than could be expected from the time spent in these episodes. Our results indicate that the importance of activity oriented towards understanding one's program during debugging depends on: (1) whether the error elicits an error message from the computer or not; and (2) the general programming strategy used by the subject. © 1990 Academic Press Limited.
引用
收藏
页码:707 / 724
页数:18
相关论文
共 20 条
[1]   WHEN NOVICES SURPASS EXPERTS - THE DIFFICULTY OF A TASK MAY INCREASE WITH EXPERTISE [J].
ADELSON, B .
JOURNAL OF EXPERIMENTAL PSYCHOLOGY-LEARNING MEMORY AND COGNITION, 1984, 10 (03) :483-495
[2]   NOVICES ON THE COMPUTER - A REVIEW OF THE LITERATURE [J].
ALLWOOD, CM .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1986, 25 (06) :633-658
[3]   ERROR-DETECTION PROCESSES IN STATISTICAL PROBLEM-SOLVING [J].
ALLWOOD, CM .
COGNITIVE SCIENCE, 1984, 8 (04) :413-437
[4]  
ATWOOD ME, 1978, ARI TR78A21 SCI APPL
[5]  
Dalbey J., 1985, Journal of Educational Computing Research, V1, P253, DOI 10.2190/BC76-8479-YM0X-7FUA
[6]   USER ERROR OR COMPUTER ERROR - OBSERVATIONS ON A STATISTICS PACKAGE [J].
DAVIS, R .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 19 (04) :359-376
[7]   EXPLORATORY STUDY OF COMPUTER-PROGRAM DEBUGGING [J].
GOULD, JD ;
DRONGOWSKI, P .
HUMAN FACTORS, 1974, 16 (03) :258-277
[8]   SOME PSYCHOLOGICAL EVIDENCE ON HOW PEOPLE DEBUG COMPUTER PROGRAMS [J].
GOULD, JD .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1975, 7 (02) :151-182
[9]  
Gray W. D., 1987, EMP STUD PROGR 2 WOR, P185
[10]  
Gugerty L., 1986, P SIGCHI C HUMAN FAC, P171, DOI [10.1145/22627.22367, DOI 10.1145/22627.22367]