Skip to main content

CS202: Discrete Structures

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS202: Discrete Structures /
  • Unit 9: Regular Expressions and Finite-State Automata /
  • 9.2: Finite State Automata
Back to 'Unit 9: Regular Expressions and Finite-State Automata'
  • 9.2: Finite State Automata

    •  Finite State Automata URL

      Read this discussion on finite state automata.

    • 9.2.1: Automaton and Accepted Language

      •  Automaton and Accepted Language URL

        Read this discussion of regular sets and their acceptance by finite state automata.

    • 9.2.2: Designing a Finite State Automaton

      •  Designing a Finite State Automaton URL

        Read this discussion of hints on designing a finite state automaton to recognize a given regular set.

        Not all languages are regular. Because a finite state machine has a finite number of states, it can only remember a finite number of inputs. Consider the set {on 1n for all n >= 0}. Because this set requires a recognizing machine to remember n 0's for any n (so that it can then look for n 1's), the number of states is infinite, i.e. not a finite state machine. Thus, the language is not regular. Hence, one way to show that a language is not regular is to show that the automaton that recognizes it has an infinite number of states. 

    • 9.2.3: Simplifying Finite State Automata

      •  Simplifying Finite State Automata URL

        Read this discussion of ways to simplify finite state automata.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy