Evaluating lab assistant chatbot on student learning and behaviors in a programming short course
| dc.contributor.author | Noraset T. | |
| dc.contributor.author | Supratak A. | |
| dc.contributor.author | Ragkhitwetsagul C. | |
| dc.contributor.author | Worathong N. | |
| dc.contributor.author | Tuarob S. | |
| dc.contributor.correspondence | Noraset T. | |
| dc.contributor.other | Mahidol University | |
| dc.date.accessioned | 2026-02-06T18:13:04Z | |
| dc.date.available | 2026-02-06T18:13:04Z | |
| dc.date.issued | 2026-06-01 | |
| dc.description.abstract | The 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.citation | Computers and Education Artificial Intelligence Vol.10 (2026) | |
| dc.identifier.doi | 10.1016/j.caeai.2025.100527 | |
| dc.identifier.eissn | 2666920X | |
| dc.identifier.scopus | 2-s2.0-105025094025 | |
| dc.identifier.uri | https://repository.li.mahidol.ac.th/handle/123456789/114421 | |
| dc.rights.holder | SCOPUS | |
| dc.subject | Computer Science | |
| dc.subject | Social Sciences | |
| dc.title | Evaluating lab assistant chatbot on student learning and behaviors in a programming short course | |
| dc.type | Article | |
| mu.datasource.scopus | https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105025094025&origin=inward | |
| oaire.citation.title | Computers and Education Artificial Intelligence | |
| oaire.citation.volume | 10 | |
| oairecerif.author.affiliation | Mahidol University |
