The Impact of AI Tools on the Student Programming Experience: Interactions, Attitudes & Perceptions

Authors:

Abstract
This research paper contributes to the growing body of knowledge by highlighting the need for a nuanced understanding of how AI-assisted programming environments impact the student experience. Our research investigates three critical questions: How do students interact with AI tools during programming tasks (loops and arrays), and what patterns emerge in their AI-assisted programming experiences? How does integrating AI tools into programming tasks influence student learning, performance, motivation, and perceived understanding of core programming concepts such as loops and arrays? How do students perceive the role of AI tools in supporting or hindering their programming experience, including attitudes toward helpfulness, academic integrity, trust, and ethical concerns? In this study, student programming experience is defined holistically as students' cognitive engagement, perceived learning, emotional response, interaction patterns with tools, ethical considerations, and future motivation related to using AI tools for programming tasks. Ten post-task survey questions, combining Likert scale ratings and open-ended reflections, inform this operationalization. To explore these research questions, we designed a study involving 50 participants (n = 50) from diverse intersectional backgrounds, recruited from an AI Literacy course. The study includes a pre-task assessment, a programming assignment with access to an AI chatbot (OpenAI ChatGPT 3.5) for natural language assistance and code snippets, a post-task assessment, and a reflection survey that captures participants' experiences and perceptions of the AI tool. Through the triangulation of data from coding task performance, pre- and post-assessment scores, and survey responses, we identify preliminary associations between student performance and their perceptions and attitudes towards AI tools. Despite the challenges in achieving statistical significance due to small sample size, our findings offer valuable insights into the role of perception in shaping students' interaction with AI tools in programming education.