CS381-2002fa-final

# CS381-2002fa-final - CS381 Fall 2002 Final Exam Thursday...

• Homework Help
• davidvictor
• 1

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

CS381 Final Exam Thursday Dec 19, 2002 Fall 2002 Location Olin 155 12:00-2:30pm This is a 2 and ½ hour in class closed book exam. All questions are straightforward and you should have no trouble doing them. Please show all work and write legibly. Thank you. 1. Let * ) ( b a R + be a regular set. Consider the set consisting of all strings that can be obtained from strings in R by deleting two b’s. Is this set regular? Give rigorous proof of your answer. 2. Let * ) ( c b a R + + be a regular set. Rearrange the symbols in each string of R so that all a ’s appear first, then the b ’s and then the c ’s. a) Is the resulting set regular? b) Is it context free? 3. Prove or disprove that { } l j or k i either d c b a l k j i = = | is a context-free language. 4. Prove or disprove each of the following: a) The class of context-free languages is closed under intersection.
This is the end of the preview. Sign up to access the rest of the document.
• Summer '07
• HOPCROFT
• Formal language, Halting problem, Turing Machines, context-free languages, Olin

{[ 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