arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.15379cs.CYcs.SE
收藏

CS1-LLM:将LLM融入CS1教学

CS1-LLM: Integrating LLMs into CS1 Instruction

Annapurna Vadaparty, Daniel Zingaro, David H. Smith, Mounika Padala, Christine Alvarado, Jamie Gorson Benario, Leo Porter

AI总结:

本文报告一门从课程初期即全面引入LLM的CS1课程改革,通过弱化语法与从零编码、强化代码解释、测试和问题分解,并结合三类开放式项目,总结教学经验与学生反馈。

摘要:

近来,ChatGPT和GitHub Copilot等大型语言模型(LLM)的广泛普及,可能会从应教授什么以及如何教授两个方面影响入门编程课程(CS1)。事实上,近期研究表明,LLM能够完成我们以往在CS1中使用的大部分作业和考试。此外,专业软件工程师也经常使用这些工具,这引发了一个问题:我们是否也应训练学生使用这些工具。本经验报告描述了一所研究密集型大型大学中的一门CS1课程,该课程从一开始就全面采用LLM。为融入LLM,课程经过有意调整,减少了对语法和从零开始编写代码的强调。相反,课程现在强调借助LLM成功产出软件所需的技能。这包括解释代码、测试代码,以及将大型问题分解为可由LLM解决的小型函数。除了对这些技能进行频繁的形成性评估外,学生还需在三个不同领域(数据科学、图像处理和游戏设计)完成三个大型开放式项目,使其能够在自选主题中展示创造力。在期末调查中,学生表示他们很重视在LLM辅助下学习,并且在编写代码时以多种方式与LLM交互。我们为可能希望将LLM纳入自身课程的教师提供了经验教训。

英文摘要:

The recent, widespread availability of Large Language Models (LLMs) like ChatGPT and GitHub Copilot may impact introductory programming courses (CS1) both in terms of what should be taught and how to teach it. Indeed, recent research has shown that LLMs are capable of solving the majority of the assignments and exams we previously used in CS1. In addition, professional software engineers are often using these tools, raising the question of whether we should be training our students in their use as well. This experience report describes a CS1 course at a large research-intensive university that fully embraces the use of LLMs from the beginning of the course. To incorporate the LLMs, the course was intentionally altered to reduce emphasis on syntax and writing code from scratch. Instead, the course now emphasizes skills needed to successfully produce software with an LLM. This includes explaining code, testing code, and decomposing large problems into small functions that are solvable by an LLM. In addition to frequent, formative assessments of these skills, students were given three large, open-ended projects in three separate domains (data science, image processing, and game design) that allowed them to showcase their creativity in topics of their choosing. In an end-of-term survey, students reported that they appreciated learning with the assistance of the LLM and that they interacted with the LLM in a variety of ways when writing code. We provide lessons learned for instructors who may wish to incorporate LLMs into their course.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑