Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kazemitabaar, Majeed, Huang, Oliver, Suh, Sangho, Henley, Austin Z., Grossman, Tovi
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912069543002112
author Kazemitabaar, Majeed
Huang, Oliver
Suh, Sangho
Henley, Austin Z.
Grossman, Tovi
author_facet Kazemitabaar, Majeed
Huang, Oliver
Suh, Sangho
Henley, Austin Z.
Grossman, Tovi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08922
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle 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
Human-Computer Interaction
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.
title Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning
topic Human-Computer Interaction
Artificial Intelligence
url https://arxiv.org/abs/2410.08922