Evaluating lab assistant chatbot on student learning and behaviors in a programming short course

dc.contributor.authorNoraset T.
dc.contributor.authorSupratak A.
dc.contributor.authorRagkhitwetsagul C.
dc.contributor.authorWorathong N.
dc.contributor.authorTuarob S.
dc.contributor.correspondenceNoraset T.
dc.contributor.otherMahidol University
dc.date.accessioned2026-02-06T18:13:04Z
dc.date.available2026-02-06T18:13:04Z
dc.date.issued2026-06-01
dc.description.abstractThe rise of generative AI has increased interest in its application as an intelligent lab assistant in programming education, but concerns persist over its educational value and potential exploitation. While previous work supports using a customized chatbot as an assistant that provides specific guidance rather than allowing students to prompt responses freely, empirical evidence directly comparing these approaches is still lacking. This study evaluates the impact of two chatbot designs, Unrestricted and Assistant, on student learning and behavior in a short Python programming course. Through a controlled experiment involving 42 participants, we found that students using the Assistant chatbot, which provided guidance through preset and free-text prompts without offering direct solutions, showed significantly greater improvement from pre- to post-test than those using an Unrestricted chatbot. Analysis of over 1000 chatbot interactions revealed a strong preference for free-text input and a high rate of attempted exploits among participants. Additionally, prompt injection tests demonstrated the Assistant chatbot’s partial vulnerability to hijacking attempts. These findings highlight the benefits and limitations of AI assistants in programming education, underscoring the importance of guided interaction design to support learning while minimizing exploitation.
dc.identifier.citationComputers and Education Artificial Intelligence Vol.10 (2026)
dc.identifier.doi10.1016/j.caeai.2025.100527
dc.identifier.eissn2666920X
dc.identifier.scopus2-s2.0-105025094025
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/123456789/114421
dc.rights.holderSCOPUS
dc.subjectComputer Science
dc.subjectSocial Sciences
dc.titleEvaluating lab assistant chatbot on student learning and behaviors in a programming short course
dc.typeArticle
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105025094025&origin=inward
oaire.citation.titleComputers and Education Artificial Intelligence
oaire.citation.volume10
oairecerif.author.affiliationMahidol University

Files

Collections