Understanding Help-Seeking Behavior of Students Using LLMs vs Web Search for Writing SQL Queries
<|reference_start|>Understanding Help-Seeking Behavior of Students Using LLMs vs Web Search for Writing SQL Queries: Growth in the use of large language models (LLMs) in programming education is altering how students write SQL queries. Traditionally, students relied heavily on web search for coding assistance, but this has shifted with the adoption of LLMs like ChatGPT. However, the comparative process and outcomes of using web search versus LLMs for coding help remain underexplored. To address this, we conducted a randomized interview study in a database classroom to compare web search and LLMs, including a publicly available LLM (ChatGPT) and an instructor-tuned LLM, for writing SQL queries. Our findings indicate that using an instructor-tuned LLM required significantly more interactions than both ChatGPT and web search, but resulted in a similar number of edits to the final SQL query. No significant differences were found in the quality of the final SQL queries between conditions, although the LLM conditions directionally showed higher query quality. Furthermore, students using instructor-tuned LLM reported a lower mental demand. These results have implications for learning and productivity in programming education.<|reference_end|>
@article{kumar2024understanding,
    title={Understanding Help-Seeking Behavior of Students Using LLMs vs. Web
  Search for Writing SQL Queries},
    author={Harsh Kumar, Mohi Reza, Jeb Mitchell, Ilya Musabirov, Lisa Zhang,
  Michael Liut},
    journal={arXiv preprint arXiv:2408.08401},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.08401},
    primaryClass={cs.HC cs.AI cs.CY cs.DB}
}