三种编程错误度量在解释 CS1 成绩变异性方面的比较
Comparison of Three Programming Error Measures for Explaining Variability in CS1 Grades
AI总结:
本文基于280名学生的51095个代码快照,比较三种编程错误度量对Java入门课程两次考试成绩变异性的解释力,发现结合编译与运行时错误的 Error Quotient 表现最佳。
摘要:
编程课程对大学一年级学生而言可能颇具挑战,尤其是对于此前没有编码经验的学生。学生最初会在代码语法上遇到困难,但随着整个学期引入更高级的主题,学习编程的难点会转向学习计算思维(例如调试策略)。本研究考察了学生的编程错误率与其在两次考试中的成绩之间的关系。研究使用在线集成开发环境,从一门 Java 编程课程中的 280 名学生处收集数据。该课程分为两个部分。第一部分侧重入门级过程式编程,并以考试 1 结束;第二部分涵盖更复杂的主题和面向对象编程,并以考试 2 结束。为衡量学生的编程能力,在学生完成基于单元测试自动评分的作业期间,共收集了 51095 个代码快照。研究从这些快照中提取编译错误和运行时错误,并考察了三种度量——Error Count(错误数量)、Error Quotient(错误商数)和 Repeated Error Density(重复错误密度)——以识别能够最好解释考试成绩变异性的度量。在成绩解释变异性和贝叶斯信息准则方面,使用 Error Quotient 的模型优于使用另外两种度量的模型。编译错误是考试 1 成绩的显著预测因素,但不是考试 2 成绩的显著预测因素;只有运行时错误能够显著预测考试 2 成绩。研究结果表明,将 Error Quotient 与多种错误类型(编译错误和运行时错误)结合使用,可能是衡量学生入门编程能力的更好指标,尽管它仍不能解释所观察到的大部分变异性。
英文摘要:
Programming courses can be challenging for first year university students, especially for those without prior coding experience. Students initially struggle with code syntax, but as more advanced topics are introduced across a semester, the difficulty in learning to program shifts to learning computational thinking (e.g., debugging strategies). This study examined the relationships between students' rate of programming errors and their grades on two exams. Using an online integrated development environment, data were collected from 280 students in a Java programming course. The course had two parts. The first focused on introductory procedural programming and culminated with exam 1, while the second part covered more complex topics and object-oriented programming and ended with exam 2. To measure students' programming abilities, 51095 code snapshots were collected from students while they completed assignments that were autograded based on unit tests. Compiler and runtime errors were extracted from the snapshots, and three measures -- Error Count, Error Quotient and Repeated Error Density -- were explored to identify the best measure explaining variability in exam grades. Models utilizing Error Quotient outperformed the models using the other two measures, in terms of the explained variability in grades and Bayesian Information Criterion. Compiler errors were significant predictors of exam 1 grades but not exam 2 grades; only runtime errors significantly predicted exam 2 grades. The findings indicate that leveraging Error Quotient with multiple error types (compiler and runtime) may be a better measure of students' introductory programming abilities, though still not explaining most of the observed variability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。