Object-Oriented Program Comprehension: Effect of Expertise, Task and Phase
Abstract
The goal of our study is to evaluate the effect on program comprehension of three factors that have not previously been studied in a single experiment. These factors are programmer expertise (expert vs. novice), programming task (documentation vs. reuse), and the development of understanding over time (phase 1 vs. phase 2). This study is carried out in the context of the mental model approach to comprehension based on van Dijk and Kintsch's model (1983). One key aspect of this model is the distinction between two kinds of representation the reader might construct from a text: 1) the textbase, which refers to what is said in the text and how it is said, and 2) the situation model, which represents the situation referred to by the text. We have evaluated the effect of the three factors mentioned above on the development of both the textbase (or program model) and the situation model in object-oriented program comprehension. We found a four-way interaction of expertise, phase, task and type of model. For the documentation group we found that experts and novices differ in the elaboration of their situation model but not their program model. There was no interaction of expertise with phase and type of model in the documentation group. For the reuse group, there was a three-way interaction between phase, expertise and type of model. For the novice reuse group, the effect of the phase was to increase the construction of the situation model but not the program model. With respect to the task, our results show that novices do not spontaneously construct a strong situation model but are able to do so if the task demands it.
Create a lesson
Metadata
- Journal
- Empirical Software Engineering (2002)
- Versions
- v1 (11/30/2006), v2 (3/2/2007)
Related papers
The Effect of Object-Oriented Programming Expertise in Several Dimensions of Comprehension Strategies
Shared title terminologycs.HCJean-Marie Burkhardt, Françoise Détienne, Susan Wiedenbeck
Mental Representations Constructed by Experts and Novices in Object-Oriented Program Comprehension
Shared title terminologycs.HCJean-Marie Burkhardt, Françoise Détienne, Susan Wiedenbeck
Design Strategies and Knowledge in Object-Oriented Programming: Effects of Experience
Shared title terminologycs.HCFrançoise Détienne
Strategies in object-oriented design
Shared title terminologycs.HCSophie Chatel, Françoise Détienne
An empirical study of software reuse by experts in object-oriented design
Shared title terminologycs.HCJean-Marie Burkhardt, Françoise Détienne
Assessing the cognitive consequences of the object-oriented approach: a survey of empirical research on object-oriented design by individuals and teams
Shared title terminologycs.HCFrançoise Détienne