12.07.2015 Views

Context-Free Grammars - Chomsky Normal Form - Hampden ...

Context-Free Grammars - Chomsky Normal Form - Hampden ...

Context-Free Grammars - Chomsky Normal Form - Hampden ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Homework Review<strong>Context</strong>-<strong>Free</strong><strong>Grammars</strong> -<strong>Chomsky</strong><strong>Normal</strong> <strong>Form</strong>Robb T.KoetherHomeworkReview<strong>Chomsky</strong><strong>Normal</strong> <strong>Form</strong>New start symbolEliminate all ε-rulesEliminate all unitrulesEliminate all mixedrulesEliminate all longrulesDerivations inCNFSolution(d) ab, ba, aab ∈ L(G).(e) a, b, ε /∈ L(G).(f) False, T aba.(g) True, T =⇒ ∗ aba.(h) False, T T.(i) True, T =⇒ ∗ T.TheMembershipProblem forCFGsAssignment

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!