This preview shows page 1. Sign up to view the full content.
Unformatted text preview: # ”; strings with more than one “ # ” are don’tcare inputs that can be ignored to simplify the design of your PDA. Exercise 3. Show the intersection of a contextfree language C with a regular language R is always contextfree. Exercise 4. Show that the language { n 1 m n 1 m  n ≥ } is not contextfree. Exercise 5. Show that the language { ww  w ∈ ( + 1 ) * } is not contextfree. Hint: Intersect with * 1 * * 1 * and use the results from Exercises 3 and 4. Exercise 6 (bonus). Is the following language contextfree? Prove your answer. { ww  w ∈ ( a + b ) * , w ∈ ( a + b ) * , w 6 = w , and  w  =  w } Page 1...
View
Full
Document
This note was uploaded on 02/29/2012 for the course CS 15453 taught by Professor Edmundm.clarke during the Spring '09 term at Carnegie Mellon.
 Spring '09
 EdmundM.Clarke

Click to edit the document details