计算机科学 > 软件工程
[提交于 2021年2月10日]
标题:SQLRepair: Identifying and Repairing Mistakes in Student-Authored SQL Queries
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Computer science educators seek to understand the types of mistakes that students make when learning a new (programming) language so that they can help students avoid those mistakes in the future. While educators know what mistakes students regularly make in languages such as C and Python, students struggle with SQL and regularly make mistakes when working with it. We present an analysis of mistakes that students made when first working with SQL, classify the types of errors introduced, and provide suggestions on how to avoid them going forward. In addition, we present an automated tool, SQLRepair, that is capable of repairing errors introduced by undergraduate programmers when writing SQL queries. Our results show that students find repairs produced by our tool comparable in understandability to queries written by themselves or by other students, suggesting that SQL repair tools may be useful in an educational context. We also provide to the community a benchmark of SQL queries written by the students in our study that we used for evaluation of SQLRepair.
提交历史
来自:Kai Presler-Marshall[v1] 2021年2月10日 星期三 20:33:40 UTC