From Generation to Adaptation: Comparing AI-Assisted Strategies in High School Programming Education
Tong Hu, Songzan Wang

TL;DR
This study compares two pedagogical strategies using language model code generation in high school programming, showing that adapting existing code with scaffolding is more effective than generating from scratch.
Contribution
It introduces a dual-scaffolding model combining technical and pedagogical support for effective AI-assisted programming education.
Findings
MFU-based approach achieved 100% MVP completion
From-scratch approach achieved only 20% MVP completion
Effective integration depends on instructional design, not just AI capabilities
Abstract
This exploratory case study investigated two contrasting pedagogical approaches for LCA-assisted programming with five novice high school students preparing for a WeChat Mini Program competition. In Phase 1, students used LCAs to generate code from abstract specifications (From-Scratch approach), achieving only 20% MVP completion. In Phase 2, students adapted existing Minimal Functional Units (MFUs), small, functional code examples, using LCAs, achieving 100% MVP completion. Analysis revealed that the MFU-based approach succeeded by aligning with LCA strengths in pattern modification rather than de novo generation, while providing cognitive scaffolds that enabled students to navigate complex development tasks. The study introduces a dual-scaffolding model combining technical support (MFUs) with pedagogical guidance (structured prompting strategies), demonstrating that effective LCA…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTeaching and Learning Programming · Intelligent Tutoring Systems and Adaptive Learning · Software Engineering Techniques and Practices
