[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-508430-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-508430-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","algorithmic-debugging-and-literate-programming-to-generate-feedback-in-intelligent-tutoring-systems-paper","Algorithmic Debugging and Literate Programming to Generate Feedback in Intelligent Tutoring Systems - Paper","","Algorithmic debugging is presented as an effective diagnosis method for intelligent tutoring systems (ITSs). By encoding expert problem solving as a Prolog logic program, the system compares incremental execution behavior with observed learner behavior, mapping deviations to specific program locations for targeted remediation. The limitation is that feedback lacks global hierarchical context, making it difficult to calibrate scaffolding, explain reasoning, summarize progress, or prepare next steps. The approach extends meta-interpretation with program annotations and collects proof-tree records to support richer tutorial interaction.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/algorithmic-debugging-and-literate-programming-to-generate-feedback-in-intelligent-tutoring-systems-paper/508430/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/algorithmic-debugging-and-literate-programming-to-generate-feedback-in-intelligent-tutoring-systems-paper/508430.png","ImageObject",300,407,{"name":42,"@type":43},"awa","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-15","2026-10-05",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does algorithmic debugging generate feedback in intelligent tutoring systems?","Question",{"text":63,"@type":64},"It encodes expert problem solving as a Prolog program and compares the program’s incremental behavior with observed learner behavior. Deviations are localized to a program location, which the feedback engine uses to produce hints or remediation.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What limitation occurs when feedback is limited to a program location?",{"text":68,"@type":64},"Feedback can only address what is wrong with the current problem-solving step. Without broader hierarchical context and information about past and future steps, it is difficult to dose scaffolding, explain why/how a step is needed, or prepare the learner for subsequent work.",{"name":70,"@type":61,"acceptedAnswer":71},"What extension is proposed to improve tutorial interaction?",{"text":72,"@type":64},"The approach enriches the expert program with annotation terms that explain the role of relevant clauses. The meta-interpreter collects annotations along the execution path and records relevant parts of the proof tree to enable more sophisticated tutorial interaction based on Prolog-based task definition, execution, and monitoring.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},508430,1792166290,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":112,"preview_page_count":33,"preview_urls":145},3985747858093,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Erschienen in: KI 2014 : Advances in Artificial Intelligence ; 37th Annual German Conference on AI, Stuttgart, Germany, September 22-26, 2014, Proceedings / Lutz, Carsten et al. (Hrsg.). -Cham : Springer, 2014. - (Lecture Notes in Computer Science ; 8736). -S. 37-48.  \n-ISSN 0302-9743. -eISSN 1611-3349. -ISBN 978-3-319-11205-3  \nAlgorithmic Debugging and Literate  \nProgramming to Generate Feedback  \nin Intelligent Tutoring Systems  \nClaus Zinn  \nDepartment of Computer Science, University of Konstanz  \n[claus.zinn@uni-konstanz.de](claus.zinn@uni-konstanz.de)  \nAbstract. Algorithmic debugging is an eﬀective diagnosis method in in  \ntelligent tutoring systems (ITSs) . Given an encoding of expert problem  \nsolving as a logic program, it compares the program’s behaviour during  \nincremental execution with observed learner behaviour. Any deviation  \ncaptures a learner error in terms of a program location. The feedback  \nengine of the ITS can then take the program clause in question to gen  \nerate help for learners to correct their error. With the error information  \nlimited to a program location, however, the feedback engine can only  \ngive remediation in terms of what’s wrong with the current problem  \nsolving step. With no access to the overall hierarchical context of a stu  \ndent action, it is hard to dose scaﬀolding help, to explain why and how  \na step needs to be performed, to summarize a learner’s performance so  \nfar, or to prepare the learner for the problem solving still ahead. This is  \na pity because such scaﬀolding helps learning. To address this issue, we  \nextend the meta-interpretation technique and complement it with a pro  \ngram annotation approach. The expert program is enriched with terms  \nthat explain the logic behind the program, very much like comments  \nexplaining code blocks. The meta-interpreter is extended to collect all  \nannotation in the program’s execution path, and to keep a record of the  \nrelevant parts of the program’s proof tree. We obtain a framework that  \ndeﬁnes sophisticated tutorial interaction in terms of Prolog-based task  \ndeﬁnition, execution, and monitoring.  \n1 Introduction  \nThe core part of an intelligent tutoring system can be based upon logic programming techniques. The expert knowledge that learners need to acquire is represented as a Prolog program, and the meta-interpretation technique algorithmic debugging is used to diagnose learners’ problem solving steps. Algorithmic debugging meta-interprets the expert program in an incremental manner.  \nAt any relevant stage, it compares its behaviour with the behaviour of the student by making use of a mechanised Oracle. Any deviation between observed learner behaviour to Prolog-encoded expert behaviour is captured in terms of a program location. The deviation can be used by the feedback component of the ITS to address learners’ incorrect or incomplete answers. Given the program  \nKonstanzer Online-Publikations-System (KOPS) URL: [http://nbn-resolving.de/urn:nbn:de:bsz:352-0-295760](http://nbn-resolving.de/urn:nbn:de:bsz:352-0-295760)  \n38  \nclause in question, the feedback engine generates remediation or hints to help learners overcome the error. The feedback engine, however, has no access to the overall hierarchical context of the program clause in question, and also has no information about a learner’s past performance and the problem solving steps still ahead. An engine deprived of such information is not capable of generating more sophisticated feedback to further support student learning and motivation. It is also a pity because Prolog’s hierarchical encoding of expert knowledge must surely be beneﬁcial to tackling this issue quite naturally. If, in addition, the expert program would be annotated with terms that explain the role of each relevant clause in the overall context, we could further harness the potential of logic programming techniques for computer-aided education. In this paper, we:  \n– deﬁne a simple program annotation l","cbCaidV0caXtflhP","https://ap.wps.com/l/cbCaidV0caXtflhP","pdf",263638,12,"English","# Introduction\n# Background","[{\"question\":\"How does algorithmic debugging generate feedback in intelligent tutoring systems?\",\"answer\":\"It encodes expert problem solving as a Prolog program and compares the program’s incremental behavior with observed learner behavior. Deviations are localized to a program location, which the feedback engine uses to produce hints or remediation.\"},{\"question\":\"What limitation occurs when feedback is limited to a program location?\",\"answer\":\"Feedback can only address what is wrong with the current problem-solving step. Without broader hierarchical context and information about past and future steps, it is difficult to dose scaffolding, explain why/how a step is needed, or prepare the learner for subsequent work.\"},{\"question\":\"What extension is proposed to improve tutorial interaction?\",\"answer\":\"The approach enriches the expert program with annotation terms that explain the role of relevant clauses. The meta-interpreter collects annotations along the execution path and records relevant parts of the proof tree to enable more sophisticated tutorial interaction based on Prolog-based task definition, execution, and monitoring.\"}]","Algorithmic Debugging and Literate Programming to Generate Feedback in Intelligent Tutoring Systems - Paper | PDF",1791222159,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ded0ec9923d46351054bae8eb25a6bc7.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/09af53ab8b7c2eecec2e6da8a31e54ce.webp",982,1389,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/33db386e339c7dd2db9181f5dfd33e9b.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f58a7fa85eccac329c24d70cc17f706c.webp",980,1386]