Chapter 1: Q29E (page 88)
Use the pumping lemma to show that the following languages arenot regular
Short Answer
- is not a regular language.
- is not a regular language.
- is not a regular language.
Chapter 1: Q29E (page 88)
Use the pumping lemma to show that the following languages arenot regular
All the tools & learning materials you need for study success - in one app.
Get started for freeWe define the avoids operation for languages A and B to be
Prove that the class of regular languages is closed under the avoids operation.
Let be the same as in Problem 1.33. Consider the top and bottom rows to be strings of 0s and 1s, and let the bottom row of w is the reverse of the top row of w}. Show that is E not regular.
Question: Let and let
Thus because 101 contains a single 01 and a single 10, but because 1010 contains two 10 s and one .01 Show that D is a regular language.
Question: The following are the state diagrams of two DFAs , M1 and M2 . Answer the following questions about each of these machines.
a. What is the start state ?
b. What is the set of accept states ?
c. What sequence of states does the machine go through on input aabb ?
d. Does the machine accept the string aabb ?
e. Does the machine accept the string ?
Let For each , let role="math" localid="1660750960062" be the language consisting of all strings that have at least one a among the last k symbols. Thus Describe a DFA with at most states that recognizes in terms of both a state diagram and a formal description.
What do you think about this solution?
We value your feedback to improve our textbook solutions.