NOVICES DEBUGGING WHEN PROGRAMMING IN PASCAL

被引:10
|
作者
ALLWOOD, CM
BJORHAG, CG
机构
[1] Department of Psychology, University of Göteborg, S-40020 Göteborg
来源
关键词
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
相关论文
共 50 条
  • [1] Novices' Debugging Behaviors in VB Programming
    Chen, Mei-Wen
    Wu, Cheng-Chih
    Lin, Yu-Tzu
    [J]. 2013 LEARNING AND TEACHING IN COMPUTING AND ENGINEERING (LATICE 2013), 2013, : 25 - 30
  • [2] Combining latent profile analysis and programming traces to understand novices’ differences in debugging
    Yingbin Zhang
    Luc Paquette
    Juan D. Pinto
    Qianhui Liu
    Aysa Xuemo Fan
    [J]. Education and Information Technologies, 2023, 28 : 4673 - 4701
  • [3] Combining latent profile analysis and programming traces to understand novices' differences in debugging
    Zhang, Yingbin
    Paquette, Luc
    Pinto, Juan D.
    Liu, Qianhui
    Fan, Aysa Xuemo
    [J]. EDUCATION AND INFORMATION TECHNOLOGIES, 2023, 28 (04) : 4673 - 4701
  • [4] Teaching debugging - Giving novices expert knowledge
    White, A
    [J]. ARTIFICIAL INTELLIGENCE IN EDUCATION: KNOWLEDGE AND MEDIA IN LEARNING SYSTEMS, 1997, 39 : 674 - 676
  • [5] PROGRAM DEBUGGING WITH PASCAL-64000
    MCDONLEY, PA
    [J]. HEWLETT-PACKARD JOURNAL, 1980, 31 (10): : 22 - 23
  • [6] THE IMPACT OF PASCAL EDUCATION ON DEBUGGING SKILL
    STONE, DN
    JORDAN, EW
    WRIGHT, MK
    [J]. INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1990, 33 (01): : 81 - 95
  • [7] TRAINING OF PASCAL NOVICES ERROR HANDLING ABILITY
    ALLWOOD, CM
    BJORHAG, CG
    [J]. ACTA PSYCHOLOGICA, 1991, 78 (1-3) : 137 - 150
  • [8] Programming by numbers: A programming method for novices
    Glaser, H
    Hartel, PH
    Garratt, PW
    [J]. COMPUTER JOURNAL, 2000, 43 (04): : 252 - 265
  • [9] PROGRAMMING IN PASCAL
    GREENE, G
    [J]. CREATIVE COMPUTING, 1982, 8 (11): : 120 - &
  • [10] Comparison of Two Approaches when Teaching Object-Orientated Programming to Novices
    Adair, Desmond
    Jaeger, Martin
    Stegen, Jonathan
    [J]. INTERNATIONAL JOURNAL OF ENGINEERING EDUCATION, 2011, 27 (05) : 1027 - 1036