arXiv:2607.05409cs.CYcs.AI2026-07中稿 · the 10th Education…

用编程模式自动推荐学习内容,提升教学效率

Automated Recommendation of Programming Learning Content Using Pattern-based Knowledge Components

论文配图:Automated Recommendation of Programming Learning Content Using Pattern-based Knowledge Components
图 1 · 摘自论文原文
  • 基于代码中的编程模式提取知识点,匹配相似学习资源
  • 在Python入门资料库中,推荐准确率优于传统方法
  • 适合需要规模化组织课程的教师和学习系统

初学者编程教学依赖动手实践和短时学习活动来掌握基础概念。尽管已有大量学习资源,但缺乏专家人工整理的情况下,难以有效组织与关联这些内容。本研究探讨使用基于模式的知识组件(Pattern-based Knowledge Components, KCs)自动识别针对相同概念的代码类学习资源。方法上,从每个代码样本中提取模式化知识组件,并通过比较各活动所关联的知识组件集合的相似性来识别相关活动。该方法基于语义重要的编程模式进行对齐,支持上下文恰当且教学有意义的推荐。我们在一个由专家组织的初级Python教学材料语料库上评估该方法,其中教师依据概念相似性将学习项分组为包。结果表明,该模式化知识组件方法能有效检索出与专家分组一致的资源,在标准排序评价中超越了代表性的知识组件与嵌入基基线方法。整体框架为编程学习者提供聚焦概念的精准引导,有助于教师大规模地组织、打包和推荐教学内容。

原文摘要 · Abstract (English)

Introductory programming instruction relies on hands-on practice and short learning activities to support mastery of foundational concepts. Although many such learning resources exist, organizing and linking these items in instructionally meaningful ways is challenging without time-intensive expert curation. This study investigates the use of pattern-based Knowledge Components (KCs) to automatically identify code-based learning resources targeting similar concepts. In our approach, pattern-based KCs are extracted from each code sample, and related activities are identified by measuring similarity between the KC sets associated with each activity. By leveraging alignment at the level of semantically important programming patterns, this method supports contextually appropriate and pedagogically useful recommendations. We evaluate our approach on an expert-organized corpus of introductory Python materials in which instructors grouped items into bundles based on conceptual similarity. Results show that our pattern-based KC approach retrieves resources that align with this expert organization, and outperformed representative KC- and embedding-based baselines across standard ranking evaluations. Overall, the framework supports targeted, concept-oriented guidance for programming learners and can help instructors organize, bundle, and recommend instructional content at scale.

编程教育知识组件自动推荐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。