# ch1_2 - Sep 1 2010(Wednesday Chapter 1 Regular Languages 4...

This preview shows pages 1–2. Sign up to view the full content.

Sep. 1, 2010 (Wednesday) Chapter 1: Regular Languages 4 Design of Finite Automata Three steps to design a finite automaton M to recognize a language L . step 1: determine the information to remember about the part of an input string which M has already read. step 2: represent that information as a set of states. The start state is the state corresponding to the empty string. A final state is a state corresponding to strings in L . step 3: assign a transition for each input symbol from each state. Remark 1: If the information remembered in step 1 is insuﬃcient, step 3 will have problems. Remark 2: The information needed to remember in step 1 may not be unique. Example 1 Design a finite automaton M 1 which recognizes the following language L 1 = { x over { 0,1 } | x does not end with 01 } SOLUTION 1 for Example 1: step 1: When M 1 is reading an input string, it should remember what are the last two input symbols that we just read?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the 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