Skip to main content Skip to navigation

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

Project Overview

The document examines the integration of generative AI, especially Large Language Models (LLMs), in programming education, emphasizing both its benefits and challenges. It notes that novice programmers increasingly depend on AI-generated code, which can potentially hinder genuine learning and skill acquisition. To mitigate these risks, the paper introduces seven cognitive engagement techniques aimed at fostering deeper interactions with AI-generated content, with the 'Lead-and-Reveal' technique emerging as particularly effective in aligning students' perceptions with their actual coding abilities while reducing cognitive load. Additionally, the document highlights various applications of generative AI in educational contexts, such as personalized learning environments, AI code generators, and interactive programming tools, which collectively enhance student engagement and provide support while addressing common misconceptions. These applications also pose challenges for educators as they adapt to new technologies. Overall, the findings suggest that with appropriate strategies and tools, generative AI can significantly improve the programming education landscape, facilitating deeper learning and better outcomes for students.

Key Applications

AI-Powered Programming Support Tools

Context: Educational contexts for novice programmers in university-level programming courses, focusing on engagement and understanding of coding concepts through personalized puzzles, cognitive engagement techniques, and AI code generation.

Implementation: Utilized LLMs and AI code generation tools to create personalized learning experiences, including Parsons puzzles, cognitive engagement techniques, and direct code generation and explanation support. Empirical studies were conducted to assess the effectiveness of these techniques on student performance and engagement.

Outcomes: ['Improved alignment between perceived and actual coding abilities', 'Increased engagement and personalized learning experience', 'Facilitated understanding of programming concepts', 'Improved learner support and task completion rates']

Challenges: ['Potential for cognitive overload', 'Superficial understanding without proper engagement', 'Dependency on AI tools and potential reduction of problem-solving skills', 'Resistance from instructors and concerns over academic integrity', 'Potential misalignment between LLM outputs and educational goals']

Implementation Barriers

Cognitive/Engagement Barrier

Over-reliance on AI-generated solutions can lead to superficial learning and skill degradation. Learners may passively accept AI-generated code without fully understanding it.

Proposed Solutions: Introduce cognitive engagement techniques that require active problem-solving and critical thinking. Implement techniques that promote metacognitive reflection and deeper engagement with the code.

Educational Barrier

Resistance from instructors regarding the integration of AI tools in the curriculum.

Proposed Solutions: Professional development for instructors to adapt to AI tools and demonstrate their benefits.

Technical Barrier

Challenges related to the accuracy and alignment of AI-generated content with curriculum standards.

Proposed Solutions: Continuous evaluation and refinement of AI tools to ensure educational relevance.

Project Team

Majeed Kazemitabaar

Researcher

Oliver Huang

Researcher

Sangho Suh

Researcher

Austin Z. Henley

Researcher

Tovi Grossman

Researcher

Contact Information

For information about the paper, please contact the authors.

Authors: Majeed Kazemitabaar, Oliver Huang, Sangho Suh, Austin Z. Henley, Tovi Grossman

Source Publication: View Original PaperLink opens in a new window

Project Contact: Dr. Jianhua Yang

LLM Model Version: gpt-4o-mini-2024-07-18

Analysis Provider: Openai

Let us know you agree to cookies