Lecture 14

Learning objectives

After this class, you should be able to:

  1. Define the following: context free grammar, leftmost derivation, rightmost derivation, derivation or parse tree, partial deriation tree, yield of a tree,
  2. Explain the relation between sentential forms and derivation trees.
  3. Given a context free language, give a grammar for it.
  4. Given a context free grammar and a string, give a derivation tree for it.
  5. Prove the relationship mentioned in theorem 5.1 between sentential forms and derivation trees for context free grammars.

Reading assignment

  1. Section 5.1.
  2. Lecture 14-15 slides on Blackboard.
  3. Page 140.

Exercises and review questions


Last modified: 15 Jan 2014