Please use this identifier to cite or link to this item: https://publication.npru.ac.th/jspui/handle/123456789/2565
Title: Using Code Detective Learning Activities to Promote AI Literacy and Code Verification Skills in Python Language
Other Titles: การใช้กิจกรรมการเรียนรู้แบบนักสืบโค้ด เพื่อส่งเสริมการรู้เท่าทัน AI และทักษะการตรวจสอบความถูกต้องของภาษาไพธอน
Authors: Chawgien, Ketsarin
Jutasinee, pornputthasri
Chotikasatian, Chukiat
Simek, Khachonsak
Junda, Eknara
Keywords: Code Detective
Code Tracing
Code Verification
AI Hallucination
AI Literacy
Python Language
Issue Date: 28-Aug-2026
Publisher: Proceedings of the 18th NPRU National Academic Conference
Series/Report no.: ;1187-1199
Abstract: At present, the use of Generative AI to support computer programming has become widespread. However, a significant challenge is AI Hallucination, in which AI generates source code that appears credible but contains non-existent methods or logical errors. If learners rely on this technology without critical judgment, it can lead to severe logical fallacies and a regression in self-directed problem-solving skills. This research aims to develop Code Detective learning activities that apply code-tracing processes to combat AI hallucinations and promote AI literacy and code-verification competencies, and to study the ability to detect errors through Trap Tasks. The sample group consisted of 35 students selected through purposive sampling. The research instruments included instructional slides on AI Hallucination, a worksheet featuring five Trap Task missions, pre- and post-tests, and competency evaluation rubrics. Data were analyzed using Mean (x ̅), Standard Deviation (S.D.), and Paired Samples t-test. Through a line-by-line analysis process, students were able to identify the location and type of errors in the Trap Tasks more accurately. The mean scores before learning were 22.31, after learning were 29.77, t = -7.114, p < .001, r = 0.773, and satisfaction with the learning management model was at a high level.
URI: https://publication.npru.ac.th/jspui/handle/123456789/2565
ISBN: 978-974-7063-49-3
Appears in Collections:Proceedings of the 18th NPRU National Academic Conference

Files in This Item:
File Description SizeFormat 
1187.pdfCED-O596.49 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.