DIGITAL LIBRARY
ANALYSIS OF MISCONCEPTIONS IN PYTHON PROGRAMS USING CHATGPT
Faculty of Mathematics, Physics, and Informatics, Comenius University (SLOVAKIA)
About this paper:
Appears in: ICERI2023 Proceedings
Publication year: 2023
Pages: 281-288
ISBN: 978-84-09-55942-8
ISSN: 2340-1095
doi: 10.21125/iceri.2023.0118
Conference name: 16th annual International Conference of Education, Research and Innovation
Dates: 13-15 November, 2023
Location: Seville, Spain
Abstract:
AI is currently being talked about in many contexts. We will focus on how ChatGPT can help students, or teachers, to analyze, evaluate and edit Python programs. In the article, we will focus on programs that contain functions with parameters and that work with the Python turtle module. We will find out if ChatGPT can find errors in the program and if it can then explain them with a dictionary that is appropriate for the age of the student. We will also verify that ChatGPT can repair programs to work properly. In our survey, in cooperation with ChatGPT, we will analyze in detail student solutions from the Python Cup 2023 competition. Almost 700 students participated in the competition this year. Among their solutions, we will look for several types of errors, and with the help of direct communication with ChatGPT, we will find out whether it can find errors in the programs and, if necessary, whether it is able to correct the student's program so that it gives the correct solution. When communicating with ChatGPT, we will also try to see if after several student programs that it will analyze, it will understand what the program input was. By further communication with ChatGPT, we will also verify whether its answers correspond with the theory of teaching the basics of programming in the Python language.
Keywords:
Python, Programming, Misconceptions, AI, ChatGPT.