How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course

Read original: arXiv:2407.20792 - Published 7/31/2024 by Andreas Scholl, Natalie Kiesler
Total Score

0

How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This study explores how novice programmers in an introductory computer science course use and experience the AI language model ChatGPT when solving programming exercises.
  • Researchers conducted interviews with students to understand their perceptions, strategies, and challenges when using ChatGPT for programming tasks.
  • Key findings include the ways students leverage ChatGPT's capabilities, the potential benefits and drawbacks, and implications for programming education.

Plain English Explanation

The researchers were interested in how beginner programmers in an introductory computer science class use and feel about the AI assistant ChatGPT when working on programming assignments. They interviewed students to learn about their experiences, including how they use ChatGPT, what they find helpful or problematic about it, and what this means for teaching programming.

Some of the main ways students used ChatGPT included:

  • Getting help with understanding programming concepts and syntax
  • Generating code snippets or entire programs to solve problems
  • Explaining code and debugging issues

Students appreciated ChatGPT's ability to provide explanations and generate code quickly. However, they also had concerns, such as over-reliance on the AI, difficulty verifying the correctness of the output, and uncertainty about academic integrity policies. The researchers discuss the implications of these findings for supporting students' learning and development as programmers.

Technical Explanation

The researchers conducted a qualitative study to investigate how novice programmers in an introductory computer science course used and experienced the language model ChatGPT when solving programming exercises. They interviewed 15 students about their perceptions, strategies, and challenges when using ChatGPT for programming tasks.

The study found that students leveraged ChatGPT in several ways, including:

  • Understanding programming concepts and syntax
  • Generating code snippets or entire programs to solve problems
  • Explaining code and debugging issues

Students generally found ChatGPT helpful, as it could quickly provide explanations and generate code. However, they also expressed concerns, such as:

  • Over-relying on the AI and not fully understanding the solutions
  • Difficulty verifying the correctness of ChatGPT's outputs
  • Uncertainty about academic integrity policies and guidelines for using ChatGPT

The researchers discuss the implications of these findings for programming education, suggesting the need to support students in developing productive ways of using large language models like ChatGPT, while also addressing potential challenges and risks.

Critical Analysis

The study provides valuable insights into how novice programmers are using and experiencing ChatGPT when solving programming exercises. The qualitative approach allows for a rich, nuanced understanding of the students' perspectives and strategies.

One potential limitation is the relatively small sample size of 15 students. While the in-depth interviews yielded detailed data, a larger and more diverse sample could strengthen the generalizability of the findings.

Additionally, the study focuses on a single introductory computer science course, so the experiences of students in different educational contexts or with varying levels of programming expertise may differ. Further research could explore ChatGPT use in a broader range of programming courses and levels.

The researchers acknowledge the need to address the potential risks and challenges associated with students' use of ChatGPT, such as academic integrity concerns and over-reliance on the AI. Exploring effective ways to integrate large language models like ChatGPT into programming education, while fostering students' fundamental programming skills and understanding, remains an important area for further investigation.

Conclusion

This study provides valuable insights into how novice programmers use and experience the AI language model ChatGPT when solving programming exercises in an introductory computer science course. The findings highlight the ways students leverage ChatGPT's capabilities, as well as the potential benefits and drawbacks they encounter.

The research suggests that as large language models continue to advance, it will be crucial for educators to support students in developing productive and responsible strategies for using these tools in programming education. By understanding the nuances of student experiences, educators can better integrate ChatGPT and similar technologies to enhance learning outcomes while addressing potential challenges.

Overall, this study contributes to the growing body of research on the use of AI assistants in programming education, offering insights that can inform both teaching practices and future technological developments in this domain.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on ๐• โ†’

Related Papers

How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course
Total Score

0

How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course

Andreas Scholl, Natalie Kiesler

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...

Read more

7/31/2024

๐Ÿ“Š

Total Score

0

Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT

Andreas Scholl, Daniel Schiffner, Natalie Kiesler

Large Language Models (LLMs) have taken the world by storm, and students are assumed to use related tools at a great scale. In this research paper we aim to gain an understanding of how introductory programming students chat with LLMs and related tools, e.g., ChatGPT-3.5. To address this goal, computing students at a large German university were motivated to solve programming exercises with the assistance of ChatGPT as part of their weekly introductory course exercises. Then students (n=213) submitted their chat protocols (with 2335 prompts in sum) as data basis for this analysis. The data was analyzed w.r.t. the prompts, frequencies, the chats' progress, contents, and other use pattern, which revealed a great variety of interactions, both potentially supportive and concerning. Learning about students' interactions with ChatGPT will help inform and align teaching practices and instructions for future introductory programming courses in higher education.

Read more

5/30/2024

๐Ÿ“ˆ

Total Score

0

Beyond the Hype: A Cautionary Tale of ChatGPT in the Programming Classroom

Grant Oosterwyk, Pitso Tsibolane, Popyeni Kautondokwa, Ammar Canani

Due to the proliferation of Large Language Models research and the use of various Artificial Intelligence (AI) tools, the field of information systems (IS) and computer science (CS) has evolved. The use of tools such as ChatGPT to complete various student programming exercises (e.g., in Python) and assignments has gained prominence amongst various academic institutions. However, recent literature has suggested that the use of ChatGPT in academia is problematic and the impact on teaching and learning should be further scrutinized. More specifically, little is known about how ChatGPT can be practically used with code (programming) writing to complete programming exercises amongst IS and CS undergraduate university students. Furthermore, the paper provides insights for academics who teach programming to create more challenging exercises and how to engage responsibly in the use of ChatGPT to promote classroom integrity. In this paper, we used Complex Adaptive Systems (CAS) theory as a theoretical guide to understand the various dynamics through classroom code demonstrations. Using ChatGPT 3.5, we analyzed the various practical programming examples from past IS exercises and compared those with memos created by tutors and lecturers in a university setting. This paper highlights common ways of assessment, programming errors created by ChatGPT and the potential consideration for IS academics to ensure the development of critical programming skills among students.

Read more

6/18/2024

๐Ÿงช

Total Score

0

ChatGPT and Its Educational Impact: Insights from a Software Development Competition

Sunhee Hwang, Yudoo Kim, Heejin Lee

This study explores the integration and impact of ChatGPT, a generative AI that utilizes natural language processing, in an educational environment. The main goal is to evaluate how ChatGPT affects project performance. To this end, we organize a software development competition utilizing ChatGPT, lasting for four weeks and involving 36 students. The competition is structured in two rounds: in the first round, all 36 students participate and are evaluated based on specific performance metrics such as code quality, innovation, and adherence to project requirements. The top 15 performers from the first round are then selected to advance to the second round, where they compete for the final rankings and the overall winner is determined. The competition shows that students who use ChatGPT extensively in various stages of development, including ideation, documentation, software development, and quality assurance, have higher project completion rates and better scores. A detailed comparative analysis between first-round and second-round winners reveals significant differences in their experience with generative AI for software development, experience learning large-scale language models, and interest in their respective fields of study. These findings suggest that ChatGPT enhances individual learning and project performance. A post-survey of participants also reveals high levels of satisfaction, further emphasizing the benefits of integrating generative AI like ChatGPT in academic settings. This study highlights the transformative potential of ChatGPT in project-based learning environments and supports further research into its long-term impact and broader application in a variety of educational contexts.

Read more

9/9/2024