Lecture 17
Learning objectives
After this class, you should be able to:
- Given a context free grammar, convert it to Chomsky and Greibach Normal Forms.
- Prove the correctness of the algorithm for conversion to Chomsky Normal Form.
- Given a context free grammar and a string, use the CYK algorithm to determine whether the string is in the language accepted by the algorithm and show the string's derivation from the grammar.
Reading assignment
- Sections 6.2, 6.3.
- Lecture 16-17 slides on Blackboard.
Exercises and review questions
- Exercises and review questions on current lecture's material
- Section 6.2, exercise #2.
- Section 6.2, exercise #3.
- Section 6.2, exercise #10.
- Section 6.3, exercise #1 (only the string
aabb
).- Section 6.3, exercise #2.
- Questions on next lecture's material
- None.
Last modified: 18 Jan 2014