A Validated Scale Measuring Student Self-Efficacy for Programming with Generative AI
Authors:
- James PratherJPJames Prather
- Lauren MargulieuxLMLauren Margulieux
- Yekaterina KharitonovaYKYekaterina Kharitonova
- Yonggao YangYYYonggao Yang
- Brent N. ReevesBRBrent N. Reeves
- Paul DennyPDPaul Denny
- Jamie Gorson BenarioJBJamie Gorson Benario
- Ernest D.V. HolmesEHErnest D.V. Holmes
- Erin SpauldingESErin Spaulding
- Gweneth BarbreGBGweneth Barbre
- Musa BlakeMBMusa Blake
- Juho LeinonenJLJuho Leinonen
Open Access
- 10 August 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 59-72
Abstract
The rise of generative artificial intelligence (GenAI) has sparked a rapid change in computing curricula and teaching approaches. GenAI coding tools can accurately complete assignments, answer test questions, and perform other tasks traditionally associated with learning programming, especially at the introductory level. Because GenAI is still so new, researchers investigating student usage of GenAI have used informal rubrics and questionnaires. To advance, the field needs validated instruments that measure student perception and use of GenAI. This paper presents the development and initial validation of an instrument to measure self-efficacy while using GenAI to learn programming. Self-efficacy is an important construct in education research because it robustly correlates with student success, across disciplines and ages, including undergraduate computing education. Computing education researchers have presented several validated self-efficacy instruments, most recently by Steinhorst et al. in 2020. Critically, this instrument was created before the rise of GenAI’s popularity in 2022. To complement this instrument, we created a GenAI scale similar in style to the Steinhorst self-efficacy instrument, consisting originally of 11 items and revised to 5 items. We report two important findings in this paper. First, we found strong support for the validity of the existing Steinhorst instrument in a new context, specifically an introductory programming course that fully integrates GenAI. Second, the new GenAI scale shows strong internal reliability, discriminant validity with items in the Steinhorst subscales, and criterion validity with students’ GenAI usage patterns. Based on statistical analysis and cognitive probing interviews, we argue for the validity of the five-item scale to measure students’ GenAI self-efficacy in the context of programming.Keywords
Funding Information
- Research Council of Finland (356114)
This publication has 66 references indexed in Scilit:
- Coding with AI: How Are Tools Like ChatGPT Being Used by Students in Foundational Programming Courses2024
- Scaffolding problem solving with learners’ own self explanations of subgoalsJournal of Computing in Higher Education, 2021
- Perceived Self-Efficacy and its Relationship to Resilience2012
- Academic self-efficacy: from educational theory to instructional practicePerspectives on Medical Education, 2012
- Sources of science self-efficacy beliefs of middle school studentsJournal of Research in Science Teaching, 2006
- Generality of academic self-efficacy judgments: Evidence of hierarchical relations.Journal of Educational Psychology, 1997
- Role of self-efficacy and self-concept beliefs in mathematical problem solving: A path analysis.Journal of Educational Psychology, 1994
- The relationship of computer self-efficacy expectations to computer interest and course enrollment in collegeSex Roles, 1987
- Relation of self-efficacy expectations to academic achievement and persistence.Journal of Counseling Psychology, 1984
- Self-efficacy mechanism in human agency.American Psychologist, 1982