AN EMPIRICALLY-DERIVED CONTROL STRUCTURE FOR THE PROCESS OF PROGRAM UNDERSTANDING

被引:40
作者
DETIENNE, F [1 ]
SOLOWAY, E [1 ]
机构
[1] YALE UNIV,DEPT COMP SCI,COGNIT & PROGRAMMING PROJECT,NEW HAVEN,CT 06520
来源
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES | 1990年 / 33卷 / 03期
关键词
Computer Programming;
D O I
10.1016/S0020-7373(05)80122-1
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Various models of program undestanding have been developed from the Schema Theory. To data, the authors have sought to identify the knowledge that programmers have and use in understanding programs, i.e. Programming Plans and Rules of Discourse. However, knowledge is only one aspect of program understanding. The other aspect is the cognitive mechanisms that use knowledge. The contribution of this study is the identification of different mechanisms involved in program understanding by experts, specifically the mechanisms which cope with novelty. An experiment was conducted to identify and describe the expert's strategies involved in understanding usual (plan-like) and unusual (unplan-like) programs. While performing a fill-in-a-blank task, subjects were asked to talk aloud. The analysis of verbal protocols allowed the identification of four different strategies of understanding. Under "normal" conditions the strategy of sympbolic simulation is involved. But when failures occur additional strategies are required. The authors identified three types of understanding failures the subject may experience (no expectation, expectation clashes, insufficient expectations) and the additional strategies invoked in those cases: (1) reasoning according to rules of discourse and principles of the taks domain; (2) reasoning with plan constrains; (3) concrete simulation. The authors develop an operational description of these strategies and discuss the control structure of program understanding in the framework of schema theory. © 1990 Academic Press Limited.
引用
收藏
页码:323 / 342
页数:20
相关论文
共 15 条
[1]   SCRIPTS IN MEMORY FOR TEXT [J].
BOWER, GH ;
BLACK, JB ;
TURNER, TJ .
COGNITIVE PSYCHOLOGY, 1979, 11 (02) :177-220
[2]   TOWARDS A THEORY OF THE COMPREHENSION OF COMPUTER-PROGRAMS [J].
BROOKS, R .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (06) :543-554
[3]  
DETIENNE F, 1988, TRAV HUMAIN, V51, P335
[4]  
DETIENNE F, 1990, COGNITIVE ERGONOMICS
[5]   DELOCALIZED PLANS AND PROGRAM COMPREHENSION [J].
LETOVSKY, S ;
SOLOWAY, E .
IEEE SOFTWARE, 1986, 3 (03) :41-49
[6]  
LETOVSKY S, 1986, EMPIRICAL STUDIES PR
[7]  
LITTMAN DC, 1986, EMPIRICAL STUDIES PR
[8]  
Pennington N., 1987, EMPIRICAL STUDIES PR
[9]  
RICH C, 1981, TR604 MIT AI LAB TEC
[10]  
Rumelhart D, 1981, UNDERSTANDING UNDERS