Skip to main content
QUICK REVIEW

[Paper Review] Leveraging Large Language Model and Story-Based Gamification in Intelligent Tutoring System to Scaffold Introductory Programming Courses: A Design-Based Research Study

Chen Cao|arXiv (Cornell University)|Feb 25, 2023
Online Learning and AnalyticsComputer Science7 citations
TL;DR

This study designs and evaluates a GPT-3-powered, story-based gamified intelligent tutoring system (ITS) to scaffold introductory programming learning and enhance belonging among Chinese international students. The system uses narrative-driven AI agents to deliver personalized feedback, foster engagement, and reduce anxiety, with pilot results showing strong usability, acceptability, and positive user perceptions of support and interactivity.

ABSTRACT

Programming skills are rapidly becoming essential for many educational paths and career opportunities. Yet, for many international students, the traditional approach to teaching introductory programming courses can be a significant challenge due to the complexities of the language, the lack of prior programming knowledge, and the language and cultural barriers. This study explores how large language models and gamification can scaffold coding learning and increase Chinese students sense of belonging in introductory programming courses. In this project, a gamification intelligent tutoring system was developed to adapt to Chinese international students learning needs and provides scaffolding to support their success in introductory computer programming courses.

Motivation & Objective

  • Address the challenge of low belonging and high anxiety among Chinese international students in UK introductory programming courses due to language, cultural, and prior knowledge gaps.
  • Investigate how AI-enhanced gamification can scaffold learning by providing personalized, adaptive feedback and fostering emotional and cognitive engagement.
  • Design an intelligent tutoring system that integrates narrative elements and role-based AI agents to simulate a supportive, interactive learning environment.
  • Evaluate the system’s usability, acceptability, and effectiveness in improving learning outcomes and sense of belonging in real-world educational contexts.

Proposed method

  • Developed a story-based ITS featuring four GPT-3-powered AI agents: Sherlock (tutoring), Watson (critical thinking), Inspector Lestrade (career engagement), and Mrs Hudson (emotional support).
  • Implemented a code-explaining module that uses prompt engineering to generate tailored feedback by calling the GPT-3 API with code snippets and natural language prompts.
  • Simulated 360 rounds of student-teacher interactions using prompt programming based on CS1 course objectives and instructor reflections.
  • Conducted a pilot user study with stakeholders (students, instructors, researchers) to assess usability, acceptability, and perceived effectiveness of the system.
  • Applied semantic similarity, topic modeling, and sentiment analysis to evaluate the quality and tone of AI-generated responses.
  • Designed the interface to support real-time code submission, feedback, and chat history logging for longitudinal analysis.

Experimental results

Research questions

  • RQ1How does a GPT-3-enhanced, story-based gamified ITS impact Chinese international students’ sense of belonging in introductory programming courses?
  • RQ2To what extent can GPT-3 provide personalized, adaptive feedback that supports learning at different levels of Bloom’s taxonomy?
  • RQ3How do users perceive the usability, acceptability, and emotional support provided by narrative-driven AI agents in an ITS?
  • RQ4What role does prompt quality play in determining the accuracy and depth of GPT-3’s responses in educational coding contexts?
  • RQ5Can gamified AI agents effectively foster inquiry-based learning and computational thinking in introductory programming?

Key findings

  • Preliminary findings indicate that GPT-3-enhanced gamification significantly reduces students’ anxiety and increases their sense of belonging through personalized, narrative-driven interactions.
  • The AI agents demonstrated strong performance in generating feedback and sustaining insightful conversations, particularly for well-formed questions at lower and mid-level cognitive domains (remembering, understanding, analysis).
  • Users reported high levels of satisfaction and perceived support, with many expressing surprise and appreciation for the emotional and academic assistance provided by the AI agents.
  • The system was rated highly for usability and acceptability in the pilot study, with participants describing the narrative elements—especially the Sherlock storyline—as engaging and motivating.
  • Sentiment analysis revealed consistently positive emotional tone in AI-generated responses, suggesting effective emotional support delivery.
  • The quality of GPT-3’s responses was found to be highly dependent on the clarity and structure of the input questions, with well-formulated prompts yielding more accurate and detailed explanations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.