Students’ Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programming

Authors

  • Zhengdong Zhang Georgia Institute of Technology
  • Zihan Dong North Carolina State University
  • Yang Shi North Carolina State University
  • Thomas Price North Carolina State University
  • Noboru Matsuda North Carolina State University
  • Dongkuan Xu North Carolina State University

DOI:

https://doi.org/10.1609/aaai.v38i21.30372

Keywords:

CS1, LLM, Ai In Education, Feedback Generation, Thematic Analysis, Generative AI, Computer Science Education

Abstract

The rapid evolution of artificial intelligence (AI), specifically large language models (LLMs), has opened opportunities for various educational applications. This paper explored the feasibility of utilizing ChatGPT, one of the most popular LLMs, for automating feedback for Java programming assignments in an introductory computer science (CS1) class. Specifically, this study focused on three questions: 1) To what extent do students view LLM-generated feedback as formative? 2) How do students see the comparative affordances of feedback prompts that include their code, vs. those that exclude it? 3) What enhancements do students suggest for improving LLM-generated feedback? To address these questions, we generated automated feedback using the ChatGPT API for four lab assignments in a CS1 class. The survey results revealed that students perceived the feedback as aligning well with formative feedback guidelines established by Shute. Additionally, students showed a clear preference for feedback generated by including the students' code as part of the LLM prompt, and our thematic study indicated that the preference was mainly attributed to the specificity, clarity, and corrective nature of the feedback. Moreover, this study found that students generally expected specific and corrective feedback with sufficient code examples, but had diverged opinions on the tone of the feedback. This study demonstrated that ChatGPT could generate Java programming assignment feedback that students perceived as formative. It also offered insights into the specific improvements that would make the ChatGPT-generated feedback useful for students.

Published

2024-03-24

How to Cite

Zhang, Z., Dong, Z., Shi, Y., Price, T., Matsuda, N., & Xu, D. (2024). Students’ Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programming. Proceedings of the AAAI Conference on Artificial Intelligence, 38(21), 23250-23258. https://doi.org/10.1609/aaai.v38i21.30372