Chapter 13: Q44E (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) = \{ \lambda }},0,1{\bf{\} }} \cup {\bf{\{ 1\} \{ 1\} *\{ 0\} }}\).
Chapter 13: Q44E (page 877)
The result is\({\bf{L(M) = \{ \lambda }},0,1{\bf{\} }} \cup {\bf{\{ 1\} \{ 1\} *\{ 0\} }}\).
All the tools & learning materials you need for study success - in one app.
Get started for freeExpress each of these sets using a regular expression.
Let V be an alphabet, and let A and B be subsets of \({\bf{V*}}\) Show that \({\bf{|AB}}\left| {{\rm{ }} \le {\rm{ }}} \right|{\bf{A||B|}}\).
show that the grammar given in Example 5 generates the set \({\bf{\{ }}{{\bf{0}}^{\bf{n}}}{{\bf{1}}^{\bf{n}}}{\bf{|}}\,{\bf{n = 0,}}\,{\bf{1,}}\,{\bf{2,}}\,...{\bf{\} }}\).
Express each of these sets using a regular expression.
Construct a Moore machine that determines whether an input string contains an even or odd number of 1s. The machine should give 1 as output if an even number of 1s are in the string and 0 as output if an odd number of 1s are in the string.
What do you think about this solution?
We value your feedback to improve our textbook solutions.