Abstract
dc:description.abstractMastery learning is a proven instructional strategy, yet classroom implementations rely on coarse-grained assessments, while intelligent tutoring systems offer fine-grained adaptivity at high development cost. This thesis investigates whether large language models (LLMs) can enable a lightweight approach to mastery-based instruction for introductory programming. We designed an LLM-based tutor for code tracing, in which all mastery-learning behaviors are defined by a structured system prompt. Across 45 sessions with 25 novice programmers, the tutor correctly followed the mastery rule in 94.5% of progression decisions, generated structurally valid practice problems in 96% of instances, and graded responses accurately in 97.5% of cases. Students reported highly favorable experiences. To analyze tutor behavior, we developed an LLM-assisted data-extraction pipeline, validated through manual verification of 67% of the outputs. These findings demonstrate that structured prompting can reliably govern mastery-learning behaviors in an LLM-based tutor.
Degree
thesis:*- Name thesis:degree_name
- Master of Cognitive Science (M.Cog.Sc.)
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- Cognitive Science
- Grantor dc:publisher
- Carleton University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Manakina, Olga
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- Copyright © 2026 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, distribution to students, research and scholarship. Theses may only be shared by linking to the Carleton University Institutional Repository and no part may be copied without proper attribution to the author; no part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner.
- Language dc:language.iso
- en