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

FSM Builder:一个用于编写自动评分有限自动机题目的工具

FSM Builder: A Tool for Writing Autograded Finite Automata Questions

Eliot Wong Robson, Sam Ruggerio, Jeff Erickson

AI总结:

本文提出教学工具 FSM Builder,通过图形编辑器和自动反馈帮助学生练习构造 DFA 与 NFA,并以高效开源算法实现灵活可扩展的自动评分题目。

摘要:

确定性和非确定性有限自动机(DFA 和 NFA)是抽象的计算模型,通常在计算理论的入门课程中讲授。这些模型具有重要的应用(例如快速正则表达式匹配),并被用于引入形式语言理论。由于抽象程度较高,本科生在初次理解这些模型时常常遇到困难。因此,人们开发了各种教学工具,让学生能够练习这些模型。我们介绍 FSM Builder,这是一种新的教学工具,使学生能够通过图形编辑器练习构造 DFA 和 NFA,并提供个性化反馈和部分得分。用于生成这些反馈的算法深受先前工作的启发。与同类工具相比,其关键优势在于更高的灵活性和可扩展性。这是因为 FSM Builder 使用来自一个开源软件包的高效算法实现,便于扩展和题目创建。我们讨论了该工具的实现方式、它与以往工具的不同之处,以及在多个大型课程中使用该工具的经验总结。调查结果表明,该工具提供的界面和反馈对学生很有帮助。

英文摘要:

Deterministic and nondeterministic finite automata (DFAs and NFAs) are abstract models of computation commonly taught in introductory computing theory courses. These models have important applications (such as fast regular expression matching), and are used to introduce formal language theory. Undergraduate students often struggle with understanding these models at first, due to the level of abstraction. As a result, various pedagogical tools have been developed to allow students to practice with these models. We introduce the FSM Builder, a new pedagogical tool enabling students to practice constructing DFAs and NFAs with a graphical editor, giving personalized feedback and partial credit. The algorithms used for generating these are heavily inspired by previous works. The key advantages to its competitors are greater flexibility and scalability. This is because the FSM Builder is implemented using efficient algorithms from an open source package, allowing for easy extension and question creation. We discuss the implementation of the tool, how it stands out from previous tools, and takeaways from experiences of using the tool in multiple large courses. Survey results indicate the interface and feedback provided by the tool were useful to students.

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

↑