A hybrid approach for program understanding based on graph parsing and expectation-driven analysis

Cited 1 time in webofscience Cited 3 time in scopus
  • Hit : 338
  • Download : 0
Program understanding is an important part of the domain expertise required for programming language tutoring systems. However, the understanding of student programs by a computer is extremely difficult because of the tremendous scope of variability in student solutions for nontrivial tasks. This article aims to handle such variability and improve understanding performance by a hybrid approach based on two complementary methods of graph parsing and expectation-driven analysis. The graph parsing method by Wills is utilized to recognize the programming plans in the code. At the same time, a new expectation-driven analysis is devised to generate expectations about the program design using such knowledge as the programming goals, plans, and information about the problem task. The analysis guides the plan recognition process through confirming, amending, or rejecting the expectations by checking them against the given code. Expectation-driven analysis can recognize the function and implementation level variations and errors. Unknown goal-implementing plans ale also detected. These advantages are demonstrated in an experiment of a set of student programs.
Publisher
TAYLOR FRANCIS INC
Issue Date
1998-09
Language
English
Article Type
Article
Citation

APPLIED ARTIFICIAL INTELLIGENCE, v.12, no.6, pp.521 - 546

ISSN
0883-9514
DOI
10.1080/088395198117659
URI
http://hdl.handle.net/10203/77320
Appears in Collection
CS-Journal Papers(저널논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 1 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0