Finite Automata




CS154

Chris Pollett

Feb. 7, 2011

Outline

More String Terms

Example Languages

Quiz

Which of the following is true?

  1. Fix some alphabet `Gamma`. Let `x, y` be two strings over `Gamma` and say `x ~ y` if both `x` and `y` begin with the same symbol. Then `~` is an equivalence relation and its equivalence classes partitions the set of strings over `Gamma`.
  2. The function `f:NN rightarrow NN` given by `f(x) = |~log_2(x + 1)~|` is an injection.
  3. The cardinality `X times X` is usually greater than the cardinality of `P(X)`.

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