The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers

Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Prather, James, Reeves, Brent, Leinonen, Juho, MacNeil, Stephen, Randrianasolo, Arisoa S, Becker, Brett, Kimmel, Bailey, Wright, Jared, Briggs, Ben
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Prather, James
Reeves, Brent
Leinonen, Juho
MacNeil, Stephen
Randrianasolo, Arisoa S
Becker, Brett
Kimmel, Bailey
Wright, Jared
Briggs, Ben
description Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hindering their progress. Meanwhile, many novices are now programming with generative AI (GenAI), which can provide complete solutions to most introductory programming problems, code suggestions, hints for next steps when stuck, and explain cryptic error messages. Its impact on novice metacognition has only started to be explored. Here we replicate a previous study that examined novice programming problem solving behavior and extend it by incorporating GenAI tools. Through 21 lab sessions consisting of participant observation, interview, and eye tracking, we explore how novices are coding with GenAI tools. Although 20 of 21 students completed the assigned programming problem, our findings show an unfortunate divide in the use of GenAI tools between students who accelerated and students who struggled. Students who accelerated were able to use GenAI to create code they already intended to make and were able to ignore unhelpful or incorrect inline code suggestions. But for students who struggled, our findings indicate that previously known metacognitive difficulties persist, and that GenAI unfortunately can compound them and even introduce new metacognitive difficulties. Furthermore, struggling students often expressed cognitive dissonance about their problem solving ability, thought they performed better than they did, and finished with an illusion of competence. Based on our observations from both groups, we propose ways to scaffold the novice GenAI experience and make suggestions for future work.
doi_str_mv 10.48550/arxiv.2405.17739
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2405_17739</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2405_17739</sourcerecordid><originalsourceid>FETCH-LOGICAL-a679-cb7950e2b0a72d9d8b0baaf4a348aa76bb24dbe590b5fa8801f9ea3a5493ea243</originalsourceid><addsrcrecordid>eNotz71OwzAUhmEvDKhwAUycG0hw_FPbbKWCtFIFHSJ1jI7r49YSSSqniuDuoYXpk97hkx7GHipeKqs1f8L8laZSKK7Lyhjpbtm2ORLsUqA-9Qeo8fQMl_JCPcV0HgH7ACvM3QhDhPq3ZjyniWCxhjhkeB-mtCfY5uGQsesoj3fsJuLnSPf_O2PN22uzXBWbj3q9XGwKnBtX7L1xmpPwHI0ILljPPWJUKJVFNHPvhQqetONeR7SWV9ERStTKSUKh5Iw9_t1eSe0ppw7zd3uhtVea_AF5yUkR</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers</title><source>arXiv.org</source><creator>Prather, James ; Reeves, Brent ; Leinonen, Juho ; MacNeil, Stephen ; Randrianasolo, Arisoa S ; Becker, Brett ; Kimmel, Bailey ; Wright, Jared ; Briggs, Ben</creator><creatorcontrib>Prather, James ; Reeves, Brent ; Leinonen, Juho ; MacNeil, Stephen ; Randrianasolo, Arisoa S ; Becker, Brett ; Kimmel, Bailey ; Wright, Jared ; Briggs, Ben</creatorcontrib><description>Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hindering their progress. Meanwhile, many novices are now programming with generative AI (GenAI), which can provide complete solutions to most introductory programming problems, code suggestions, hints for next steps when stuck, and explain cryptic error messages. Its impact on novice metacognition has only started to be explored. Here we replicate a previous study that examined novice programming problem solving behavior and extend it by incorporating GenAI tools. Through 21 lab sessions consisting of participant observation, interview, and eye tracking, we explore how novices are coding with GenAI tools. Although 20 of 21 students completed the assigned programming problem, our findings show an unfortunate divide in the use of GenAI tools between students who accelerated and students who struggled. Students who accelerated were able to use GenAI to create code they already intended to make and were able to ignore unhelpful or incorrect inline code suggestions. But for students who struggled, our findings indicate that previously known metacognitive difficulties persist, and that GenAI unfortunately can compound them and even introduce new metacognitive difficulties. Furthermore, struggling students often expressed cognitive dissonance about their problem solving ability, thought they performed better than they did, and finished with an illusion of competence. Based on our observations from both groups, we propose ways to scaffold the novice GenAI experience and make suggestions for future work.</description><identifier>DOI: 10.48550/arxiv.2405.17739</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Human-Computer Interaction</subject><creationdate>2024-05</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2405.17739$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2405.17739$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Prather, James</creatorcontrib><creatorcontrib>Reeves, Brent</creatorcontrib><creatorcontrib>Leinonen, Juho</creatorcontrib><creatorcontrib>MacNeil, Stephen</creatorcontrib><creatorcontrib>Randrianasolo, Arisoa S</creatorcontrib><creatorcontrib>Becker, Brett</creatorcontrib><creatorcontrib>Kimmel, Bailey</creatorcontrib><creatorcontrib>Wright, Jared</creatorcontrib><creatorcontrib>Briggs, Ben</creatorcontrib><title>The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers</title><description>Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hindering their progress. Meanwhile, many novices are now programming with generative AI (GenAI), which can provide complete solutions to most introductory programming problems, code suggestions, hints for next steps when stuck, and explain cryptic error messages. Its impact on novice metacognition has only started to be explored. Here we replicate a previous study that examined novice programming problem solving behavior and extend it by incorporating GenAI tools. Through 21 lab sessions consisting of participant observation, interview, and eye tracking, we explore how novices are coding with GenAI tools. Although 20 of 21 students completed the assigned programming problem, our findings show an unfortunate divide in the use of GenAI tools between students who accelerated and students who struggled. Students who accelerated were able to use GenAI to create code they already intended to make and were able to ignore unhelpful or incorrect inline code suggestions. But for students who struggled, our findings indicate that previously known metacognitive difficulties persist, and that GenAI unfortunately can compound them and even introduce new metacognitive difficulties. Furthermore, struggling students often expressed cognitive dissonance about their problem solving ability, thought they performed better than they did, and finished with an illusion of competence. Based on our observations from both groups, we propose ways to scaffold the novice GenAI experience and make suggestions for future work.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Human-Computer Interaction</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotz71OwzAUhmEvDKhwAUycG0hw_FPbbKWCtFIFHSJ1jI7r49YSSSqniuDuoYXpk97hkx7GHipeKqs1f8L8laZSKK7Lyhjpbtm2ORLsUqA-9Qeo8fQMl_JCPcV0HgH7ACvM3QhDhPq3ZjyniWCxhjhkeB-mtCfY5uGQsesoj3fsJuLnSPf_O2PN22uzXBWbj3q9XGwKnBtX7L1xmpPwHI0ILljPPWJUKJVFNHPvhQqetONeR7SWV9ERStTKSUKh5Iw9_t1eSe0ppw7zd3uhtVea_AF5yUkR</recordid><startdate>20240527</startdate><enddate>20240527</enddate><creator>Prather, James</creator><creator>Reeves, Brent</creator><creator>Leinonen, Juho</creator><creator>MacNeil, Stephen</creator><creator>Randrianasolo, Arisoa S</creator><creator>Becker, Brett</creator><creator>Kimmel, Bailey</creator><creator>Wright, Jared</creator><creator>Briggs, Ben</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240527</creationdate><title>The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers</title><author>Prather, James ; Reeves, Brent ; Leinonen, Juho ; MacNeil, Stephen ; Randrianasolo, Arisoa S ; Becker, Brett ; Kimmel, Bailey ; Wright, Jared ; Briggs, Ben</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a679-cb7950e2b0a72d9d8b0baaf4a348aa76bb24dbe590b5fa8801f9ea3a5493ea243</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Human-Computer Interaction</topic><toplevel>online_resources</toplevel><creatorcontrib>Prather, James</creatorcontrib><creatorcontrib>Reeves, Brent</creatorcontrib><creatorcontrib>Leinonen, Juho</creatorcontrib><creatorcontrib>MacNeil, Stephen</creatorcontrib><creatorcontrib>Randrianasolo, Arisoa S</creatorcontrib><creatorcontrib>Becker, Brett</creatorcontrib><creatorcontrib>Kimmel, Bailey</creatorcontrib><creatorcontrib>Wright, Jared</creatorcontrib><creatorcontrib>Briggs, Ben</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Prather, James</au><au>Reeves, Brent</au><au>Leinonen, Juho</au><au>MacNeil, Stephen</au><au>Randrianasolo, Arisoa S</au><au>Becker, Brett</au><au>Kimmel, Bailey</au><au>Wright, Jared</au><au>Briggs, Ben</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers</atitle><date>2024-05-27</date><risdate>2024</risdate><abstract>Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hindering their progress. Meanwhile, many novices are now programming with generative AI (GenAI), which can provide complete solutions to most introductory programming problems, code suggestions, hints for next steps when stuck, and explain cryptic error messages. Its impact on novice metacognition has only started to be explored. Here we replicate a previous study that examined novice programming problem solving behavior and extend it by incorporating GenAI tools. Through 21 lab sessions consisting of participant observation, interview, and eye tracking, we explore how novices are coding with GenAI tools. Although 20 of 21 students completed the assigned programming problem, our findings show an unfortunate divide in the use of GenAI tools between students who accelerated and students who struggled. Students who accelerated were able to use GenAI to create code they already intended to make and were able to ignore unhelpful or incorrect inline code suggestions. But for students who struggled, our findings indicate that previously known metacognitive difficulties persist, and that GenAI unfortunately can compound them and even introduce new metacognitive difficulties. Furthermore, struggling students often expressed cognitive dissonance about their problem solving ability, thought they performed better than they did, and finished with an illusion of competence. Based on our observations from both groups, we propose ways to scaffold the novice GenAI experience and make suggestions for future work.</abstract><doi>10.48550/arxiv.2405.17739</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2405.17739
ispartof
issn
language eng
recordid cdi_arxiv_primary_2405_17739
source arXiv.org
subjects Computer Science - Artificial Intelligence
Computer Science - Human-Computer Interaction
title The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-03T06%3A17%3A25IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=The%20Widening%20Gap:%20The%20Benefits%20and%20Harms%20of%20Generative%20AI%20for%20Novice%20Programmers&rft.au=Prather,%20James&rft.date=2024-05-27&rft_id=info:doi/10.48550/arxiv.2405.17739&rft_dat=%3Carxiv_GOX%3E2405_17739%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true