Stimulus Structures and Mental Representations in Expert Comprehension of Computer Programs.

Abstract

Comprehension of computer programs involves detecting or inferring different kinds of relations between program parts. Different kinds of programming knowledge facilitate detection and representation of the different textual relations. This research investigates the role of programming knowledge in program comprehension and the nature of mental representations of programs; specifically, whether procedural (control flow) or functional (goal hierarchy) relations dominate programmers' mental representations of programs. In the first study eighty professional programmers were tested on comprehension and recognition of short computer program texts. The results suggest that procedural rather than functional units form the basis of expert programmers' mental representations, supporting work in other areas of text comprehension showing the importance of text structure knowledge in understanding. In a second study forty professional programmers studied and modified programs of moderate length. Results support conclusions from the first study that programs are first understood in terms of their procedural episodes. However, results also suggest that a programmer's task goals may influence the relations that dominate mental representations later in comprehension. Keywords: Problem solving; Software psychology.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Sep 01, 1986
Accession Number
ADA179392

Entities

People

  • Nancy Pennington

Organizations

  • University of Chicago

Tags

Communities of Interest

  • C4I

DTIC Thesaurus Topics

  • Accuracy
  • Artificial Intelligence
  • Classification
  • Cognition
  • Computational Science
  • Computations
  • Computer Programming
  • Computer Programs
  • Computer Science
  • Computers
  • Construction
  • Information Processing
  • Information Science
  • Linguistics
  • Programming Languages
  • Psychology
  • Reliability

Fields of Study

  • Computer science

Readers

  • Artificial Intelligence

Technology Areas

  • AI & ML
  • AI & ML - Information Retrieval