Innovating Computer Programming Pedagogy: The AI-Lab Framework for Generative AI Adoption

Ethan Dickey,Andres Bejarano,Chirayu Garg
2023-08-24
Abstract:Over the last year, the ascent of Generative AI (GenAI) has raised concerns about its impact on core skill development, such as problem-solving and algorithmic thinking, in Computer Science students. Preliminary anonymous surveys show that at least 48.5% of our students use GenAI for homework. With the proliferation of these tools, the academic community must contemplate the appropriate role of these tools in education. Neglecting this might culminate in a phenomenon we term the "Junior-Year Wall," where students struggle in advanced courses due to prior over-dependence on GenAI. Instead of discouraging GenAI use, which may unintentionally foster covert usage, our research seeks to answer: "How can educators guide students' interactions with GenAI to preserve core skill development during their foundational academic years?" We introduce "AI-Lab," a pedagogical framework for guiding students in effectively leveraging GenAI within core collegiate programming courses. This framework accentuates GenAI's benefits and potential as a pedagogical instrument. By identifying and rectifying GenAI's errors, students enrich their learning process. Moreover, AI-Lab presents opportunities to use GenAI for tailored support such as topic introductions, detailed examples, corner case identification, rephrased explanations, and debugging assistance. Importantly, the framework highlights the risks of GenAI over-dependence, aiming to intrinsically motivate students towards balanced usage. This approach is premised on the idea that mere warnings of GenAI's potential failures may be misconstrued as instructional shortcomings rather than genuine tool limitations. Additionally, AI-Lab offers strategies for formulating prompts to elicit high-quality GenAI responses. For educators, AI-Lab provides mechanisms to explore students' perceptions of GenAI's role in their learning experience.
Computers and Society
What problem does this paper attempt to address?
The problem that this paper attempts to solve is, in the context of the rapid development of generative artificial intelligence (Generative AI, GenAI), how to rationally utilize these tools in computer science education to promote the development of students' core skills while avoiding learning obstacles caused by excessive dependence on GenAI. Specifically, the paper focuses on: 1. **The impact of GenAI on the development of basic skills**: With the popularization of GenAI tools, at least 48.5% of students have used these tools when completing their assignments. However, this dependence may lead to difficulties for students in advanced - level courses, the so - called "Junior - Year Wall" phenomenon, because they have not fully mastered the necessary core skills in basic courses. 2. **The role of educators**: How can educators guide students' interaction with GenAI to ensure that students can maintain and develop core skills, such as problem - solving ability, algorithmic thinking and debugging skills, during the basic academic years? To address these issues, the paper proposes the "AI - Lab" framework, which is a teaching framework aimed at guiding students to effectively use GenAI tools in computer programming courses. The main objectives of this framework include: - **Emphasizing the limitations of GenAI**: By identifying and correcting GenAI's errors, help students recognize the shortcomings of GenAI, thereby avoiding excessive dependence. - **Promoting the development of core skills**: Through the design of a series of activities, let students continue to cultivate core skills such as problem - solving and algorithmic thinking while using GenAI. - **Providing personalized support**: Use GenAI to provide students with personalized learning resources, such as topic introductions, detailed examples, edge - case identification, re - formulated explanations and debugging aids. In summary, the core question of the paper is: "How can educators guide students' interaction with GenAI to maintain and develop core skills during the basic academic years?" Through the "AI - Lab" framework, the author hopes to find a balance point so that students can benefit from GenAI while avoiding its potential negative impacts.