Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning
Kazemitabaar, Majeed, Huang, Oliver, Suh, Sangho, Henley, Austin Z., Grossman, Tovi
–arXiv.org Artificial Intelligence
Novice programmers are increasingly relying on Large Language Models (LLMs) to generate code for learning programming concepts. However, this interaction can lead to superficial engagement, giving learners an illusion of learning and hindering skill development. To address this issue, we conducted a systematic design exploration to develop seven cognitive engagement techniques aimed at promoting deeper engagement with AI-generated code. In this paper, we describe our design process, the initial seven techniques and results from a between-subjects study (N=82). We then iteratively refined the top techniques and further evaluated them through a within-subjects study (N=42). We evaluate the friction each technique introduces, their effectiveness in helping learners apply concepts to isomorphic tasks without AI assistance, and their success in aligning learners' perceived and actual coding abilities. Ultimately, our results highlight the most effective technique: guiding learners through the step-by-step problem-solving process, where they engage in an interactive dialog with the AI, prompting what needs to be done at each stage before the corresponding code is revealed.
arXiv.org Artificial Intelligence
Oct-11-2024
- Country:
- Asia
- Europe
- Italy > Emilia-Romagna
- Metropolitan City of Bologna > Bologna (0.04)
- Ireland (0.04)
- United Kingdom
- England > Kent
- Canterbury (0.14)
- Scotland > City of Glasgow
- Glasgow (0.04)
- England > Kent
- Netherlands > Gelderland
- Nijmegen (0.04)
- Norway > Central Norway
- Germany > North Rhine-Westphalia
- Münster Region > Münster (0.04)
- Monaco (0.04)
- Finland
- Southwest Finland > Turku (0.04)
- Uusimaa > Helsinki (0.04)
- Sweden > Uppsala County
- Uppsala (0.04)
- Switzerland (0.04)
- Italy > Emilia-Romagna
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Ontario > Toronto (0.68)
- Quebec
- Capitale-Nationale Region
- Quebec City (0.04)
- Québec (0.04)
- Montreal (0.04)
- Capitale-Nationale Region
- British Columbia > Metro Vancouver Regional District
- United States
- Pennsylvania > Allegheny County
- Pittsburgh (0.28)
- Wisconsin > Milwaukee County
- Milwaukee (0.04)
- New York > New York County
- New York City (0.17)
- Washington
- King County > Seattle (0.04)
- Pierce County > Tacoma (0.04)
- Massachusetts
- Middlesex County > Cambridge (0.04)
- Suffolk County > Boston (0.04)
- Tennessee > Shelby County
- Memphis (0.04)
- Georgia > Fulton County
- Atlanta (0.14)
- Missouri > Jackson County
- Kansas City (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Nebraska > Douglas County
- Omaha (0.04)
- California > Alameda County
- Berkeley (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- Texas
- Dallas County > Dallas (0.04)
- Travis County > Austin (0.04)
- Colorado > Denver County
- Denver (0.04)
- South Carolina > Greenville County
- Greenville (0.04)
- Pennsylvania > Allegheny County
- Canada
- Oceania
- Australia
- New South Wales > Sydney (0.14)
- Victoria > Melbourne (0.04)
- New Zealand > North Island
- Auckland Region > Auckland (0.04)
- Australia
- South America > Peru
- Arequipa Department > Arequipa Province > Arequipa (0.04)
- Genre:
- Instructional Material (1.00)
- Research Report
- Experimental Study (1.00)
- New Finding (1.00)
- Industry:
- Education
- Assessment & Standards (0.93)
- Curriculum > Subject-Specific Education (0.67)
- Educational Setting (1.00)
- Education
- Technology: