Program Structure and Design

Cognitive Science 19 (4):507-562 (1995)
  Copy   BIBTEX

Abstract

Most models of computer programming explain the programmer's behaviour by a single design strategy. This article presents a cognitive architecture that uses cue‐based search to model multiple design strategies including procedural, functional, means‐end or focal, and opportunistic design. The model has been implemented in an artificial intelligence (AI) system that generates Pascal programs from English specifications.Knowledge is represented as nodes that reside in internal or external memory, where a node encodes an action that may range from a line of code to a routine in size. A program is built by linking nodes through a search cue of the form. The cue is broadcast to memory, and any matching node is returned; the cue provides a question to ask, and the return provides the answer. A cue on the newly linked node is then selected as a new focus, and the search process repeated. Each design strategy defines a specific node visiting order that traverses the program structure through its links.

Other Versions

No versions found

Links

PhilArchive



    Upload a copy of this work     Papers currently archived: 100,937

External links

Setup an account with your affiliations in order to access resources via your University's proxy server

Through your library

Analytics

Added to PP
2013-11-04

Downloads
27 (#825,296)

6 months
4 (#1,247,585)

Historical graph of downloads
How can I increase my downloads?

Citations of this work

Add more citations

References found in this work

The sciences of the artificial.Herbert Alexander Simon - 1969 - [Cambridge,: M.I.T. Press.
Categorization of action slips.Donald A. Norman - 1981 - Psychological Review 88 (1):1-15.
Learning to Program in LISP1.John R. Anderson, Robert Farrell & Ron Sauers - 1984 - Cognitive Science 8 (2):87-129.
Frame Analysis: An Essay on the Organization of Experience. [REVIEW]Erving Goffman - 1974 - Philosophy and Phenomenological Research 39 (4):601-602.

View all 11 references / Add more references