arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.4878cs.FLcs.CY
收藏

功能自动机-计算机科学学生的形式语言

Functional Automata - Formal Languages for Computer Science Students

Marco T. Morazán, Rosario Antunez

摘要:

介绍性形式语言课程暴露了先进的本科生和早期研究生的自动机理论,语法,建设性的证明,可计算性和可判定性。编程专业的学生发现这些主题很有挑战性,或者在许多情况下,是压倒性的,并且处于计算机科学的边缘。这种看法的存在并不完全荒谬,因为学生被要求设计和证明正确的机器和语法,而不能进行实验,也不能得到即时反馈,这在学习环境中是必不可少的。这篇文章提出了计算理论应该使用实际构建计算的工具来教授的论点。它描述了一个库,FSM,旨在为学生提供实验和测试他们的设计使用状态机,语法和正则表达式的机会,实现和课堂使用。学生能够在进行正式的正确性证明之前进行随机测试。也就是说,学生可以像在编程课程中一样测试他们的设计。此外,图书馆很容易让学生实现他们开发的算法,作为他们编写的建设性证明的一部分。为学生提供这种能力应该是形式语言课堂的新趋势。

英文摘要:

An introductory formal languages course exposes advanced undergraduate and early graduate students to automata theory, grammars, constructive proofs, computability, and decidability. Programming students find these topics to be challenging or, in many cases, overwhelming and on the fringe of Computer Science. The existence of this perception is not completely absurd since students are asked to design and prove correct machines and grammars without being able to experiment nor get immediate feedback, which is essential in a learning context. This article puts forth the thesis that the theory of computation ought to be taught using tools for actually building computations. It describes the implementation and the classroom use of a library, FSM, designed to provide students with the opportunity to experiment and test their designs using state machines, grammars, and regular expressions. Students are able to perform random testing before proceeding with a formal proof of correctness. That is, students can test their designs much like they do in a programming course. In addition, the library easily allows students to implement the algorithms they develop as part of the constructive proofs they write. Providing students with this ability ought to be a new trend in the formal languages classroom.

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

↑