CS381-2002fa-final

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

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

View Full Document Right Arrow Icon
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.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern