arXiv:2412.15226cs.CYcs.AI2024-12被引 37

让学生教ChatGPT编程,能提升代码能力与学习自控力。

Learning-by-teaching with ChatGPT: The effect of teachable ChatGPT agent on programming education

  • 用自然对话方式教ChatGPT编程,激发主动学习
  • 学生代码可读性与逻辑性显著提升,但纠错能力改善有限
  • 适合想提升编程自驱力的学生与教育科技研究者

本研究探究了将ChatGPT作为可教学代理,在编程教育中通过“以教促学”策略支持学生学习的潜力。尽管“以教促学”是促进主动学习的有效教学方法,传统可教学代理在自然语言对话支持方面存在局限。本研究考察了具备自然对话能力的ChatGPT能否有效支持该过程。结果表明,与ChatGPT互动能显著提升学生的知识掌握度与编程能力,尤其在编写可读性强且逻辑严谨的代码方面表现突出。然而,对学生错误修正技能的提升作用有限,可能因ChatGPT倾向于生成正确代码,减少了学生调试实践机会。此外,学生的自我调节学习(SRL)能力得到增强,表明教学ChatGPT有助于提升学习者自我效能感并更好地实施SRL策略。研究还探讨了自然对话在促进社会化学习中的作用,以及ChatGPT在“以教促学”过程中对支持学生SRL的具体贡献。总体而言,研究凸显了ChatGPT作为可教学代理的潜力,为未来基于ChatGPT的教育研究提供了重要启示。

原文摘要 · Abstract (English)

This study investigates the potential of using ChatGPT as a teachable agent to support students' learning by teaching process, specifically in programming education. While learning by teaching is an effective pedagogical strategy for promoting active learning, traditional teachable agents have limitations, particularly in facilitating natural language dialogue. Our research explored whether ChatGPT, with its ability to engage learners in natural conversations, can support this process. The findings reveal that interacting with ChatGPT improves students' knowledge gains and programming abilities, particularly in writing readable and logically sound code. However, it had limited impact on developing learners' error-correction skills, likely because ChatGPT tends to generate correct code, reducing opportunities for students to practice debugging. Additionally, students' self-regulated learning (SRL) abilities improved, suggesting that teaching ChatGPT fosters learners' higher self-efficacy and better implementation of SRL strategies. This study discussed the role of natural dialogue in fostering socialized learning by teaching, and explored ChatGPT's specific contributions in supporting students' SRL through the learning by teaching process. Overall, the study highlights ChatGPT's potential as a teachable agent, offering insights for future research on ChatGPT-supported education.

编程教育以教促学ChatGPTSRL

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