Abstract
This paper reviews psychological research on programming and applies it to the problems of learning and teaching Prolog. We present a psychological model that explains how a certain class of errors in programs comes about. The model fits quite well with the results of a small sample of students and problems. The problems that underlie these and other errors seem to be (a) the complexity of the Prolog primitives (unification and backtracking) and (b) the misfit between students' naive solutions to a problem and the constructs that are available in Prolog (e.g. iterative solutions do not map easily to recursive programs). This suggests that learning Prolog could be helped by (1) coherent and detailed instruction about how Prolog works, (2) emphasis on finding recursive solutions that do not rely on primitives such as assignment and (3) instruction in programming techniques that allow students to implement procedural solutions. © 1990 Kluwer Academic Publishers.
Cite
CITATION STYLE
Van Someren, M. W. (1990). What’s wrong? Understanding beginners’ problems with Prolog. Instructional Science, 19(4–5), 257–282. https://doi.org/10.1007/BF00116441
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.