Chapter 1: Q73P (page 93)
Let . Let . Show that is a CFL.
Short Answer
is a CFL.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 1: Q73P (page 93)
Let . Let . Show that is a CFL.
is a CFL.
All the tools & learning materials you need for study success - in one app.
Get started for free
Let be the same as in Problem 1.33. Consider each row to be a binary number and let the top row of w is a larger number than is the bottom row}. For example, , but . How that D is regular.
Let Show that for each, the language Bis regular.
Let N be an NFA with states that recognizes some language .
a. Show that if is nonempty, contains some string of length at most k.
b. Show, by giving an example, that part (a) is not necessarily true if you replace both ’s by .
c. Show that If is nonempty, contains some string of length at most .
d. Show that the bound given in part (c) is nearly tight; that is, for each , demonstrate an NFA recognizing a languagerole="math" localid="1660752484682" where role="math" localid="1660752479553" is nonempty and where ’s shortest member strings are of length exponential in . Come as close to the bound in (c) as you can.
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 ?
Recall that string x is a prefix of string y if a string z exists where , and that x is a proper prefix of y if in addition . In each of the following parts, we define an operation on a language A. Show that the class of regular languages is closed under that operation.
What do you think about this solution?
We value your feedback to improve our textbook solutions.