Skip to main content
QUICK REVIEW

[Paper Review] How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course

Andreas Scholl, Natalie Kiesler|arXiv (Cornell University)|Jul 30, 2024
Online Learning and AnalyticsComputer Science6 citations
TL;DR

The study surveys 298 computing students in a German university to examine how they use ChatGPT-3.5 for introductory programming tasks and how they perceive its benefits and limitations, revealing varied usage patterns and attitudes.

ABSTRACT

This research paper contributes to the computing education research community's understanding of Generative AI (GenAI) in the context of introductory programming, and specifically, how students utilize related tools, such as ChatGPT. An increased understanding of students' use is mandatory for educators and higher education institutions, as GenAI is here to stay, and its performance is likely to improve rapidly in the near future. Learning about students' use patterns is not only crucial to support their learning, but to develop adequate forms of instruction and assessment. With the rapid advancement of AI, its broad availability, and ubiquitous presence in educational environments, elaborating how AI can enhance learning experiences, especially in courses such as introductory programming is important. To date, most studies have focused on the educator's perspective on GenAI, its performance, characteristics, and limitations. However, the student perspective, and how they actually use GenAI tools in course contexts, has not been subject to a great number of studies. Therefore, this study is guided by the following research questions: (1) What do students report on their use pattern of ChatGPT in the context of introductory programming exercises? and (2) How do students perceive ChatGPT in the context of introductory programming exercises? To address these questions, computing students at a large German university were asked to solve programming tasks with the assistance of ChatGPT as part of their introductory programming course. Students (n=298) provided information regarding the use of ChatGPT, and their evaluation of the tool via an online survey. This research provides a comprehensive evaluation of ChatGPT-3.5's application by novice programmers in a higher education context...

Motivation & Objective

  • Understand how novice programmers use ChatGPT when solving introductory programming exercises.
  • Explore students' perceptions of ChatGPT's usefulness, accuracy, and practicality in coursework.
  • Inform instructional design and assessment by outlining student use patterns and attitudes toward GenAI tools.

Proposed method

  • Develop and administer an exercise sheet using ChatGPT-3.5 as part of an introductory programming course.
  • Collect data from 298 students via an online survey covering use patterns, access methods, and task types.
  • Analyze closed-question responses using quantitative methods and open-question responses using qualitative content analysis.
  • Context: large German university course with two-hour lectures and tutorials; students submitted prompt-response pairs in Moodle.
  • Tasks included recursion, functions, lists, conditionals, string manipulation, and documentation, with ChatGPT-3.5 performance noted for different sub-tasks.

Experimental results

Research questions

  • RQ1RQ1: What do students report about their use patterns of ChatGPT in the context of introductory programming exercises?
  • RQ2RQ2: How do students perceive ChatGPT in the context of introductory programming exercises?

Key findings

  • Students widely adopt GenAI, with use ranging from accepting generated solutions to engaging critically and interactively.
  • Frequent use patterns: about half use ChatGPT weekly, 18% daily, with most interactions lasting under 30 minutes and accessed via the ChatGPT web interface.
  • Students used ChatGPT for problem understanding, conceptual input, code generation, debugging, documentation, test cases, syntax corrections, and runtime analysis.
  • Perceptions on ease of use are positive (median/mean around 4.0), while views on accuracy and relevance are mixed (median around 3, mean around 2.87).
  • Overall satisfaction is generally positive (median 4, mean 3.44), and many would recommend ChatGPT to novices (median 4, mean 3.63).
  • Qualitative analysis reveals 20 categories of experiences (e.g., starting point, conceptual input, study buddy, code and text generation, debugging, alternative perspectives, search tool, response quality, chat history, availability, ease of use, time efficiency, knowledge base, social interaction, privacy concerns, overconfidence, hallucinations, integrity, dependency), highlighting both benefits and risks such as inaccuracies, hallucinations, and dependency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.