arXiv Science⌕ Search

arXiv subjects

Keith Tran

Publications and source records attributed to Keith Tran.

3 recordsLinked to original sources

"I never knew what Provena did": Student Perceptions and Mental Models of Authorship Tracking in CS1

As generative AI can complete most introductory programming assignments, instructors are adopting authorship-tracking tools that record how code is written, to preserve and verify students' own work. Prior work has focused on whether these tools can detect AI-generated work, with less attention to how students being tracked understand and respond to them. We surveyed students in an introductory programming course for non-computing majors and analyzed their open-ended responses about one such tool, Provena, using codebook thematic analysis. Students held incomplete mental models of how the tool worked, even after instructors introduced it, and responded to what they believed it was doing rather than what it did. Most students did not mind being recorded, and some valued it as proof of their work, while many feared it would misread their normal coding habits as cheating. We argue that whether authorship tracking helps or harms learning may depend less on what the tool does than on the mental model students hold, so how instructors explain these tools, not just which tool they adopt, can shape how students experience them.

cs.HC↗

"Why Put in This Much Effort?": How AI Availability Shapes Students' Motivation in Introductory Programming

When AI tools can easily complete programming assignments, students face a motivational question: why invest effort in completing them independently? While prior work has examined instructor policies and usage patterns, we focus on how students themselves experience and respond to AI availability, a perspective important for designing courses that sustain engagement with programming practice. We investigate two research questions: (1) How do engineering students describe how AI availability shapes their motivation to put effort into programming assignments? (2) How do students navigate the tension between their expressed value for learning through effort and the constant availability of AI as an alternative to effort? We conducted semi-structured interviews with 13 engineering majors in an introductory MATLAB course where students could use a course-specific AI chatbot. Using Situated Expectancy-Value Theory (SEVT) as an analytical framework, we examined how students described their expectancy, values, and costs in the context of AI availability. When AI could complete assignments quickly, students questioned whether their time on programming was well spent (cost), questioned the long-term usefulness of programming skill (utility value), reported less satisfaction when AI bypassed productive struggle (intrinsic value), and described confidence that depended on AI being available (expectancy). Nearly all students expressed a preference for learning through effort and a simultaneous temptation to take shortcuts with AI (sanctioned or otherwise). Our findings complicate the assumption that students need external constraints to protect their learning. Students who managed the tension found motivation in the learning process itself, suggesting that course design may need to shift from valuing what students produce to supporting how they learn.

cs.CY↗

Teaching Prompt-Based Programming with LLMs: A 45-Minute Lesson with Guided Practice for End-User Programmers

Prompt-based programming, a new modality enabled by large language models (LLMs), allows users to express computational goals through natural language rather than traditional code. While this approach lowers barriers to entry, especially for non-CS learners, it does not eliminate the need for foundational CS skills. Learners often struggle to communicate their intent clearly to LLMs, resulting in vague or underspecified prompts. Prior work has documented the need for explicit prompting for both CS and non-CS learners. However, it remains less clear how such instruction can fit into busy classrooms or how much time is needed to produce meaningful gains. In this paper, we evaluated a 45-minute prompt-based programming intervention, consisting of a lesson with guided practice, against a business-as-usual CS lab activity (code tracing) of equal length, representing a class without prompt-focused instruction. We conducted a randomized controlled study with 55 engineering students. We found that students in the experimental condition improved more on average (though not significantly more) from pre- to post-test than the control group (+10.8 vs +1.1 percentage points) and showed significantly greater average gains in prompting self-efficacy (+35.4 vs +21.9 percentage points). Our results suggest it is likely that a brief intervention can improve learners' ability to specify computational goals to LLMs. However, the effect was modest, suggesting that prompting skills may require more time and practice to develop. We provide a lightweight lesson that requires no prior CS background and can be readily dropped into existing courses.

cs.CY↗