{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# hw4 - answer the following • Can the language be proven...

This preview shows page 1. Sign up to view the full content.

University of Central Florida School of Computer Science COT 4210 Spring 2004 Prof. Rene Peralta Homework 4 Due date: March 3 1. Construct a PDA that accepts the set of palindromes over Σ = { a, b } . Use the notation of section 8.1 of the text. 2. The Pumping Lemma for Regular Languages, as stated in Theorem 7.6.3 of the text (Theorem 9 in Prof. Workman’s notes), says that a long-enough word z in a regular language can be “pumped” somewhere inside a prefix of z . I have argued in class that restricting the lemma to a prefix is unnecessary. State the more general pumping lemma. (You do not need to prove it, but you must state it precisely). 3. For each language in exercise 12, section E, of Prof. Workman’s notes
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: answer the following. • Can the language be proven non-regular by a direct application of the “pump at preﬁx-only” version of the Pumping Lemma? • Can the language be proven non-regular by a direct application of the more general version of the Pumping Lemma? 4. Consider the languages e through k of the previous question. For each, either construct a PDA or prove that the language is not a CFL. Use the notation of section 8.1 of the text. 5. Consider the language L over Σ = { a, b, c } consisting of words with more a ’s than b ’s and more b ’s than c ’s. Prove or disprove L is a CFL. 1...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern