CS381-2006fa-prelim1

# CS381-2006fa-prelim1 - CS 381 Fall 2006 First Mid Term...

• Homework Help
• davidvictor
• 1

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

CS 381 First Mid Term Friday, Oct. 27, 2006 Fall 2006 Upson B17 This is a 50-minute in class closed book exam. All questions are straightforward and you should have no trouble doing them. Please show all work and write legibly. Grading will take into account the clarity of your answer. 1. Write a regular expression denoting all strings of 0’s and 1’s in which if there are two adjacent 0’s in the string, then there will also be two adjacent 1’s somewhere in the string. Give a brief English explanation as to how your regular expression works. 2. State the pumping lemma for regular sets. Prove that the set { } | 0 i j a b i j > > is not regular using the pumping lemma for regular sets. 3. Let ( ) 0 , , , , M Q q F δ = Σ be a finite automaton and let ( ) 0 0 , , , , , , P Q q Z F δ = Σ Γ be a pushdown automaton that accepts by final state.
This is the end of the preview. Sign up to access the rest of the document.
• Summer '07
• HOPCROFT
• Formal language, Formal languages, δ, Pushdown automaton, 50-minute, new pushdown automaton

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