arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01273cs.SEcs.AI
收藏

软件工程项目中学生与LLM交互的分析

Analysis of Student-LLM Interaction in a Software Engineering Project

School of Computing, National University of Singapore(新加坡国立大学计算机学院)

Agrawal Naman, Ridwan Shariffdeen, Guanlin Wang, Sanka Rasnayaka, Ganesh Neelakanta Iyer

AI总结:

本研究分析了126名本科生在13周学期中与AI助手的交互,发现学生更偏好ChatGPT而非CoPilot,且基于对话的交互能提升代码质量,强调了软件工程教育中尽早掌握LLM交互技能的重要性。

摘要:

大型语言模型(LLMs)在各个领域的能力日益增强,教育工作者对将这些LLMs整合到学习过程中表现出越来越浓厚的兴趣。特别是在软件工程中,LLMs在代码摘要、代码生成和调试方面展现出了定性上更好的能力。尽管关于LLMs在实际软件工程任务中的应用已有各种研究,但捕捉LLMs对教学进步的益处及其对学生学习过程影响的研究仍然有限。为此,我们分析了126名本科生在13周的学期中与AI助手的交互,以了解AI对软件工程学习的益处。我们分析了对话、生成的代码、使用的代码,以及将代码集成到代码库中的人工干预水平。我们的研究结果表明,学生更喜欢ChatGPT而不是CoPilot。我们的分析还发现,与CoPilot相比,ChatGPT生成的响应具有更低的计算复杂度。此外,与自动生成的代码相比,基于对话的交互有助于提高生成代码的质量。在软件工程中尽早采用LLMs对于在快速发展的环境中保持竞争力至关重要。因此,下一代软件工程师必须掌握与AI交互的必要技能以提高生产力。

英文摘要:

Large Language Models (LLMs) are becoming increasingly competent across various domains, educators are showing a growing interest in integrating these LLMs into the learning process. Especially in software engineering, LLMs have demonstrated qualitatively better capabilities in code summarization, code generation, and debugging. Despite various research on LLMs for software engineering tasks in practice, limited research captures the benefits of LLMs for pedagogical advancements and their impact on the student learning process. To this extent, we analyze 126 undergraduate students' interaction with an AI assistant during a 13-week semester to understand the benefits of AI for software engineering learning. We analyze the conversations, code generated, code utilized, and the human intervention levels to integrate the code into the code base. Our findings suggest that students prefer ChatGPT over CoPilot. Our analysis also finds that ChatGPT generates responses with lower computational complexity compared to CoPilot. Furthermore, conversational-based interaction helps improve the quality of the code generated compared to auto-generated code. Early adoption of LLMs in software engineering is crucial to remain competitive in the rapidly developing landscape. Hence, the next generation of software engineers must acquire the necessary skills to interact with AI to improve productivity.

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

↑