Mathematics (Feb 2024)

Computer Science Education in ChatGPT Era: Experiences from an Experiment in a Programming Course for Novice Programmers

  • Tomaž Kosar,
  • Dragana Ostojić,
  • Yu David Liu,
  • Marjan Mernik

DOI
https://doi.org/10.3390/math12050629
Journal volume & issue
Vol. 12, no. 5
p. 629

Abstract

Read online

The use of large language models with chatbots like ChatGPT has become increasingly popular among students, especially in Computer Science education. However, significant debates exist in the education community on the role of ChatGPT in learning. Therefore, it is critical to understand the potential impact of ChatGPT on the learning, engagement, and overall success of students in classrooms. In this empirical study, we report on a controlled experiment with 182 participants in a first-year undergraduate course on object-oriented programming. Our differential study divided students into two groups, one using ChatGPT and the other not using it for practical programming assignments. The study results showed that the students’ performance is not influenced by ChatGPT usage (no statistical significance between groups with a p-value of 0.730), nor are the grading results of practical assignments (p-value 0.760) and midterm exams (p-value 0.856). Our findings from the controlled experiment suggest that it is safe for novice programmers to use ChatGPT if specific measures and adjustments are adopted in the education process.

Keywords