Papers
Topics
Authors
Recent
Search
2000 character limit reached

FSM Builder: A Tool for Writing Autograded Finite Automata Questions

Published 2 May 2024 in cs.CY and cs.FL | (2405.01717v1)

Abstract: 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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (20)
  1. Testing the Equivalence of Regular Languages. J. Autom. Lang. Comb. 15 (2009), 7–25. https://api.semanticscholar.org/CorpusID:9014414
  2. Automated Grading of DFA Constructions. In IJCAI 2013, Proceedings of the 23rd International Joint Conference on Artificial Intelligence, Beijing, China, August 3-9, 2013, Francesca Rossi (Ed.). IJCAI/AAAI, 1976–1982. http://www.aaai.org/ocs/index.php/IJCAI/IJCAI13/paper/view/6759
  3. Effective Succinct Feedback for Intro CS Theory: A JFLAP Extension. In Proceedings of the 53rd ACM Technical Symposium on Computer Science Education - Volume 1 (Providence, RI, USA) (SIGCSE 2022). Association for Computing Machinery, New York, NY, USA, 976–982. https://doi.org/10.1145/3478431.3499416
  4. A visual and interactive automata theory course with JFLAP 4.0. In Proceedings of the 35th SIGCSE Technical Symposium on Computer Science Education, SIGCSE 2004, Norfolk, Virginia, USA, March 3-7, 2004, Daniel T. Joyce, Deborah Knox, Wanda P. Dann, and Thomas L. Naps (Eds.). ACM, 140–144. https://doi.org/10.1145/971300.971349
  5. Fifty Years of Automata Simulation: A Review. ACM Inroads 2, 4 (dec 2011), 59–70. https://doi.org/10.1145/2038876.2038893
  6. Automata Tutor v3. In Computer Aided Verification - 32nd International Conference, CAV 2020, Los Angeles, CA, USA, July 21-24, 2020, Proceedings, Part II (Lecture Notes in Computer Science, Vol. 12225), Shuvendu K. Lahiri and Chao Wang (Eds.). Springer, 3–14. https://doi.org/10.1007/978-3-030-53291-8_1
  7. Automata Tutor and what we learned from building an online teaching tool. Bull. EATCS 117 (2015). http://eatcs.org/beatcs/index.php/beatcs/article/view/365
  8. Auto-graded Scaffolding Exercises For Theoretical Computer Science. In Proc. 2023 ASEE Annual Conference & Exposition. https://doi.org/10.18260/1-2--42347
  9. Caleb Evans and Eliot W. Robson. 2023. automata: A Python package for simulating and manipulating automata. Journal of Open Source Software 8, 90 (Oct. 2023), 5759. https://doi.org/10.21105/joss.05759
  10. Association for Computing Machinery (ACM) Joint Task Force on Computing Curricula and IEEE Computer Society. 2013. Computer Science Curricula 2013: Curriculum Guidelines for Undergraduate Degree Programs in Computer Science. Association for Computing Machinery, New York, NY, USA.
  11. Teaching Formal Languages with Visualizations and Auto-Graded Exercises. In Proceedings of the 52nd ACM Technical Symposium on Computer Science Education (Virtual Event, USA) (SIGCSE ’21). Association for Computing Machinery, New York, NY, USA, 569–575. https://doi.org/10.1145/3408877.3432398
  12. Daphne Norton. 2009. Algorithms for testing equivalence of finite automata, with a grading tool for JFLAP. (04 2009).
  13. Susan H. Rodger. 2006. JFLAP: An Interactive Formal Languages and Automata Package. Jones and Bartlett Publishers, Inc., USA.
  14. Increasing Engagement in Automata Theory with JFLAP. In Proceedings of the 40th ACM Technical Symposium on Computer Science Education (Chattanooga, TN, USA) (SIGCSE ’09). Association for Computing Machinery, New York, NY, USA, 403–407. https://doi.org/10.1145/1508865.1509011
  15. M. Sipser. 2012. Introduction to the Theory of Computation. Cengage Learning. 45–47 pages.
  16. PrairieLearn Team. 2021a. PrairieLearn Documentation. https://prairielearn.readthedocs.io/en/latest/ Accessed: April 2024.
  17. PrairieLearn Team. 2021b. PrairieLearn Question Element Documentation. https://prairielearn.readthedocs.io/en/latest/devElements/ Accessed: April 2024.
  18. Evan Wallace. 2015. Finite State Machine Designer. Github repository. https://github.com/evanw/fsm
  19. PrairieLearn: Mastery-based online problem solving with adaptive scoring and recommendations driven by machine learning. ASEE Annual Conference and Exposition, Conference Proceedings 122nd ASEE Annual Conference and Exposition: Making Value for Society, 122nd ASEE Annual Conference and Exposition: Making Value for… (2015). https://doi.org/10.18260/p.24575 2015 122nd ASEE Annual Conference and Exposition ; Conference date: 14-06-2015 Through 17-06-2015.
  20. PrairieLearn: Mastery-based Online Problem Solving with Adaptive Scoring and Recommendations Driven by Machine Learning. In 2015 ASEE Annual Conference & Exposition. ASEE Conferences, Seattle, Washington, 26.1238.1–26.1238.14. https://peer.asee.org/24575.
Citations (3)

Summary

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.