adplus-dvertising
frame-decoration

Question

Give a production grammar that specified language L = {a^i b^2i >= 1}

a.

{S->aSbb,S->abb}

b.

{S->aSb, S->b}

c.

{S->aA,S->b,A->b}

d.

None of the mentioned

Answer: (a).{S->aSbb,S->abb}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Give a production grammar that specified language L = {a^i b^2i >= 1}

Similar Questions

Discover Related MCQs

Q. The production Grammar {S->aSbb, S->abb} is

Q. S → SS S → λ S → aSb S → bSa which type of grammar is it?

Q. S → abS S → a is which grammar ?

Q. What are the two types of Linear Grammar?

Q. Which Type of Grammar is it?

S → Aa A → Aab | λ

Q. Which of the following is the most general phase structured grammar

Q. Which of the following grammars are not phase structured ?

Q. CSG can be recognized by

Q. Which of the following is/are the suitable approaches for inferencing?

Q. If w belongs to L(G), for some CFG, then w has a parse tree, which defines the syntactic structure of w. w could be:

Q. Which of the following does the given parse tree correspond to?

Q. The entity which generate Language is termed as:

Q. Production Rule: aAb->agb belongs to which of the following category?

Q. The Grammar can be defined as: G=(V, ∑, p, S)
In the given definition, what does S represents?

Q. Which among the following cannot be accepted by a regular grammar?

Q. Which of the expression is appropriate?
For production p: a->b where a∈V and b∈_______

Q. For S->0S1|e for ∑={0,1}*, which of the following is wrong for the language produced?

Q. The minimum number of productions required to produce a language consisting of palindrome strings over ∑={a,b} is

Q. Which of the following statement is correct?

Q. Are ambiguous grammar context free?