arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.03090cs.CYcs.PL
收藏

SPARC编程新手常见错误的初步数据驱动分析

A Preliminary Data-driven Analysis of Common Errors Encountered by Novice SPARC Programmers

Zach Hansen, Hanxiang Du, Wanli Xing, Rory Eckel, Justin Lugo, Yuanlin Zhang

摘要:

答案集编程(ASP),逻辑编程的现代发展,使计算与STEM学科的自然整合。这种整合解决了K-12教育中广泛承认的挑战,基于ASP的整合的早期经验结果是有希望的。虽然与命令式程序设计语言相比,ASP被认为是一种简单的语言,但编程错误仍然是学生的一个重大障碍。这对于K-12学生来说尤其如此,他们是ASP的新手用户。对错误进行分类并测量其难度已经使人们对Java等命令式语言有了深入的了解。然而,很少有人知道的类型和困难的K-12学生使用ASP遇到的错误。为了解决这个问题,我们收集了高中学生在一个4节课的ASP语言教学研讨会上提交的程序。从这个数据集中的错误消息中,我们确定了一个错误类的集合,并测量每个类出现的频率以及解决的难度。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑