skip to main content
article
Free access

Control flow and data structure documentation: two experiments

Published: 01 January 1982 Publication History

Abstract

Two experiments were carried out to assess the utility of external documentation aids such as macro flowcharts, pseudocode, data structure diagrams, and data structure descriptions. A 223 line Pascal program which manipulates four arrays was used. The program interactively handles commands that allow the user to manage five lists of items. A comprehension test was given to participants along with varying kinds of external documentation. The results indicate that for this program the data structure information was more helpful than the control flow information, independently of whether textual or graphic formats were used.

References

[1]
Brooke, J.B. and Duncan, K.D. An experimental study of flowcharts as an aid to identification of procedural faults. Ergonomics, 23, 4 (1980) 387-399.
[2]
Brooke, J.B. and Duncan, K.D. Experimental studies of flowchart use at different stages of program debugging. Ergonomics, 23, 11, (1980), 1057-1091.
[3]
Fitter, M. and Green, T.R.G. When do diagrams make good computer languages? Int. J. of Man-Machine Studies, 11, (1979), 235- 261
[4]
Ramsey, H.R., Atwood, M.E., and Van Doren, J.R. A comparative study of flowcharts and program design languages for the detailed procedural specification of computer programs. (ARI Tech. Rept. TR-78-A22) Colorado: Science Applications, Inc., U.S. Army Research Institute for the Behavioral and Social Sciences, 1978.
[5]
Shneiderman, B. Software Psychology: Human Factors in Computer and Information Systems, Winthrop, Cambridge, MA, 1980.
[6]
Shneiderman, B. and Mayer, R. Syntactic/semantic interactions in programmer behavior: A model and experimental results. Int. J. of Computer and Information Sciences, 7, (1979) 219-239.
[7]
Shneiderman, B., Mayer, R., McKay, D., and Heller, P. Experimental investigations of the utility of detailed flowcharts in programming. Comm. ACM, 20, (1977) 373-381.
[8]
Sheppard, S.B. and Kruesi, E. The effects of the symbology and spatial arrangement of software specifications in a coding task. Proc. Trends and Applications 1981: Advances in Software Technology. Held at NBS, Gaithersburg, MD, available from IEEE, (1981) 7-13.
[9]
Sheppard, S.B., Kruesi, E. and Curtis, B. The effect of symbology and spatial arrangement on the comprehension of software specifications. Proc. 5th Int. Conf. on Software Engineering. San Diego, CA, available from IEEE, 1981, 207-214.

Cited By

View all

Index Terms

  1. Control flow and data structure documentation: two experiments

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 January 1982
    Published in CACM Volume 25, Issue 1

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. data structure diagrams
    2. pseudocode

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)117
    • Downloads (Last 6 weeks)21
    Reflects downloads up to 16 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Full Access

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media