ChatGPT, Can You Generate Solutions for my Coding Exercises? An Evaluation on its Effectiveness in an undergraduate Java Programming Course
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 May 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 5; 2025: 1; 2026: 3.
12 papers.
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Sciencecited by 9
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024ChatGPT in Data Visualization Education: A Student Perspectivecited by 3
- 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPTcited by 2
- 2023"With Great Power Comes Great Responsibility!": Student and Instructor Perspectives on the influence of LLMs on Undergraduate Engineering Educationcited by 1
- 2024"Which LLM should I use?": Evaluating LLMs for tasks performed by Undergraduate Computer Science Studentscited by 1
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 1
- 2026Finding the Signal in the Noise: An Exploratory Study on Assessing the Effectiveness of AI and Accessibility Forums for Blind Users' Support Needscited by 1
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detectioncited by 0
- 2025Assessing the Prevalence of AI-assisted Cheating in Programming Courses: A Pilot Studycited by 0
- 2026Patterns of Learner-AI Interaction and Academic Performance in an Object-Oriented Programming Coursecited by 0
- 2026Revisiting the Performance of Generative Artificial Intelligence on Introductory Object-Oriented Programming Assessments: Insights from 2026cited by 0
- 2026Revisiting the Performance of Generative Artificial Intelligence on Introductory Object-Oriented Programming Assessments: Insights from 202617 Aug 2026
- 2026Patterns of Learner-AI Interaction and Academic Performance in an Object-Oriented Programming Course26 May 2026
- 2026Finding the Signal in the Noise: An Exploratory Study on Assessing the Effectiveness of AI and Accessibility Forums for Blind Users' Support Needs20 Feb 2026
- 2025Assessing the Prevalence of AI-assisted Cheating in Programming Courses: A Pilot Study8 Jul 2025
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Models15 Dec 2024
- 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPT26 Nov 2024
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detection14 Nov 2024
- 2024ChatGPT in Data Visualization Education: A Student Perspective1 May 2024
- 2024"Which LLM should I use?": Evaluating LLMs for tasks performed by Undergraduate Computer Science Students22 Jan 2024
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?12 Dec 2023
- 2023"It's not like Jarvis, but it's pretty close!" -- Examining ChatGPT's Usage among Undergraduate Students in Computer Science16 Nov 2023
- 2023"With Great Power Comes Great Responsibility!": Student and Instructor Perspectives on the influence of LLMs on Undergraduate Engineering Education19 Sep 2023