mlsanityData to 14 Oct 2026

From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions

arXiv 2504.18691 ↗First posted 25 Apr 2025cs.HC cs.AI cs.SEcited by 4

Not on the map. Why?

Abstract (arXiv)

Background and Context. The increasing integration of large language models (LLMs) in computing education presents an emerging challenge in understanding how students use LLMs and craft prompts to solve computational tasks. Prior research has used both qualitative and quantitative methods to analyze prompting behavior, but these approaches lack scalability or fail to effectively capture the semantic evolution of prompts. Objective. In this paper, we investigate whether students prompts can be systematically analyzed using propositional logic constraints. We examine whether this approach can identify patterns in prompt evolution, detect struggling students, and provide insights into effective and ineffective strategies. Method. We introduce Prompt2Constraints, a novel method that translates students prompts into logical constraints. The constraints are able to represent the intent of the prompts in succinct and quantifiable ways. We used this approach to analyze a dataset of 1,872 prompts from 203 students solving introductory programming tasks. Findings. We find that while successful and unsuccessful attempts tend to use a similar number of constraints overall, when students fail, they often modify their prompts more significantly, shifting problem-solving strategies midway. We also identify points where specific interventions could be most helpful to students for refining their prompts. Implications. This work offers a new and scalable way to detect students who struggle in solving natural language programming tasks. This work could be extended to investigate more complex tasks and integrated into programming tools to provide real-time support.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 24 of its 34 references that are in the map. First posted on arXiv 25 Apr 2025.

Builds on

24 of 34 references.

References · 24

  1. 2023Using an LLM to Help With Code Understandingcited by 228
  2. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
  3. 2023The Metacognitive Demands and Opportunities of Generative AIcited by 87
  4. 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
  5. 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
  6. 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 64
  7. 2023LLM-Assisted Content Analysis: Using Large Language Models to Support Deductive Codingcited by 64
  8. 2023Computing Education in the Era of Generative AIcited by 52
  9. 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 48
  10. 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32
  11. 2023Prompt Problems: A New Programming Exercise for the Generative AI Eracited by 31
  12. 2024Desirable Characteristics for AI Teaching Assistants in Programming Educationcited by 17
12 more
  1. 2023Trust in Generative AI among students: An Exploratory Studycited by 16
  2. 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learningcited by 16
  3. 2023Which is better? Exploring Prompting Strategy For LLM-based Metricscited by 14
  4. 2024Student-AI Interaction: A Case Study of CS1 studentscited by 12
  5. 2024Explaining Code with a Purpose: An Integrated Approach for Developing Code Comprehension and Prompting Skillscited by 11
  6. 2025Towards Detecting Prompt Knowledge Gaps for Improved LLM-guided Issue Resolutioncited by 11
  7. 2024An Empirical Study on Developers Shared Conversations with ChatGPT in GitHub Pull Requests and Issuescited by 9
  8. 2024Understanding the Human-LLM Dynamic: A Literature Survey of LLM Use in Programming Taskscited by 9
  9. 2023QualiGPT: GPT as an easy-to-use tool for qualitative codingcited by 8
  10. 2024Substance Beats Style: Why Beginning Students Fail to Code with LLMscited by 5
  11. 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
  12. 2024Revisiting Human Information Foraging: Adaptations for LLM-based Chatbotscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.