retagged by
549 views

2 Answers

Best answer
5 votes
5 votes

Answer : Greibach Normal Form

A/c to GNF
If all the production are of the form A ===> a∝  where = V* then it is called GNF

selected by
2 votes
2 votes

Answer is B).

A CFG G = (V,T,R,S) is said to be in GNF if every production is of the form A → aα, where a ∈ T and α ∈ V∗, i.e., α is a string of zero or more variables.

S--> aABCD where a being a terminal is neccessary 

And among the variables, ABCD, none or more variables can be present.

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
3 answers
2
Anmol Verma asked Nov 30, 2016
2,305 views
S->AbaCA->BCB->b/epsilonC->D/epsilonD->d I want to know that will A contain epsilon as B and C both are null variables???(In Elimination of epsilon-production)
3 votes
3 votes
1 answer
3
himanich asked Jun 22, 2016
612 views
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\}$$...