day43 - Sample Question#7 7. Present a Context-Free...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 11 Sample Question#7 7. Present a Context-Free Grammar, G, such that L(G) = { aibjck | i<k or j<k }. What is max(L(G))? What is min(L(G))?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 22 Sample Question#8 8. Assuming the undecidability of PCP, show that the ambiguity problem for Context-Free Grammars is undecidable.
Background image of page 2
10/4/11 Dec 2, © UCF (Charles E. 33 Sample Question#9 9. Prove that if L is a Context-Free Language then so is Mid(L) = { y | ’ x,z [ xyz & L ] }. You may assume that CFLs are closed under substitution, homomorphism, concatenation, and intersection with regular languages.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 44 Sample Question #10 10. Let R be regular and L1,L2 be context free. What can you say about the complexity of the languages S? a) S = L1/R b) S = L1/L2 c) d) S = L1& L2
Background image of page 4
10/4/11 Dec 2, © UCF (Charles E. 55 Sample Question#11 11. Present an outline of the proof that the CSL’s are not closed under homomorphism. You may assume that the phrase structured grammars can produce non-CSL languages.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2011 for the course COT 5310 taught by Professor Staff during the Spring '08 term at University of Central Florida.

Page1 / 13

day43 - Sample Question#7 7. Present a Context-Free...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online