arXiv:2507.00108cs.CYcs.AI2025-07被引 3

AI编程生成工具兴起,重构大学编程教学方法。

Teaching Programming in the Age of Generative AI: Insights from Literature, Pedagogical Proposals, and Student Perspectives

  • 转向代码理解与执行可视化教学,而非单纯编码
  • 视觉化模拟执行可提升学生深层理解
  • 学生反馈支持将可视化融入Java等语言训练

大型语言模型驱动的自动代码生成工具正深刻改变编程教学。本文综述相关研究,分析其在编程教育中的优劣。提出应强化代码理解与执行的教学,倡导使用代码视觉表示和执行可视化模拟,以促进学生深度学习。同时,基于参与面向对象编程课程学生的反馈,初步验证了将可视化模拟纳入Java等语言教学的可行性与价值。

原文摘要 · Abstract (English)

Computer programming is undergoing a true transformation driven by powerful new tools for automatic source code generation based on large language models. This transformation is also manifesting in introductory programming courses at universities around the world, generating an in-depth debate about how programming content should be taught, learned, and assessed in the context of generative artificial intelligence. This article aims, on the one hand, to review the most relevant studies on this issue, highlighting the advantages and disadvantages identified in the specialized literature. On the other hand, it proposes enriching teaching and learning methodologies by focusing on code comprehension and execution rather than on mere coding or program functionality. In particular, it advocates for the use of visual representations of code and visual simulations of its execution as effective tools for teaching, learning, and assessing programming, thus fostering a deeper understanding among students. Finally, the opinions of students who took the object-oriented programming course are presented to provide preliminary context supporting the incorporation of visual simulations in Java (or other languages) as part of the training process.

编程教育AI教学可视化

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