COMS W3261
Computer Science Theory
Lecture 13: October 21, 2009
PDA's and CFG's

1. Outline

2. Review

3. Deterministic Pushdown Automata

4. Constructing a PDA from a CFG

5. Constructing a CFG from a PDA

6. Practice Problems

  1. Construct a PDA P such that N(P) = L(G) where G is S → (S)S | ε.
  2. Construct a DPDA P such that N(P) = L(G) for the grammar above.
  3. Construct a PDA P such that N(P) = L(G) where G is S → aSb | bSb | ε.
  4. Construct a DPDA P such that N(P) = L(G) where G is S → aSb | bSb | c.
  5. HMU, Ex. 6.3.3.

7. Reading Assignment



aho@cs.columbia.edu