Proceedings

Domain Specific Debugging Aids for Novice Programmers

Download BibTeX Cite

Proceedings of the Seventh International Joint Conference on Artificial Intelligence. Computer Aided Instruction. Pages 964-968.

© 1981 International Joint Conferences on Artificial Intelligence

Abstract

We have been developing a debugging aid tailored to novice programmers learning to use a simple assertional database language. Based in part on existing programmer's apprentice and debugging projects, our system makes several novel contributions: it is oriented towards a large audience (several hundred per year) of computernaive users; the system deals with argument passing, recursion, and side-effects. Symbolic evaluation of the user's code produces an effect-description which is compared with an idealised effect-description (derived from a library plan). The library plan uses domainspecific knowledge to allow the user a great deal of freedom to invent alternate approaches to the programming task at hand. Based on effectdescription mismatches, a variety of hints for correcting the code can be given to the student.

  1. Adam, A. and Laurent, J.P. ''LAURA, a system to debug student programs." Artificial Intelligence, 12• 1980, 75-122.
  2. Eisenstadt, M. "Artificial intelligence project." Unite 3/4 of Cognitive Psychology: A Third Level Course. Milton Keynes, England: Open University Press, 1978.
  3. Eisenstadt, M. and Laubach, J. "Towards an automated debugging assistant for novice pro- grammers." Proc. AISB-80, Amsterdam, 1980.
  4. Eisenstadt, M., Laubach, J., and Kahney, J.H. "Creating pleasant programming environments for cognitive science students." Technical report no. 16, CAL Research Group, The Open University, Milton Keynes, England, 1981.
  5. Goldstein, I. "Understanding simple picture programs." Technical Report 294, MIT AI Lab, Cambridge, MA, 1974.
  6. Miller, M. and Goldstein, I. "Structured planning and debugging." Proc. IJCAI-77. Cambridge, MA, 1977, 773-779. IJCAI
  7. Rich, c. and Shrobe, H. "Initial report on a LISP programmer's apprentice." IEEE Trans. Soft. Eng., SE-4:6, 1978, 45~•
  8. Ruth, G. "Intelligent program analysis." Artificial Intelligence, 1• 1976, 65-68.
  9. Shrobe, H., waters, R., and Sussman, G. "A hypothetical monologue illustrating the know- ledge underlying program analysis." AI Memo 507, MIT AI Laboratory, Cambridge, MA, 1979.
  10. Waters, R. "A system for understanding mathematical FORTRAN programs." AI Memo 368, MIT AI Lab, Cambridge, MA, 1976.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards