ChatGPT and Python programming homework

Author:

Ellis Michael E.1ORCID,Casey K. Mike1,Hill Geoffrey1

Affiliation:

1. Computer Information Systems and Analytics Department, College of Business University of Central Arkansas Conway Arkansas USA

Abstract

AbstractLarge Language Model (LLM) artificial intelligence tools present a unique challenge for educators who teach programming languages. While LLMs like ChatGPT have been well documented for their ability to complete exams and create prose, there is a noticeable lack of research into their ability to solve problems using high‐level programming languages. Like many other university educators, those teaching programming courses would like to detect if students submit assignments generated by an LLM. To investigate grade performance and the likelihood of instructors identifying code generated by artificial intelligence (AI) tools, we compare code generated by students and ChatGPT for introductory Python homework assignments. Our research reveals mixed results on both counts, with ChatGPT performing like a mid‐range student on assignments and seasoned instructors struggling to detect AI‐generated code. This indicates that although AI‐generated results may not always be identifiable, they do not currently yield results approaching those of diligent students. We describe our methodology for selecting and evaluating the code examples, the results of our comparison, and the implications for future classes. We conclude with recommendations for how instructors of programming courses can mitigate student use of LLM tools as well as articulate the inherent value of preserving students’ individual creativity in producing programming languages.

Publisher

Wiley

Subject

Decision Sciences (miscellaneous),Education,Business, Management and Accounting (miscellaneous)

Reference26 articles.

1. Anaconda. (2022)Anaconda Software Distribution(2022.05 64‐bit) [Python].https://anaconda.com

2. Machiavellian Ways to Academic Cheating: A Mediational and Interactional Model

3. I Explain, You Collaborate, He Cheats: An Empirical Study with Social Network Analysis of Study Groups in a Computer Programming Subject

4. BommaritoII M.&Katz D.M.(2022)GPT takes the bar exam.ArXiv Preprint ArXiv:2212.14402.https://arxiv.org/abs/2212.14402

5. Driscoll M.(2019 January 28)Jupyter Notebook: An introduction. Real Python.https://realpython.com/jupyter‐notebook‐introduction/

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3