Chapter 11: Problem 33
Develop a grammar that generates each language over {0,1}. The set of words with prefix 00.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
/*! 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 11: Problem 33
Develop a grammar that generates each language over {0,1}. The set of words with prefix 00.
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for free
For Exercises \(68-73,\) use the following definition of a simple algebraic expression: $$\langle\text {expression}\rangle : :=\langle\text { term }\rangle |\langle\text { sign }\rangle\langle\text { term }\rangle |$$ $$\langle\text { expression }\rangle\langle\text { adding operator }\rangle\langle\text { term }\rangle$$ $$\langle\operatorname{sign}\rangle \therefore=+ 1-$$ $$\langle\text { adding operator}\rangle: :=+1-$$ $$\langle\text { term }\rangle : :=\langle\text { factor }\rangle |$$ $$\langle\text { term }\rangle\langle\text { multiplying operator }\rangle\langle\text { factor }\rangle$$ $$\langle\text { multiplying operator }\rangle := *| /$$ $$\langle\text { factor }\rangle : :=\langle\text { letter }|\rangle (\langle\text { expression }\rangle |\langle\text { expression }\rangle$$ $$\langle\text { letter }\rangle : := a|b| c | \ldots : z$$ Determine if each is a legal expression. $$a+b *(c / d)$$
Mark each as true or false, where \(A\) and \(B\) are arbitrary finite languages. \(|A B|=|B A|\)
Let \(m\) denote the number of \(a^{\prime} s\) in a string. Design an FSA that accepts strings over \(\\{a, b\\}\) which: Contain aaa as a substring.
Construct a NDFSA that accepts the language generated by the regular grammar \(G=(N, T, P, \sigma),\) where: $$\begin{aligned}&N=| \sigma, \mathbf{A}, \mathbf{B}\\}, T=\\{\mathbf{a}, \mathbf{b}\\}, \text { and } P=\\{\sigma \rightarrow \mathbf{a} \mathbf{A}, \mathbf{A} \rightarrow \mathbf{a} \mathbf{A}, \mathbf{A} \rightarrow \mathbf{b B}, \mathbf{B} \rightarrow\\\ &\mathrm{bB}, \mathrm{A} \rightarrow \mathrm{a}\\} \end{aligned}$$
Prove each, where \(A, B,\) and \(C\) are arbitrary languages over \(\Sigma\) and \(x \in \Sigma\) . $$A(B \cap C) \subseteq A B \cap A C$$
What do you think about this solution?
We value your feedback to improve our textbook solutions.