论文标题
新手SPARC程序员遇到的常见错误的初步数据驱动分析
A Preliminary Data-driven Analysis of Common Errors Encountered by Novice SPARC Programmers
论文作者
论文摘要
答案集编程(ASP)是逻辑编程的现代发展,可以使计算与STEM受试者的自然整合。这种整合解决了在K-12教育中广泛公认的挑战,基于ASP的整合的早期经验结果是有希望的。尽管与命令性编程语言相比,ASP被认为是一种简单的语言,但编程错误仍然可能是学生的重要障碍。对于ASP的新手使用者的K-12学生尤其如此。对错误进行分类并衡量其难度已产生对Java等命令性语言的见解。但是,对于使用ASP的K-12学生遇到的错误类型和困难知之甚少。为了解决这个问题,我们收集了在4节研讨会上提交的高中学生课程,教授ASP语言(称为SPARC)。从该数据集中的错误消息中,我们确定了错误类的集合,并测量每个类的发生频率以及解决的难度。
Answer Set Programming (ASP), a modern development of Logic Programming, enables a natural integration of Computing with STEM subjects. This integration addresses a widely acknowledged challenge in K-12 education, and early empirical results on ASP-based integration are promising. Although ASP is considered a simple language when compared with imperative programming languages, programming errors can still be a significant barrier for students. This is particularly true for K-12 students who are novice users of ASP. Categorizing errors and measuring their difficulty has yielded insights into imperative languages like Java. However, little is known about the types and difficulty of errors encountered by K-12 students using ASP. To address this, we collected high school student programs submitted during a 4-session seminar teaching an ASP language known as SPARC. From error messages in this dataset, we identify a collection of error classes, and measure how frequently each class occurs and how difficult it is to resolve.