Designing Cognitive Scaffolds for Generative-AI-Assisted Introductory Programming

Generative artificial intelligence (GenAI) can make introductory programming tasks easier to complete, but a working program is not evidence of durable learning. This conceptual-theoretical paper integrates research on cognitive load, metacognition, self-explanation, productive failure, appropriate reliance on automation, and recent studies of AI-assisted programming to propose a five-phase cognitive-scaffolding framework. Learners first make an unaided attempt, request bounded assistance, verify the response against requirements and independently designed tests, explain the mechanism and calibrate confidence, and then complete a related transfer task as support fades. AI literacy, ethical disclosure, privacy, and instructor orchestration operate across all phases. The framework identifies process evidence that remains inspectable when generated code is available, including problem representations, hypotheses, verification records, explanations, confidence judgments, and unaided transfer. It also states six testable propositions and an evaluation blueprint for introductory programming courses. The contribution is a bounded design logic, not a claim that the sequence has already been validated: GenAI should reduce avoidable burden while leaving consequential decisions, checks, and explanations with the learner.

Authors

Publication Details

Journal
Preprints.org
Published
2026-11-16
DOI
https://doi.org/10.20944/preprints202611.1576.v1
Primary Topic
Teaching and Learning Programming
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Designing Cognitive Scaffolds for Generative-AI-Assisted Introductory Programming

Napat Sukthong
Preprints.org
Teaching and Learning Programming
preprint

Designing Cognitive Scaffolds for Generative-AI-Assisted Introductory Programming

Napat Sukthong
preprint en

Abstract

Generative artificial intelligence (GenAI) can make introductory programming tasks easier to complete, but a working program is not evidence of durable learning. This conceptual-theoretical paper integrates research on cognitive load, metacognition, self-explanation, productive failure, appropriate reliance on automation, and recent studies of AI-assisted programming to propose a five-phase cognitive-scaffolding framework. Learners first make an unaided attempt, request bounded assistance, verify the response against requirements and independently designed tests, explain the mechanism and calibrate confidence, and then complete a related transfer task as support fades. AI literacy, ethical disclosure, privacy, and instructor orchestration operate across all phases. The framework identifies process evidence that remains inspectable when generated code is available, including problem representations, hypotheses, verification records, explanations, confidence judgments, and unaided transfer. It also states six testable propositions and an evaluation blueprint for introductory programming courses. The contribution is a bounded design logic, not a claim that the sequence has already been validated: GenAI should reduce avoidable burden while leaving consequential decisions, checks, and explanations with the learner.

Preprints.org
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.

Laika access coming soon