Back to search

University of Nebraska

A comparison of program comprehension by procedural and object-oriented programmers

Abstract

dc:description.abstract

Limited research exists related to the cognitive processes underlying program maintenance and the variations between these processes in different programming paradigms. The purpose of this exploratory study was to identify and examine longitudinally the cognitive processes underlying program comprehension during maintenance. The goals of the research were three-fold: (1) to study the mental models being constructed and utilized to guide comprehension during program maintenance, (2) to investigate the comprehension strategies employed when performing maintenance over time, and (3) to identify differences in the mental models and comprehension strategies used by procedural and object-oriented programmers. Thirty expert procedural and object-oriented programmers studied and then performed three program modifications during two sessions which were a week apart. Subjects first studied the program materials, then answered a set of questions designed to elicit the categories of knowledge present in program text. Next three program modifications were completed, one during the first session and the remaining two during the second session. Last, a second set of comprehension questions was completed. The results suggested that procedural and object-oriented programmers both construct and utilize a mixed mental model of the program which contains both program and domain-based information. The initial model of the object-oriented subjects was more global and related more closely to the problem domain while the procedural subjects' model was more closely related to the details of the program text. After performing the modifications, procedural subjects' models remained essentially the same while object-oriented subjects' models became more balanced. Object-oriented programmers appear to use a top-down comprehension strategy which relies heavily on scanning behavior. Procedural programmers appear to employ a bottom-up strategy. The results suggest that regardless of paradigm, expert programmers eventually build a systematic, rather than a localized, view of the program. Little difference in modification performance was observed between the two paradigms.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Level thesis:degree_level
Dissertation

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Corritore, Cynthia L

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Nebraska
Base URL
digitalcommons.unl.edu/do/oai/
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Corritore, Cynthia L. A comparison of program comprehension by procedural and object-oriented programmers. Dissertation thesis, https://digitalcommons.unl.edu/dissertations/AAI9715959