arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.13680cs.SE
收藏

ChatGPT,你能为我的编程练习生成解答吗?对本科Java编程课程中其有效性的评估

ChatGPT, Can You Generate Solutions for my Coding Exercises? An Evaluation on its Effectiveness in an undergraduate Java Programming Course

Eng Lieh Ouh, Benjamin Kok Siew Gan, Kyong Jin Shim, Swavek Wlodkowski

AI总结:

本研究评估了ChatGPT在本科Java编程课程中生成编程练习解答的有效性,发现其能准确生成高可读性和内存高效的解答,但在处理非文本描述或类文件时存在局限,为教育工作者设计防作弊练习提供了参考。

摘要:

在本研究中,我们评估了采用ChatGPT语言模型为本科Java编程课程中的编程练习生成解答的有效性。ChatGPT是一个大规模、深度学习驱动的自然语言处理模型,能够基于文本输入生成编程代码。我们的评估包括分析ChatGPT为80个不同的编程练习生成的解答,并将其与正确解答进行比较。我们的发现表明,ChatGPT能够准确生成Java编程解答,这些解答具有高可读性和结构良好的组织。此外,该模型还能生成替代的、内存高效的解答。然而,作为自然语言处理模型,ChatGPT在处理包含非文本描述或类文件的编程练习时会遇到困难,导致生成无效解答。总之,ChatGPT具有潜力成为帮助学生克服编程挑战和探索解决编程问题替代方法的宝贵工具。通过了解其局限性,教育工作者可以设计编程练习,以最小化其作为作弊工具被滥用的可能性,同时保持其作为评估工具的有效性。

英文摘要:

In this study, we assess the efficacy of employing the ChatGPT language model to generate solutions for coding exercises within an undergraduate Java programming course. ChatGPT, a large-scale, deep learning-driven natural language processing model, is capable of producing programming code based on textual input. Our evaluation involves analyzing ChatGPT-generated solutions for 80 diverse programming exercises and comparing them to the correct solutions. Our findings indicate that ChatGPT accurately generates Java programming solutions, which are characterized by high readability and well-structured organization. Additionally, the model can produce alternative, memory-efficient solutions. However, as a natural language processing model, ChatGPT struggles with coding exercises containing non-textual descriptions or class files, leading to invalid solutions. In conclusion, ChatGPT holds potential as a valuable tool for students seeking to overcome programming challenges and explore alternative approaches to solving coding problems. By understanding its limitations, educators can design coding exercises that minimize the potential for misuse as a cheating aid while maintaining their validity as assessment tools.

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

↑