Saved in:
Bibliographic Details
Main Authors: Lucas, Cassandra, Bihani, Anshul, Kukka, Rohini, Tsai, Chun-Hua, Sarker, Jaydeb, Imran, Mia Mohammad
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.17857
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913140025851904
author Lucas, Cassandra
Bihani, Anshul
Kukka, Rohini
Tsai, Chun-Hua
Sarker, Jaydeb
Imran, Mia Mohammad
author_facet Lucas, Cassandra
Bihani, Anshul
Kukka, Rohini
Tsai, Chun-Hua
Sarker, Jaydeb
Imran, Mia Mohammad
contents Generative AI creates new opportunities for programming education, but many existing systems remain overly directive, producing lengthy explanations and premature solutions that can overwhelm K-12 novices. In this paper, we present a participatory design study of how an adaptive tutorial system, SocratiCode, evolved toward a Socratic tutoring model for beginner programming instruction. Drawing on weekly learner feedback, we iteratively refined the system over a four-week study with two K-12 students learning Python. Across iterations, the system shifted from flexible tutorial generation toward a more dialogic form of support characterized by guided questioning, reflection prompts, misconception checks, incremental hints, and mandatory pauses for learner input. Our preliminary observations suggest that this Socratic shift improved explanation clarity, supported problem-solving engagement, and better aligned instruction with novice learners' needs, especially when combined with human guidance. We argue that generative AI in K-12 programming education may be most effective not as an answer engine, but as a Socratic, adaptive learning companion embedded within a human-guided instructional framework.
format Preprint
id arxiv_https___arxiv_org_abs_2605_17857
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards SocratiCode: Designing a Generative AI-Based Programming Tutor for K-12 Students through a 4-Week Participatory Design Study
Lucas, Cassandra
Bihani, Anshul
Kukka, Rohini
Tsai, Chun-Hua
Sarker, Jaydeb
Imran, Mia Mohammad
Human-Computer Interaction
Generative AI creates new opportunities for programming education, but many existing systems remain overly directive, producing lengthy explanations and premature solutions that can overwhelm K-12 novices. In this paper, we present a participatory design study of how an adaptive tutorial system, SocratiCode, evolved toward a Socratic tutoring model for beginner programming instruction. Drawing on weekly learner feedback, we iteratively refined the system over a four-week study with two K-12 students learning Python. Across iterations, the system shifted from flexible tutorial generation toward a more dialogic form of support characterized by guided questioning, reflection prompts, misconception checks, incremental hints, and mandatory pauses for learner input. Our preliminary observations suggest that this Socratic shift improved explanation clarity, supported problem-solving engagement, and better aligned instruction with novice learners' needs, especially when combined with human guidance. We argue that generative AI in K-12 programming education may be most effective not as an answer engine, but as a Socratic, adaptive learning companion embedded within a human-guided instructional framework.
title Towards SocratiCode: Designing a Generative AI-Based Programming Tutor for K-12 Students through a 4-Week Participatory Design Study
topic Human-Computer Interaction
url https://arxiv.org/abs/2605.17857