Chapter 13: Q47E (page 877)
In Exercises 43–49 find the language recognized by the given nondeterministic finite-state automaton.
Short Answer
The result is\({\bf{L(M) = \{ 1\} \{ 0\} *}} \cup {\bf{\{ 1\} \{ 0\} *\{ 1\} \{ 0\} *}}\).
Chapter 13: Q47E (page 877)
In Exercises 43–49 find the language recognized by the given nondeterministic finite-state automaton.
The result is\({\bf{L(M) = \{ 1\} \{ 0\} *}} \cup {\bf{\{ 1\} \{ 0\} *\{ 1\} \{ 0\} *}}\).
All the tools & learning materials you need for study success - in one app.
Get started for freeA context-free grammar is ambiguous if there is a word in \({\bf{L(G)}}\) with two derivations that produce different derivation trees, considered as ordered, rooted trees.
Show that the grammar \({\bf{G = }}\left( {{\bf{V, T, S, P}}} \right)\) with \({\bf{V = }}\left\{ {{\bf{0, S}}} \right\}{\bf{,T = }}\left\{ {\bf{0}} \right\}\), starting state \({\bf{S}}\), and productions \({\bf{S}} \to {\bf{0S,S}} \to {\bf{S0}}\), and \({\bf{S}} \to 0\) is ambiguous by constructing two different derivation trees for \({{\bf{0}}^{\bf{3}}}\).
In Exercises 16–22 find the language recognized by the given deterministic finite-state automaton
Construct phrase-structure grammars to generate each of these sets.
a) \(\left\{ {\left. {{{\bf{0}}^{\bf{n}}}} \right|{\bf{n}} \ge {\bf{0}}} \right\}\)
b) \(\left\{ {\left. {{{\bf{1}}^{\bf{n}}}{\bf{0}}} \right|{\bf{n}} \ge {\bf{0}}} \right\}\)
c) \(\left\{ {\left. {{{\left( {{\bf{000}}} \right)}^{\bf{n}}}} \right|{\bf{n}} \ge {\bf{0}}} \right\}\)
Find all pairs of sets of strings A and B for which AB= {10, 111, 1010, 1000, 10111, 101000}.
Construct a Turing machine that recognizes the set of all bit strings that contain an even number of \({\bf{1's}}\).
What do you think about this solution?
We value your feedback to improve our textbook solutions.