1.

A___________ is context free grammar with atmost one non terminal in the right handside of the production.(a) linear grammar(b) linear bounded grammar(c) regular grammar(d) none of the mentionedThe question was asked during an online interview.My question is based upon CFL- Closure Properties/Decision Properties in division Properties of Context Free Languages of Automata Theory

Answer»

The correct option is (a) LINEAR GRAMMAR

The best I can explain: A SIMPLE linear grammar is G with N = {S}, Σ = {a, b}, P with start symbol S and rules

S → aSb

S → ε



Discussion

No Comment Found

Related InterviewSolutions