arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.17855cs.CYcs.AIcs.ETcs.HC
收藏

“给我代码”——一年级计算机科学学生与 GPT 交互的日志分析

"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPT

Pedro Alves, Bruno Pereira Cipriano

AI总结:

本文通过日志分析 69 名未受提示训练的 CS 新生如何使用 GPT 完成编程项目,发现多数学生能采纳生成代码,且半数能批判性比较并选择方案。

摘要:

GPT-3、GPT-4 和 Bard 等大型语言模型(LLM)对计算机科学(CS)教育的影响预计将十分深远。如今,学生能够为各种编程作业生成代码解决方案。对于一年级学生而言,这可能尤其成问题,因为他们的基础技能仍在发展中,过度依赖生成式 AI 工具可能妨碍其掌握基本编程概念。本文分析了 69 名本科新生在未接受预先提示训练的情况下,为解决项目作业中的某一编程问题所使用的提示词。我们还介绍了促成这些提示词的练习规则,该练习旨在培养学生在交互过程中的批判性思维技能。结果表明,尽管使用的提示技巧并不复杂,但大多数学生成功利用了 GPT,并将建议的解决方案整合到自己的项目中。此外,半数学生展现出在多个 GPT 生成的解决方案之间进行判断和选择的能力,表明他们在评估 AI 生成代码方面的批判性思维技能有所发展。

英文摘要:

The impact of Large Language Models (LLMs) like GPT-3, GPT-4, and Bard in computer science (CS) education is expected to be profound. Students now have the power to generate code solutions for a wide array of programming assignments. For first-year students, this may be particularly problematic since the foundational skills are still in development and an over-reliance on generative AI tools can hinder their ability to grasp essential programming concepts. This paper analyzes the prompts used by 69 freshmen undergraduate students to solve a certain programming problem within a project assignment, without giving them prior prompt training. We also present the rules of the exercise that motivated the prompts, designed to foster critical thinking skills during the interaction. Despite using unsophisticated prompting techniques, our findings suggest that the majority of students successfully leveraged GPT, incorporating the suggested solutions into their projects. Additionally, half of the students demonstrated the ability to exercise judgment in selecting from multiple GPT-generated solutions, showcasing the development of their critical thinking skills in evaluating AI-generated code.

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

↑