The impact of <scp>GenAI</scp> ‐enabled coding hints on students' programming performance and cognitive load in an <scp>SRL</scp> ‐based Python course

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

Authors

Institutions

Publication Details

Journal
British Journal of Educational Technology
Published
2025-04-21
DOI
https://doi.org/10.1111/bjet.13589
Citations
15
Primary Topic
Online Learning and Analytics
Type
article
Field-Weighted Citation Impact
25.40

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The impact of GenAI ‐enabled coding hints on students' programming performance and cognitive load in an SRL ‐based Python course

Anna Y.Q. Huang, Shun-Lian Su, Stephen J.H. Yang, Chiu-Pin Lin
15 citations
British Journal of Educational Technology
Online Learning and Analytics
25.40
article

The impact of GenAI ‐enabled coding hints on students' programming performance and cognitive load in an SRL ‐based Python course

Anna Y.Q. Huang, Shun-Lian Su, Stephen J.H. Yang, Chiu-Pin Lin
article en
15 citations

Abstract

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

British Journal of Educational TechnologyVol. 56(5)
National Central University (TW)
National Science and Technology Council
Openalex Percentile: Top 1%
Online Learning and Analytics
25.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.