Vibe coding with preservice teachers: a single-group pretest-posttest pilot study of programming self-efficacy and intentions to use generative AI in education.
Kağan Kırcaburun
Educational Sciences Department, Duzce Universitesi Egitim Fakultesi, Düzce, Türkiye.
Key points
From the paper's conclusion- Because full measurement invariance was not established, pretest-posttest differences were interpreted as changes in observed scores. Significant increases were found for simple-task self-efficacy (Cohen's dz = 2.62), complex-task self-efficacy (Cohen's dz = 1.72), and intentions to use GAI in education (Cohen's dz = 0.29), with all comparisons remaining significant after Bonferroni correction.
Abstract
INTRODUCTION: Generative artificial intelligence (GAI) is changing how novices engage with programming by enabling program creation through natural-language interaction, an approach increasingly described as vibe coding. This may be particularly relevant for preservice teachers, who are often expected to develop computational skills despite limited programming experience. Grounded in social cognitive theory, this study examined changes in programming self-efficacy and intentions to use GAI in education following a four-week vibe coding intervention. METHODS: A single-group pretest-posttest design was used with 159 preservice teachers (92.5% women) from four undergraduate programs at a Turkish state university. The intervention combined instructor demonstrations with individual programming tasks completed through natural-language prompting. Programming self-efficacy for simple and complex tasks and, as a secondary outcome, intentions to use GAI in education were assessed before and after the intervention. RESULTS: Because full measurement invariance was not established, pretest-posttest differences were interpreted as changes in observed scores. Significant increases were found for simple-task self-efficacy (Cohen's dz = 2.62), complex-task self-efficacy (Cohen's dz = 1.72), and intentions to use GAI in education (Cohen's dz = 0.29), with all comparisons remaining significant after Bonferroni correction. DISCUSSION: The findings provide preliminary evidence that structured vibe coding activities may be associated with greater programming-related confidence among preservice teachers. However, the absence of a control group prevents attribution of the observed changes to the intervention, and the large self-efficacy effects may partly reflect very low pretest scores and regression to the mean. In addition, the CPSES measures general programming confidence rather than unaided programming ability, so posttest gains may partly reflect confidence in completing tasks with GAI support. Future studies should use controlled designs and performance-based measures to determine whether increased confidence is accompanied by gains in independent programming competence.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Scoping Review of Vibe Coding and AI-Assisted Programming in University Computing EducationAI in Education · 2026
- Managing Uncertainty in Teacher Vibe Coding: A Comparison of Teacher and Expert WorkflowsarXiv · 2026
- Vibe Coding for Simulation Development in Engineering EducationComputer Applications in Engineering Education · 2026
- Vibe Coding for Statistical Analysis Using Large Language Models.Nursing research · 2026
- Enhancing pre-service teachers' GenAI literacy and teaching self-efficacy through teacher-guided GenAI use: a quasi-experimental studyFrontiers in Education · 2026
- A collaborative creation framework for experimental animation pedagogy integrating generative artificial intelligence and vibe coding.Frontiers in psychology · 2026