Finite Automata




CS154

Chris Pollett

Feb. 3, 2014

Outline

More String Terms

Example Languages

Quiz (Sec 1)

Which of the following is true?

  1. A symmetric relation is always reflexive.
  2. A surjective function can map to some element in its range more than once.
  3. The algorithm to find simple paths from last day is `Omega(n^4)`.

Quiz (Sec 3)

Which of the following is true?

  1. A function cannot be both one-to-one and onto.
  2. `sum_(i=1)^n i^2 = Omega(n^4)`.
  3. Less than on the natural numbers is a transitive relation.

Machines

Running JFLAP

Introductory Examples

More on Door Example

Running an Automaton in JFLAP on Different Inputs

The automatic door example implemented in JFLAP

Names for things

Formal Definition