1.

Linear grammar has more than one non-terminal on the right-hand side.(a) True(b) FalseThe question was asked in an interview for internship.The doubt is from Right Left Linear Grammar topic in section Contextfree Grammar and Syntax Analysis of Compiler

Answer»

The CORRECT OPTION is (a) True

The explanation: Grammar is linear because no RULE has more than one NON terminal on the right-hand SIDE.



Discussion

No Comment Found

Related InterviewSolutions