282 views

Please log in or register to answer this question.

Related questions

272
views
0 answers
0 votes
admin asked Apr 6, 2019
272 views
Let $T=\{0,1(,),+,*,\phi,e\}.$ We may think of $T$ as the set of symbols used by regular expressions over alphabet $\{0,1\};$ the only ... with set of terminals $T$ that generates exactly the regular expressions with alphabet $\{0,1\}.$
243
views
0 answers
0 votes
admin asked Apr 6, 2019
243 views
We defined the relation $\overset{*}\Rightarrow$ with a basis $"\alpha\Rightarrow \alpha $ and an induction that says $\alpha\overset{*}\Rightarrow\beta$ and ... on the number of steps in the derivation $\beta\overset{*}\Rightarrow\gamma.$
384
views
0 answers
0 votes
admin asked Apr 6, 2019
384 views
A CFG is said to be right-linear if each production body has at most one variable and that variable is at the right end. That is all productions of a right ... . Hint$:$Start with a DFA and let the variables of the grammar represent states.
333
views
0 answers
0 votes
admin asked Apr 6, 2019
333 views
Design context-free grammars for the following languages$:$The set $\{0^{n}1^{n}|n\geq 1,\}$that is the set of all strings of one or more $0's$ followed by ... any string repeated.The set of all strings with twice as many $0's$ as $1's.$