Let’s Code with GenAI: Exploring K-12 Teachers’ Self-Efficacy, Value Beliefs, and Coding Performance

While computational thinking (CT) is increasingly vital in K-12 education, teaching it through text-based coding remains challenging for teachers. To address this gap, this study presents and evaluates a self-paced professional development (PD) module, “Let’s Code with GenAI,” created for K-12 teachers to enhance text-based coding and CT. Using a one-group pretest-posttest design, 34 pre-/in-service teachers completed the module in 2025, engaging with instructional videos and hands-on coding activities using Micro:bit and MakeCode (v11.3.22), with a GenAI assistant providing explanations and debugging support. Pre- and post-intervention data were collected using the Teacher Beliefs about Coding and Computational Thinking (TBaCCT) scale and a coding/CT assessment. Posttest scores were higher than pretest scores on teaching efficacy and value beliefs (p < 0.001 for both), as well as in coding self-efficacy (p < 0.001) and CT self-efficacy (p = 0.015). Coding/CT assessment scores were also higher at posttest (p = 0.040). No statistically significant correlations were found between self-efficacy and performance measures. Overall, the findings offer preliminary insights into participants’ post-intervention outcomes in a GenAI-supported, self-paced PD module, including self-efficacy, value beliefs, and coding/CT performance, while underscoring the need for future controlled studies.

Authors

Institutions

Publication Details

Journal
AI
Published
2026-07-23
DOI
https://doi.org/10.3390/ai7080277
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Let’s Code with GenAI: Exploring K-12 Teachers’ Self-Efficacy, Value Beliefs, and Coding Performance

Wanju Huang, Suk Tae Kang
AI
Teaching and Learning Programming
article

Let’s Code with GenAI: Exploring K-12 Teachers’ Self-Efficacy, Value Beliefs, and Coding Performance

Wanju Huang, Suk Tae Kang
article en

Abstract

While computational thinking (CT) is increasingly vital in K-12 education, teaching it through text-based coding remains challenging for teachers. To address this gap, this study presents and evaluates a self-paced professional development (PD) module, “Let’s Code with GenAI,” created for K-12 teachers to enhance text-based coding and CT. Using a one-group pretest-posttest design, 34 pre-/in-service teachers completed the module in 2025, engaging with instructional videos and hands-on coding activities using Micro:bit and MakeCode (v11.3.22), with a GenAI assistant providing explanations and debugging support. Pre- and post-intervention data were collected using the Teacher Beliefs about Coding and Computational Thinking (TBaCCT) scale and a coding/CT assessment. Posttest scores were higher than pretest scores on teaching efficacy and value beliefs (p < 0.001 for both), as well as in coding self-efficacy (p < 0.001) and CT self-efficacy (p = 0.015). Coding/CT assessment scores were also higher at posttest (p = 0.040). No statistically significant correlations were found between self-efficacy and performance measures. Overall, the findings offer preliminary insights into participants’ post-intervention outcomes in a GenAI-supported, self-paced PD module, including self-efficacy, value beliefs, and coding/CT performance, while underscoring the need for future controlled studies.

AIVol. 7(8)
Purdue University West Lafayette (US)
Quality Education
Openalex Percentile: Top 5%
Teaching and Learning Programming
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.

Let’s Code with GenAI: Exploring K-12 Teachers’ Self-Efficacy, Value Beliefs, and Coding Performance — Wanju Huang, Suk Tae Kang · AI (2026) | TGRS Research Map | TGRS