The Impact of GenAI-Enabled Coding Hints on Students' Programming Performance and Cognitive Load in an SRL-Based Python Course

Uložené v:
Podrobná bibliografia
Názov: The Impact of GenAI-Enabled Coding Hints on Students' Programming Performance and Cognitive Load in an SRL-Based Python Course
Jazyk: English
Autori: Anna Y. Q. Huang, Cheng-Yan Lin, Sheng-Yi Su (ORCID 0009-0000-5849-8620), Stephen J. H. Yang
Zdroj: British Journal of Educational Technology. 2025 56(5):1942-1972.
Dostupnosť: Wiley. Available from: John Wiley & Sons, Inc. 111 River Street, Hoboken, NJ 07030. Tel: 800-835-6770; e-mail: cs-journals@wiley.com; Web site: https://www.wiley.com/en-us
Peer Reviewed: Y
Počet strán: 31
Dátum vydania: 2025
Druh dokumentu: Journal Articles
Reports - Research
Descriptors: Artificial Intelligence, Technology Uses in Education, Coding, Programming, Programming Languages, Cognitive Processes, Difficulty Level, Independent Study, Computer Science Education, Prior Learning, Scaffolding (Teaching Technique), Flow Charts, Novices, Scores, Transfer of Training, Goal Orientation, Metacognition
DOI: 10.1111/bjet.13589
ISSN: 0007-1013
1467-8535
Abstrakt: Programming education often imposes a high cognitive burden on novice programmers, requiring them to master syntax, logic, and problem-solving while simultaneously managing debugging tasks. Prior knowledge is a critical factor influencing programming learning performance. A lack of foundational knowledge limits students' self-regulated learning (SRL) abilities, resulting in a performance gap between students with high and low levels of prior knowledge. To address this problem, this study developed CodeFlow Assistant (CFA), a specifically developed generative artificial intelligence (GenAI) tool that provides four levels of scaffolding guidance (flowcharts, cloze coding, basic coding solutions, and advanced coding solutions) to support novice programmers in mastering skills ranging from foundational understanding to advanced application. Through a controlled experiment comparing SRL-based, teaching assistant (TA)-assisted programming (SRLP-TA) and SRL-based, CFA-assisted programming (SRLP-CFA), this study evaluated the effect of CFA on coding performance, cognitive loads, and SRL abilities among novice programming students. The results indicated that compared with the SRLP-TA group, the SRLP-CFA group achieved statistically significantly higher coding scores but showed comparable improvements in understanding programming concepts. Moreover, CFA reduced intrinsic and extraneous cognitive loads while enhancing germane load, fostering deeper knowledge integration and engagement. These findings highlight the role of CFA in enhancing coding performance, particularly in translating conceptual understanding into practice. This tool also statistically significantly improved SRL abilities, such as intrinsic goal orientation, task value, and metacognitive self-regulation.
Abstractor: As Provided
Entry Date: 2025
Prístupové číslo: EJ1480021
Databáza: ERIC
Popis
Abstrakt:Programming education often imposes a high cognitive burden on novice programmers, requiring them to master syntax, logic, and problem-solving while simultaneously managing debugging tasks. Prior knowledge is a critical factor influencing programming learning performance. A lack of foundational knowledge limits students' self-regulated learning (SRL) abilities, resulting in a performance gap between students with high and low levels of prior knowledge. To address this problem, this study developed CodeFlow Assistant (CFA), a specifically developed generative artificial intelligence (GenAI) tool that provides four levels of scaffolding guidance (flowcharts, cloze coding, basic coding solutions, and advanced coding solutions) to support novice programmers in mastering skills ranging from foundational understanding to advanced application. Through a controlled experiment comparing SRL-based, teaching assistant (TA)-assisted programming (SRLP-TA) and SRL-based, CFA-assisted programming (SRLP-CFA), this study evaluated the effect of CFA on coding performance, cognitive loads, and SRL abilities among novice programming students. The results indicated that compared with the SRLP-TA group, the SRLP-CFA group achieved statistically significantly higher coding scores but showed comparable improvements in understanding programming concepts. Moreover, CFA reduced intrinsic and extraneous cognitive loads while enhancing germane load, fostering deeper knowledge integration and engagement. These findings highlight the role of CFA in enhancing coding performance, particularly in translating conceptual understanding into practice. This tool also statistically significantly improved SRL abilities, such as intrinsic goal orientation, task value, and metacognitive self-regulation.
ISSN:0007-1013
1467-8535
DOI:10.1111/bjet.13589