Recent questions tagged grammar

2 votes
1 answer
331
0 votes
1 answer
332
Match the following $:$$\begin{array}{clcl} & \textbf{List – I} & & \textbf{List – II} \\ \text{a.} & \text{Chomsky Normal form} & \text{i.} & S \rightarrow b S S...
2 votes
1 answer
335
1 votes
1 answer
336
Please solve this question with proper explanation:$L=\{ w : \: n_a(w) = 2n_b(w) \}$
3 votes
1 answer
340
3 votes
2 answers
341
7 votes
4 answers
342
Which of the following sentences can be generated by S - aS $\mid$ bAA - d $\mid$ cAbccddabbccaabcabcabcd
3 votes
1 answer
343
If language $L=\{a^n b^n \mid n \geq 0\}$, then language $L^2$ is given by$\{a^{2n} b^{2n} \mid n \geq 0\}$$\{a^n b^n a^n b^n \mid n \geq 0\}$$\{a^n b^n \mid n \geq 0\}$$...
0 votes
2 answers
344
1 votes
2 answers
345
The production rules for a given context-free grammar are $S \rightarrow aA, A \rightarrow bB, A \rightarrow aB$ and $B \rightarrow a$ inChomsky normal formGreibach norma...
0 votes
2 answers
346
Analysis which determines the meaning of a statement once its grammatical structure becomes known is termed as (A) Semantic analysis (B) Syntax a...
0 votes
3 answers
348
1 votes
2 answers
349
What is the Language represented by this L = {w / where w ={a ,b}} and Na(w)>=Nb(w)+1.What is the machine which can be used to process this lang ?
7 votes
7 answers
350
Consider the grammar$S \rightarrow ABCc \mid bc$$BA \rightarrow AB$$Bb \rightarrow bb$$Ab \rightarrow ab$$Aa \rightarrow aa$Which of the following sentences can be derive...
2 votes
1 answer
352
What is the Language represented by this given Grammar ?S - AS1S1 - aS1b /epsA ->aA /epsPlease solve it completely don't write just Answer because it need to know the ...
0 votes
2 answers
353
What is the relationship between a Language -to- Grammar and a Grammar -to -Language .Give an example for both.A. One -to- ManyB. One -to- OneC. Many -to- One D. Many to-...
1 votes
2 answers
354
What is one of the Grammar represented by this Language ?L = {a^n b^n+1 where n>=0} Give an Example for this.
2 votes
1 answer
359
0 votes
1 answer
360
There may exist a grammar that is non LL(1) but generating an LL(1) language.Explain whether the above statement is true or false .