An investigation of the utility of flowcharts during computer program debugging

https://doi.org/10.1016/S0020-7373(84)80074-7Get rights and content

Abstract

An experiment was performed to investigate whether flowcharts improved the speed and efficiency of computer program debugging. Twenty-four subjects were given six problems, each a program containing one error. The errors could be located by studying the behaviour of the program. The subjects were divided into three groups of eight and were given the programs either as a listing, a Standard notation fiowchart or as a Bowles structure diagram. No significant differences were found between these three conditions for any of the three dependent variables, but there were differences in performance between problems. The analysis of performance variation across conditions and problems implies that fiowchart usefulness may not be a clear-cut issue. The results suggest that both the nature of the task and the individual programmer characteristics are important determinants of fiowchart utility. A framework is presented which emphasizes these factors and which is generalizable to other aspects of programming performance.

References (29)

  • M.J. Coombs et al.

    Learning a first computer language: strategies for making sense

    International Journal of Man-Machine Studies

    (1982)
  • M.J. Fitter et al.

    When do diagrams make good computer languages?

    International Journal of Man-Machine Studies

    (1979)
  • A.S. Blaiwes

    Formats for presenting procedural instructions

    Journal of Applied Psychology

    (1974)
  • M. Bohl
  • K.L. Bowles
  • J.P. Brooke et al.

    An experimental study of flowcharts as an aid to the identification of procedural faults

    Ergonomics

    (1980)
  • J.P. Brooke et al.

    Experimental studies of flowchart use at different stages of program debugging

    Ergonomics

    (1980)
  • F.P. Brooks
  • J.T. Dutka

    Anaphoric relations, comprehension and readability

  • T.R.G. Green

    Conditional program statements and their comprehensibility to professional programmers

    Journal of Occupational Psychology

    (1977)
  • T.R.G. Green

    IF's and THEN's: is nesting just for the birds?

    Software—Practice and Experience

    (1980)
  • T.R.G. Green

    Pictures of programs and other processes, or how to do things with lines

    Behaviour and Information Technology

    (1982)
  • J.M. Hoe

    Analysis of beginners' problem solving strategies in programming

  • R. Kammann

    The comprehensibility of printed instructions and the flowchart alternative

    Human Factors

    (1975)
  • Cited by (21)

    • Models of debugging

      1991, Acta Psychologica
    • Experimental evaluation of software documentation formats

      1989, The Journal of Systems and Software
    • Structural displays as learning aids

      1988, International Journal of Man-Machine Studies
    • Human computer interaction

      1987, Advances in Psychology
    View all citing articles on Scopus
    View full text