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:
- South America > Peru
- Arequipa Department > Arequipa Province > Arequipa (0.04)
- Oceania
- New Zealand > North Island
- Auckland Region > Auckland (0.04)
- Australia
- New South Wales > Sydney (0.14)
- Victoria > Melbourne (0.04)
- New Zealand > North Island
- North America
- United States
- South Carolina > Greenville County
- Greenville (0.04)
- Colorado > Denver County
- Denver (0.04)
- Texas
- Travis County > Austin (0.04)
- Dallas County > Dallas (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- California > Alameda County
- Berkeley (0.04)
- Nebraska > Douglas County
- Omaha (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Missouri > Jackson County
- Kansas City (0.14)
- Georgia > Fulton County
- Atlanta (0.14)
- Tennessee > Shelby County
- Memphis (0.04)
- Massachusetts
- Suffolk County > Boston (0.04)
- Middlesex County > Cambridge (0.04)
- Washington
- Pierce County > Tacoma (0.04)
- King County > Seattle (0.04)
- New York > New York County
- New York City (0.17)
- Wisconsin > Milwaukee County
- Milwaukee (0.04)
- Pennsylvania > Allegheny County
- Pittsburgh (0.28)
- South Carolina > Greenville County
- Canada
- Ontario > Toronto (0.68)
- Quebec
- Montreal (0.04)
- Capitale-Nationale Region
- Québec (0.04)
- Quebec City (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- United States
- Europe
- Switzerland (0.04)
- Monaco (0.04)
- Ireland (0.04)
- Sweden > Uppsala County
- Uppsala (0.04)
- Finland
- Uusimaa > Helsinki (0.04)
- Southwest Finland > Turku (0.04)
- Germany > North Rhine-Westphalia
- Münster Region > Münster (0.04)
- Norway > Central Norway
- Netherlands > Gelderland
- Nijmegen (0.04)
- United Kingdom
- Scotland > City of Glasgow
- Glasgow (0.04)
- England > Kent
- Canterbury (0.14)
- Scotland > City of Glasgow
- Italy > Emilia-Romagna
- Metropolitan City of Bologna > Bologna (0.04)
- Asia
- South America > Peru
- Genre:
- Instructional Material (1.00)
- Research Report
- New Finding (1.00)
- Experimental Study (1.00)
- Industry:
- Education
- Educational Setting (1.00)
- Assessment & Standards (0.93)
- Curriculum > Subject-Specific Education (0.67)
- Education
- Technology: