Impact of Generative AI on Learning Programming

dc.contributor.authorBang, Kenny
dc.contributor.authorDang, Michael
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerFotrousi, Farnaz
dc.contributor.supervisorLeitner, Philipp
dc.date.accessioned2025-01-10T09:49:31Z
dc.date.available2025-01-10T09:49:31Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractGenerative AI has become a powerful tool, particularly in code generation for nonprogrammers. Despite its potential, non-experienced programmers may face challenges and limited knowledge acquisition. This study analyzes whether generative AI, specifically ChatGPT, can assist individuals with limited programming knowledge in solving programming tasks in Java and if they learn from the experience. Additionally, it examines the strategies participants use when leveraging ChatGPT 3.5. A controlled experiment was conducted to observe the effects of ChatGPT on problem-solving and learning. Participants completed three programming tasks: a baseline task, a task using ChatGPT, and a final task without ChatGPT to assess knowledge retention. This revealed varying degrees of success in task completion with ChatGPT. While participants retained conceptual knowledge, practical application without ChatGPT remained challenging. Thematic analysis of participant prompts and exit interviews revealed three main strategies: learning-focused, task-focused leveraging ChatGPT, and conversational interaction with ChatGPT. The learning-focused strategy involves using the AI to gain knowledge but may be ineffective if rushed, hindering comprehension. In contrast, the task-focused strategy prioritizes task completion but may lead to overreliance on AI, limiting long-term learning. The conversational strategy is distinct because it does not serve a specific purpose like the other two. Instead, it involves a back-and-forth interaction with the AI, where participants build upon ChatGPT’s previous responses. Overall, participants had a positive attitude towards generative AI, recognizing both its benefits and limitations. The study highlights the importance of prior knowledge and effective prompt engineering to formulate informed prompts and obtain quality responses, thereby improving the overall experience with AI.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/309069
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectgenerative AI
dc.subjectproblem-solving
dc.subjectlearning
dc.subjectengineering
dc.subjectprompt engineering
dc.subjectknowledge retention
dc.subjectLarge Language Model (LLM)
dc.subjectChatGPT
dc.titleImpact of Generative AI on Learning Programming
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-71 KB MD.pdf
Storlek:
1.55 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: