• Home
  • Search
  • An investigation of the psychological processes underlying the debugging of computer programs
  • Cite Icon18
  • https://doi.org/10.14264/219043Copy DOI Icon

An investigation of the psychological processes underlying the debugging of computer programs

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

The primary objective of this thesis is to contribute to a theory of programmer expertise with respect to debugging computer programs. It is important to develop a theory of programmer expertise for the following reasons. First, understanding the knowledge structures that expert and novice programmers possess will aid in such tasks as recruitment and training of programmers, evaluation of programmers, the development of programmer rating instruments, and the design and choice of debugging aids. Second, researchers must control for the knowledge structures programmers possess if they wish to measure the effects of other factors that influence programming performance, namely, factors such as language design, program layout, and programming mode. Furthermore, since debugging is a diagnostic task, this research will also contribute to a general theory of expertise in diagnosis. Since the aim of the research was to investigate problem solving processes, a protocol analysis methodology was employed, i.e., a methodology designed to investigate what happens during problem solving rather than to measure the outcome of problem solving. The task materials were deliberately kept simple so that processes could be investigated free from the effects of differential knowledge of the application domain. Two levels of task difficulty were incorporated into the study by introducing a bug at different levels in the program. It was hypothesized that differences beteen expert and novice programmers would become more apparent as the task became more difficult. Professional programmers were used as subjects to increase the external validity of the research. The major results from the research stem from the difficulties perceived in defining groups of expert and novice programmers. Two classifications were originally used to distinguish experts from novices. One was based on ratings provided by the programmers' superiors, while the other was based on a programmer's ability to recall a computer program. Neither of these two classifications appeared to differentiate the performance of programmers. Consequently, a third method of classification was derived the protocol data itself. This ex post classification was founded on the assumption that expert programmers display smooth-flowing rather than erratic approaches to problem solving. Based on this classification, the statistical analyses did differentiate the performance of expert and novice programmers. In addition, the program bug discriminated between the two groups of programmers. Analysis of the strategies adopted by programmers showed that those classified as experts by the ex post classification are characterized by their top-down, breadth-first approach to problem solving and by their ability to conceive of the program as a system, whereby they could deduce a causal model of the error. Novices, on the other hand, are characterized by their depth-first search for the error and/or by their lack of system thinking. In summary, the research has contributed to the formulation of a theory of programmer expertise and of a general theory of expertise in diagnosis by identifying the following strategic propositions for further investigation: 1. (a) Experts use a top-down, breadth-first approach to problem solving and, at the same time, conceive of the problem area as a system. (b) Experts display smooth-flowing approaches to problem solving. 2. (a) Novices use a depth-first approach to problem solving, or they are unable to use a systems approach, or both. (b) Novices display erratic approaches to problem solving.

Similar Papers
  • Research Article
  • Citations114

What do novices learn during program comprehension?

  • Jan 01, 1991
  • International Journal of Human-Computer Interaction
  • Cynthia L. Corritore +1
  • Research Article
  • Citations75

Mining biometric data to predict programmer expertise and task difficulty

  • Jan 21, 2017
  • Cluster Computing
  • Seolhwa Lee +4
  • Research Article
  • Citations40

Computational thinking in early childhood education: The impact of programming a tangible robot on developing debugging knowledge

  • Jan 01, 2023
  • Early Childhood Research Quarterly
  • Anastasia Misirli +1
  • Conference Article
  • Citations51

Archetype-based design: Sensor network programming for application experts, not just programming experts

  • Apr 13, 2009
  • Lan S Bai +2
  • Research Article
  • Citations100

Characteristics of the mental representations of novice and expert programmers: an empirical study

  • Nov 01, 1993
  • International Journal of Man-Machine Studies
  • Susan Wiedenbeck +2
  • Research Article
  • Citations11

Development of a Check Sheet for Code-review towards Improvement of Skill Level of Novice Programmers

  • Jan 01, 2018
  • Procedia Computer Science
  • Shinichi Oeda +1
  • Research Article

TRANSFER OF GENERAL SKILLS ACROSS DOMAINS: COMPUTER PROGRAM DEBUGGING AND TROUBLESHOOTING OF CIRCUITS

  • Oct 01, 1991
  • ACM SIGCHI Bulletin
  • Adrienne Y Lee
  • Dissertation
  • Citations1

Modelling Programming Problem Solving in Python ACT-R

  • Jan 01, 2021
  • Maria Vorobeva
  • Conference Article
  • Citations295

Debugging reinvented

  • Jan 01, 2008
  • Andrew J Ko +1
  • Research Article
  • Citations76

Cooperative learning in computer programming: A quasi-experimental evaluation of Jigsaw teaching strategy with novice programmers

  • Mar 24, 2021
  • Education and Information Technologies
  • Manuel B Garcia
  • Research Article
  • Citations41

Comparing novice programing environments for use in secondary education: App Inventor for Android vs. Alice

  • Jan 01, 2018
  • International Journal of Technology Enhanced Learning
  • Stamatios Papadakis +1
  • Conference Article
  • Citations39

Computer programming and novice programmers

  • Jun 11, 2012
  • Martinha Piteira +1
  • Conference Article
  • Citations5

Applying pair programming for advanced Java course

  • Oct 20, 2011
  • Annu B Prabhakar
  • Research Article
  • Citations112

The Effectiveness of Different Representations for Managerial Problem Solving: Comparing Tables and Maps

  • Apr 01, 1997
  • Decision Sciences
  • John B Smelcer +1
  • Research Article
  • Citations6

Computer-Aided Performance Training for Diagnostic and Procedural Tasks

  • Jun 01, 1974
  • Journal of Educational Technology Systems
  • J W Rigney +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.