q7-rev.pdf - Questions 1 Question 9.11(Solution p 3...

This preview shows page 1 - 3 out of 3 pages.

Questions 1 Question 9.1–1: (Solution, p 3) Consider the following finite automaton. b b a a a. Check the strings that the automaton will accept. b bab a bbbb aba baba b. Give an English description of the set of strings accepted by this automaton. Question 9.1–2: (Solution, p 3) Draw a finite automaton that accepts all strings containing only a ’s and b ’s that begin in a . Question 9.1–3: (Solution, p 3) Consider the following finite automaton. a a a a b b b b Check the strings that are within the language accepted by this finite automaton. ab aabbb bbb bbbabb baaa aabaabaa abba Question 9.1–4: (Solution, p 3) Design a finite state automaton that will recognize the language of all strings containing only a ’s and b ’s where there are at least 3 b ’s.
Image of page 1

Subscribe to view the full document.

Questions 2 Question 9.2–1: (Solution, p 3) Consider the following Turing machine. (Note that the underscore represents a blank on the tape.) 0 2 3 1 4 a,b,_ a,b,_ a,b < _ < a > < b a,> b,> At right, diagram this Turing machine’s computation as it goes through the string ab . If you run out of blanks in the table, stop.
Image of page 2
Image of page 3
  • Fall '15
  • Narendragoel
  • Alan Turing

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