亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Engineering Students' Experiences With ChatGPT to Generate Code for Disciplinary Programming

作者
Camilo Vieira,Jose L. De La Hoz,Alejandra J. Magana,David Restrepo
出处
期刊:Computer Applications in Engineering Education [Wiley]
卷期号:33 (6)
标识
DOI:10.1002/cae.70090
摘要

ABSTRACT Large Language Models (LLMs) are transforming several aspects of our lives, including text and code generation. Their potential as “copilots” in computer programming is significant, yet their effective use is not straightforward. Even experts may have to generate multiple prompts before getting the desired output, and the code generated may contain bugs that are difficult for novice programmers to identify and fix. Although some prompting methods have been shown to be effective, the primary approach still involves a trial‐and‐error process. This study explores mechanical engineering students' experiences after engaging with ChatGPT to generate code for the Finite Element Analysis (FEA) course, aiming to provide insights into integrating LLMs into engineering education. The course included a scaffolded progression for students to develop an understanding of MATLAB programming and the implementation of FEA algorithms. After that, the students engaged with ChatGPT to automatically generate a similar code and reflected on their experiences of using this tool. We designed this activity guided by the productive failure framework: since LLMs do not necessarily produce correct code from a single prompt, students would need to use these failures to give feedback, potentially increasing their own understanding of MATLAB coding and FEA. The results suggest that while students find ChatGPT useful for efficient code generation, they struggle to: (1) understand a more sophisticated algorithm compared to what they had experienced in class; (2) find and fix bugs in the generated code; (3) learn about disciplinary concepts while they are also trying to fix the code; and (4) identify effective prompting strategies to instruct the ChatGPT how to complete the task. While LLMs show promise in supporting coding tasks for both professionals and students, using them requires strong background knowledge. When integrated into disciplinary courses, LLMs do not replace the need for effective pedagogical strategies. Our approach involved implementing a use‐modify‐create sequence, culminating in a productive failure activity where students engaged in conversations with the LLM encountered desirable difficulties. Our findings suggest that students faced challenges in trying to get a correct working code for FEA, and felt like they were teaching the model, which in some cases, led to some frustration. Thus, future research should explore additional forms of support and guidance to address these issues.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
大大大忽悠完成签到 ,获得积分10
刚刚
烟花应助啦啦啦采纳,获得50
1秒前
陈桂芳发布了新的文献求助10
1秒前
huyu完成签到 ,获得积分10
5秒前
androabo完成签到,获得积分10
6秒前
kukudou2发布了新的文献求助10
40秒前
中中完成签到,获得积分10
43秒前
54秒前
情怀应助kukudou2采纳,获得10
1分钟前
wyx完成签到,获得积分10
1分钟前
李爱国应助sfwrbh采纳,获得10
1分钟前
1分钟前
369ninja发布了新的文献求助10
1分钟前
啦啦啦完成签到,获得积分10
1分钟前
1分钟前
啦啦啦发布了新的文献求助50
1分钟前
sfwrbh发布了新的文献求助10
1分钟前
sfwrbh完成签到,获得积分10
1分钟前
Hello应助陈桂芳采纳,获得10
1分钟前
1分钟前
2分钟前
orixero应助liuliu采纳,获得30
2分钟前
霸气侧漏发布了新的文献求助10
2分钟前
霸气侧漏完成签到,获得积分10
3分钟前
ptn__z发布了新的文献求助10
3分钟前
369ninja发布了新的文献求助10
3分钟前
欢呼的不乐完成签到 ,获得积分10
3分钟前
ptn__z完成签到,获得积分10
3分钟前
3分钟前
liuliu发布了新的文献求助30
3分钟前
liuliu完成签到,获得积分10
4分钟前
合适乐巧完成签到 ,获得积分10
4分钟前
传奇3应助liuliu采纳,获得10
4分钟前
zhangchen123完成签到,获得积分10
4分钟前
Tingting完成签到 ,获得积分10
5分钟前
wangfaqing942完成签到 ,获得积分10
5分钟前
6分钟前
黑猫警长发布了新的文献求助10
6分钟前
黑猫警长完成签到,获得积分10
6分钟前
6分钟前
高分求助中
Adhesion Science: Principles & Practice 1234
Signals, Systems, and Signal Processing 610
Introduction to Cosmetic Formulation and Technology, 2nd Edition 400
Petrology and Plate Tectonics,2025 400
Burger's Medicinal Chemistry and Drug Discovery 400
Programming for Chemical Engineers Using C, C++, and MATLAB 320
Birth of Twins After Genome Editing for HIV Resistance 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6684208
求助须知:如何正确求助?哪些是违规求助? 8429075
关于积分的说明 18012905
捐赠科研通 5905378
什么是DOI,文献DOI怎么找? 2982327
邀请新用户注册赠送积分活动 1958311
关于科研通互助平台的介绍 1893535