{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

problem set 1

problem set 1 - CSE 105 Automata and Computability Theory...

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

View Full Document Right Arrow Icon
CSE 105: Automata and Computability Theory Winter 2012 Problem Set #1 Due: Monday, January 30th, 2012 Problem 1 Let M = ( Q, Σ , δ, q 0 , F ) be a DFA. Let w = w 1 w 2 · · · w n be a string accepted by M , for which let r 0 , r 1 , . . . , r n be the corresponding accepting path. (See the section titled “Formal Definition of Computation,” page 40, in Sipser.) Suppose that r i = r j for some i and j such that i < j . Prove that, in addition to accepting w , M also accepts some string w 0 that is shorter than w , i.e., such that | w 0 | < | w | . Problem 2 In class, we showed that swapping the accepting and nonaccepting states of a DFA whose language is L gives a DFA whose language is ¯ L = Σ * \ L . a. Show (by construction) that swapping the accepting and nonaccepting states of an NFA whose language is L does not necessarily give an NFA whose language is ¯ L . Hint: There are examples with a very small number of states. b. Explain, given an NFA whose language is L , how to construct another NFA whose language is ¯ L . Problem 3 In this problem, we consider a generalization of DFAs called second-order deter- ministic finite automata, or DFA
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